question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stack size becomes negative after instruction [406] pop in

See original GitHub issue

Stack 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DominykasZaksascommented, Jul 27, 2018

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

0reactions
qwwdfsadcommented, Aug 13, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found