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

[core] Decompiler errors #2144

Open
bonej5 opened this issue Apr 7, 2024 · 2 comments
Open

[core] Decompiler errors #2144

bonej5 opened this issue Apr 7, 2024 · 2 comments
Labels
bug Core Issues in jadx-core module no-sample

Comments

@bonej5
Copy link

bonej5 commented Apr 7, 2024

Issue details

While decompiling:

Relevant log output or stacktrace

ERROR: [2660] Type inference failed with exception in method: com.google.android.gms.internal.ads.b5.a(byte[], byte[]):void, file: classes.dex, details: Type update terminated with stack overflow, arg: (r4v41 ?? I:??[int, boolean, short, byte, char])
ERROR: [2565] Type inference failed with exception in method: com.google.android.gms.internal.ads.c5.a(byte[], byte[]):void, file: classes.dex, details: Type update terminated with stack overflow, arg: (r5v55 ?? I:??[int, boolean])
ERROR: [2600] Type inference failed with exception in method: com.google.android.gms.internal.ads.d5.a(byte[], byte[]):void, file: classes.dex, details: Type update terminated with stack overflow, arg: (r2v49 ?? I:??[int, boolean, short, byte, char])
ERROR: [2498] Type inference failed with exception in method: com.google.android.gms.internal.ads.f5.a(byte[], byte[]):void, file: classes.dex, details: Type update terminated with stack overflow, arg: (r5v18 ?? I:??[int, boolean])
ERROR: [4426] Type inference failed with exception in method: com.google.android.gms.internal.ads.w4.a(byte[], byte[]):void, file: classes.dex, details: Type update terminated with stack overflow, arg: (r10v68 ?? I:??[int, boolean])
ERROR: [2690] Type inference failed with exception in method: com.google.android.gms.internal.ads.x4.a(byte[], byte[]):void, file: classes.dex, details: Type update terminated with stack overflow, arg: (r9v6 ?? I:??[int, boolean, short, byte, char])
ERROR: [90] JadxRuntimeException in pass: BlockProcessor in method: com.google.android.gms.measurement.AppMeasurement.getInstance(android.content.Context):com.google.android.gms.measurement.AppMeasurement, file: classes.dex
jadx.core.utils.exceptions.JadxRuntimeException: Unreachable block: B:12:0x002c
	at jadx.core.dex.visitors.blocks.BlockProcessor.checkForUnreachableBlocks(BlockProcessor.java:81)
	at jadx.core.dex.visitors.blocks.BlockProcessor.processBlocksTree(BlockProcessor.java:47)
	at jadx.core.dex.visitors.blocks.BlockProcessor.visit(BlockProcessor.java:39)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:26)
	at jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)
	at jadx.core.ProcessClass.process(ProcessClass.java:72)
	at jadx.core.ProcessClass.generateCode(ProcessClass.java:115)
	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:383)
	at jadx.core.dex.nodes.ClassNode.getCode(ClassNode.java:331)
	at jadx.api.JadxDecompiler.lambda$appendSourcesSave$5(JadxDecompiler.java:363)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1570)
ERROR: [2773] JadxRuntimeException in pass: BlockProcessor in method: com.google.android.gms.measurement.internal.b.i(java.lang.String, java.util.List, java.util.List, java.lang.Long, java.lang.Long):java.util.List, file: classes.dex
jadx.core.utils.exceptions.JadxRuntimeException: Unreachable block: B:279:0x073c
	at jadx.core.dex.visitors.blocks.BlockProcessor.checkForUnreachableBlocks(BlockProcessor.java:81)
	at jadx.core.dex.visitors.blocks.BlockProcessor.processBlocksTree(BlockProcessor.java:47)
	at jadx.core.dex.visitors.blocks.BlockProcessor.visit(BlockProcessor.java:39)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:26)
	at jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)
	at jadx.core.ProcessClass.process(ProcessClass.java:72)
	at jadx.core.ProcessClass.generateCode(ProcessClass.java:107)
	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:383)
	at jadx.core.dex.nodes.ClassNode.getCode(ClassNode.java:331)
	at jadx.api.JadxDecompiler.lambda$appendSourcesSave$5(JadxDecompiler.java:363)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1570)
ERROR: [2908] JadxRuntimeException in pass: BlockProcessor in method: com.google.android.gms.measurement.internal.zzlh.B(com.google.android.gms.measurement.internal.zzau, com.google.android.gms.measurement.internal.zzq):void, file: classes.dex
jadx.core.utils.exceptions.JadxRuntimeException: Unreachable block: B:436:0x02f8
	at jadx.core.dex.visitors.blocks.BlockProcessor.checkForUnreachableBlocks(BlockProcessor.java:81)
	at jadx.core.dex.visitors.blocks.BlockProcessor.processBlocksTree(BlockProcessor.java:47)
	at jadx.core.dex.visitors.blocks.BlockProcessor.visit(BlockProcessor.java:39)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:26)
	at jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)
	at jadx.core.ProcessClass.process(ProcessClass.java:72)
	at jadx.core.ProcessClass.generateCode(ProcessClass.java:107)
	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:383)
	at jadx.core.dex.nodes.ClassNode.getCode(ClassNode.java:331)
	at jadx.api.JadxDecompiler.lambda$appendSourcesSave$5(JadxDecompiler.java:363)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1570)
ERROR: [125] JadxOverflowException in pass: RegionMakerVisitor in method: w.k.b.r(java.lang.Object):java.lang.Object, file: classes.dex, details: Regions count limit reached
ERROR: [2773] JadxRuntimeException in pass: BlockProcessor in method: com.google.android.gms.measurement.internal.b.i(java.lang.String, java.util.List, java.util.List, java.lang.Long, java.lang.Long):java.util.List, file: classes.dex
jadx.core.utils.exceptions.JadxRuntimeException: Unreachable block: B:740:0x073c
	at jadx.core.dex.visitors.blocks.BlockProcessor.checkForUnreachableBlocks(BlockProcessor.java:81)
	at jadx.core.dex.visitors.blocks.BlockProcessor.processBlocksTree(BlockProcessor.java:47)
	at jadx.core.dex.visitors.blocks.BlockProcessor.visit(BlockProcessor.java:39)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:26)
	at jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
	at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)
	at jadx.core.ProcessClass.process(ProcessClass.java:72)
	at jadx.core.ProcessClass.generateCode(ProcessClass.java:107)
	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:383)
	at jadx.core.dex.nodes.ClassNode.getCode(ClassNode.java:331)
	at jadx.api.JadxDecompiler.lambda$appendSourcesSave$5(JadxDecompiler.java:363)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1570)

Provide sample and class/method full name

No response

Jadx version

jadx-1.4.7.rar

@bonej5 bonej5 added bug Core Issues in jadx-core module labels Apr 7, 2024
@jpstotz
Copy link
Collaborator

jpstotz commented Apr 7, 2024

You can give the latest unstable version a try and check if this problem has alreayd been fixed: https://nightly.link/skylot/jadx/workflows/build-artifacts/master

Note that decompiling issues are very difficult to fix if you don't provide the APK/JAR you were trying to decompile. So the general recommendation is to attach the app/program to the issue.

@sachint2001
Copy link

Hi, were you able to figure out how to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module no-sample
Projects
None yet
Development

No branches or pull requests

4 participants