unable to run samples on android phone (StackOverflowError) #34
Comments
Can you provide device and operating system version where you tested and which sample? Does it also happens with the hello world here? https://github.com/korlibs/korge-hello-world |
android 8.0 xiaomi redmi 6 pro . i test text2 , filters , bmpfont . |
Can't reproduce on my devices. I think I will need your help for debugging. Can you open the project with android studio at |
Might be related to this: Kotlin/kotlinx.coroutines#2371 ? If so, seems to be fixed on kotlinx.coroutines 1.4.2: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.4.2 |
I have updated kotlinx.coroutines here: korlibs-archive/korio@ea726e4 |
I'm going to asume this was fixed already 👍 |
on android device following exception occur in all samples
Exception in AnnotationFactory.createAnnotation
11-10 11:55:43.473 29587 29603 I System.out: ERROR GameWindow.frameRender:
11-10 11:55:43.473 29587 29603 I System.out: java.lang.StackOverflowError: stack size 1037KB
11-10 11:55:43.474 29587 29603 W System.err: java.lang.StackOverflowError: stack size 1037KB
11-10 11:55:43.477 29587 29603 W System.err: at java.lang.String.valueOf(String.java:2827)
11-10 11:55:43.477 29587 29603 W System.err: at java.lang.StringBuilder.append(StringBuilder.java:132)
11-10 11:55:43.477 29587 29603 W System.err: at kotlinx.coroutines.DisposeOnCancel.toString(CancellableContinuation.kt:385)
11-10 11:55:43.477 29587 29603 W System.err: at java.lang.String.valueOf(String.java:2827)
11-10 11:55:43.477 29587 29603 W System.err: at java.lang.StringBuilder.append(StringBuilder.java:132)
11-10 11:55:43.477 29587 29603 W System.err: at kotlinx.coroutines.CompletedContinuation.toString(Unknown Source:22)
11-10 11:55:43.477 29587 29603 W System.err: at java.lang.String.valueOf(String.java:2827)
11-10 11:55:43.477 29587 29603 W System.err: at java.lang.StringBuilder.append(StringBuilder.java:132)
11-10 11:55:43.477 29587 29603 W System.err: at kotlinx.coroutines.CancellableContinuationImpl.toString(CancellableContinuationImpl.kt:506)
11-10 11:55:43.478 29587 29603 W System.err: at java.lang.String.valueOf(String.java:2827)
11-10 11:55:43.478 29587 29603 W System.err: at java.lang.StringBuilder.append(StringBuilder.java:132)
.
.
.
The text was updated successfully, but these errors were encountered: