Comments (12)
Almost the same problem for me.
Exception in thread "main" java.lang.StackOverflowError
at java.util.Arrays.copyOf(Arrays.java:2760)
at java.util.Arrays.copyOf(Arrays.java:2734)
at java.util.ArrayList.toArray(ArrayList.java:275)
at java.util.ArrayList.<init>(ArrayList.java:131)
at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:129)
at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)
at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)
at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)
at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)
at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)
Original comment by [email protected]
on 18 Jan 2012 at 1:38
- Added labels: ****
- Removed labels: ****
from dex2jar.
For what I can see it's the recursive function dfsRemove in
TopologicalSort.java that goes haywire. I'm not the man (lack of java skills)
to actually fix this but I think the problem lies in the "else if" statement on
row 134. Either the to._cfg_visited never turns "true" or the depth of the
recursive function can't be handled by a normal computers stack. I tested with
2GB stack and it didn't work out.
127 private void dfsRemove(Stmt stmt, Set<Stmt> visited) {
128 visited.add(stmt);
129 for (Stmt to : new ArrayList<Stmt>(stmt._ts_tos)) {
130 if (visited.contains(to)) {// a loop
131 to._cfg_froms.remove(stmt);
132 while (stmt._ts_tos.remove(to)) {
133 }
134 } else if (!to._cfg_visited) {
135 dfsRemove(to, visited);
136 }
137 }
138 visited.remove(stmt);
139 stmt._cfg_visited = true;
140 }
Original comment by [email protected]
on 20 Jan 2012 at 6:29
- Added labels: ****
- Removed labels: ****
from dex2jar.
same problem while disassemble framework.dex, is that because it's too big?
(about 7.48M)
Original comment by [email protected]
on 3 Feb 2012 at 7:24
- Added labels: ****
- Removed labels: ****
from dex2jar.
and I found that the old version like 0.0.7.9-SNAPSHOT, won't report such error
Original comment by [email protected]
on 3 Feb 2012 at 7:32
- Added labels: ****
- Removed labels: ****
from dex2jar.
[deleted comment]
from dex2jar.
Done. I did send it to your pxb-address. Not sure whether it would clog down
this issue if I send it to your googlecode address so I sent it to the other
one.
Original comment by [email protected]
on 3 Feb 2012 at 10:08
- Added labels: ****
- Removed labels: ****
from dex2jar.
[deleted comment]
from dex2jar.
I use dex2jar-0.0.9.7 also have at
com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)
exception!
The apk file 137544_f9bc28aa-bebe-4941-ac02-0e00dc787c06.apk
Original comment by [email protected]
on 9 Feb 2012 at 1:25
- Added labels: ****
- Removed labels: ****
Attachments:
from dex2jar.
@zdz8 Funny. Out of curiosity I downloaded your apk-file and ran it through
dex2jar (Linux, Opensuse 11.4, dex2jar 0.0.9.7) and it went fine. One thing
though. I installed 4GB more RAM (8GB in total now) in my laptop last friday. I
tried one more time with my classes.dex and it did not work.
Original comment by [email protected]
on 9 Feb 2012 at 1:46
- Added labels: ****
- Removed labels: ****
from dex2jar.
Tried zdz8's file as well. Even tried extending my VM memory size by using the
following code:
set CLASSPATH=
FOR %%i IN ("%~dp0lib\*.jar") DO CALL "%~dp0setclasspath.bat" %%i
java -Xms1024m -Xmx1024m -cp "%CLASSPATH%" "com.googlecode.dex2jar.v3.Main" %*
This doesn't work either and still gives me the same error.
Original comment by [email protected]
on 9 Feb 2012 at 2:06
- Added labels: ****
- Removed labels: ****
from dex2jar.
[deleted comment]
from dex2jar.
I think you've sorted out the issue of StackOverflowError in dex2jar-0.0.9.8.
At least for what I can see. Thanks.
Original comment by [email protected]
on 4 Jun 2012 at 10:50
- Added labels: ****
- Removed labels: ****
from dex2jar.
Related Issues (20)
- dex-translator-0.0.9.4翻译framework.jar出错
- dex2jar-0.0.9.7-SNAPSHOT无法使用d2j-dex2jar.bat输出jar
- OutOfMemoryError: Java heap space
- error HOT 2
- dalvikvm error "invalid reg type 12 on iput instr (need 10)" HOT 5
- Some class file generated by 0.0.9.4 and later versions cannot be decompiled by JAD
- [deleted issue]
- Exception in thread "main" java.lang.StackOverflowError
- Multiple Errors Exporting dex to jar HOT 1
- Problem with zip command HOT 3
- failed for google wallet apk HOT 3
- framework.jar error HOT 5
- DexException-opcode format for 4095 not found
- dex2jar-0.0.9.8对比dex2jar-0.0.9.7发现的问题 HOT 3
- how to get dex2jar.jar ?
- 关于try-catch的指令优化
- Error in dex2jar translator on com.nxp.taginfolite
- 关于synchronized的指令优化
- Getting error stating classes.dex doesn't exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dex2jar.