Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kotlin] StackOverflowError with lambdas #424

Open
xhyrom opened this issue Aug 24, 2024 · 0 comments
Open

[kotlin] StackOverflowError with lambdas #424

xhyrom opened this issue Aug 24, 2024 · 0 comments
Labels
Priority: Medium Medium priority Subsystem: Plugins/Kotlin Anything specifically concerning the Kotlin plugin Subsystem: Variables Anything concerning variables, types, assignments, and casting Type: Bug Something isn't working

Comments

@xhyrom
Copy link

xhyrom commented Aug 24, 2024

Vineflower version

vineflower-1.11.0-20240823.162115-41

Additional information

internal fun setBroadcastThumbnailParams(width: Int, height: Int, intervalSeconds: Int, callback: (String) -> Unit) {
      r.h(var4, "callback");
      if (this.screenCapturer != null) {
         this.screenCapturer
            .component1()
            .setThumbnailEmitter(
               new ThumbnailEmitter(
                  var1,
                  var2,
                  (long)var3 * 1000L,
                  new Function1<Bitmap, Unit>(this, var4)// $VF: Couldn't be decompiled
         // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
         // java.lang.StackOverflowError
         //   at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
         //   at org.jetbrains.java.decompiler.modules.decompiler.vars.VarDefinitionHelper.iterateClashingExprent(VarDefinitionHelper.java:1634)
         //   at org.jetbrains.java.decompiler.modules.decompiler.vars.VarDefinitionHelper.iterateClashingNames(VarDefinitionHelper.java:1492)
         //   at org.jetbrains.java.decompiler.modules.decompiler.vars.VarDefinitionHelper.iterateClashingNames(VarDefinitionHelper.java:1541)
         //   at org.jetbrains.java.decompiler.modules.decompiler.vars.VarDefinitionHelper.iterateClashingExprent(VarDefinitionHelper.java:1672)
         //   at org.jetbrains.java.decompiler.modules.decompiler.vars.VarDefinitionHelper.iterateClashingNames(VarDefinitionHelper.java:1492)
@jaskarth jaskarth added Type: Bug Something isn't working Subsystem: Variables Anything concerning variables, types, assignments, and casting Subsystem: Plugins/Kotlin Anything specifically concerning the Kotlin plugin Priority: Medium Medium priority labels Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Medium priority Subsystem: Plugins/Kotlin Anything specifically concerning the Kotlin plugin Subsystem: Variables Anything concerning variables, types, assignments, and casting Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants