https://kotlinlang.org logo
#coroutines
Title
# coroutines
f

Fré Dumazy

10/27/2017, 12:16 PM
Anybody having this issue on Android with Dexguard and kotlin coroutines? Unexpected error while computing stack sizes: Class = [kotlinx/coroutines/experimental/JobSupport] Method = [notifyHandlers(Lkotlinx/coroutines/experimental/JobSupport$NodeList;Ljava/lang/Throwable;)V] Exception = [java.lang.IllegalArgumentException] (Stack size becomes negative after instruction [164] pop in [kotlinx/coroutines/experimental/JobSupport.notifyHandlers(Lkotlinx/coroutines/experimental/JobSupport$NodeList;Ljava/lang/Throwable;)V])
e

elizarov

10/27/2017, 12:27 PM
What version?
f

Fré Dumazy

10/27/2017, 12:30 PM
coroutines 0.19.2 dexguard: 8.0.16 studio: 3.0 stable
just updated to 0.19.3, same issue
e

elizarov

10/27/2017, 12:40 PM
You should report a bug to dexguard.
The stack in the corresponsonding function is definitely consistent and passes various verifiers just fine
f

Fré Dumazy

10/27/2017, 12:48 PM
yes, just had a look in the class. I'll report the bug at guardsquare/dexguard
I'm having this issue with regular Proguard as well.. Notified Guardsquare about this, hopefully they'll know how to fix this
6 Views