Stack size becomes negative after instruction [406] pop in
See original GitHub issueStack size becomes negative after instruction [406] pop in [com/myProject/myApp/Networking/NetworkManager$requestAsyncWithRetry$2.doResume(Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;]
function’s signature
suspend fun <T> requestAsyncWithRetry(call : Call<T>, callName : String = "Unknown") : ResponseObject<T>
I am running Android Studio Canary 16 with kotlin 1.2.41 & kotlinx-coroutines-core:0.22.5 I started having this issue and the only work around is to add
` lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
`
and add a flag to pro-guard file
-dontoptimize
Any suggestions how to solve this? What can be the cause?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Stack size becomes negative after instruction
The problem seems to be that ProGuard strips away MLog.d and therefore all the remaining code inside the function is no longer required,...
Read more >682 java.lang.IllegalArgumentException: Stack size becomes ...
IllegalArgumentException] (Stack size becomes negative after instruction [67] ifacmpeq -18 (target=49) in [C0.main([Ljava/lang/String;)V]) ...
Read more >Procedures and the Stack - Springer
The last chapter gave an introduction to the assembly language programs. Here we discuss how procedures are written in the assembly language.
Read more >verifier.c source code [linux/kernel/bpf/verifier.c] - Codebrowser
* Meaning that this reg is a pointer to stack plus known immediate constant. * means the register has some value, but it's...
Read more >List of the armcc error and warning messages - Arm Developer
This error can occur when a character value described by a hex constant is too large to be represented in a char variable,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the bug remains with 1.2.51. I will give another go at making self-contained example over the weekend. I might also try 1.3
It appears o be a bug in proguard 4.7. Please update default Android SDK’s proguard to 6.0.1 and check if the problem is still reproducible