Skip to content

[gui] Jadx-GUI completly freezes #2798

@jpstotz

Description

@jpstotz

Issue details

I encountered an Endless loop in jadx.gui.ui.codearea.JadxTokenMaker#processTokens which makes Jadx-Gui to completly freeze. The reason for the endless loop is a token that references itself:

current.getNextToken() == current

Image

It happens when opening https://repo1.maven.org/maven2/com/auroraoss/gplayapi/3.5.8/gplayapi-3.5.8.aar and double click on class com.aurora.gplayapi.AcquireRequest in the content tree while "Line Wrap" is active in the code view.
The Jadx-GUI window size may have an effect on this issue - on certain smaller Window sizes I get the same stacktrace as in #2796.

@skylot I am not familiar with the whole token system. Is it normal that "null token" exists in the token list?

Jadx version

latest dev version

Java version

Java 21

OS

  • Windows
  • Linux
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIIssues in jadx-gui modulebug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions