haco20292 / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

Stackoverflow Exception #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run dex2jar on a significantly Large project.

What is the expected output? What do you see instead?

Exception in thread "main" java.lang.StackOverflowError
    at java.util.HashMap.put(Unknown Source)
    at java.util.HashSet.add(Unknown Source)
    at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:128)
    at com.googlecode.dex2jar.ir.ts.TopologicalSort.dfsRemove(TopologicalSort.java:135)

On Small projects it works fine, but on large projects, it throws a 
Stackoverflow Exception.

One Possible fix is to convert the Recursive DFS Search (in 
TopologicalSort.java) to an Iterative Version.

Original issue reported on code.google.com by psavals...@gmail.com on 3 May 2012 at 12:55