soot-oss / soot

Soot - A Java optimization framework
GNU Lesser General Public License v2.1
2.88k stars 708 forks source link

java.util.ConcurrentModificationException when decompiling to Java #517

Closed dannote closed 4 years ago

dannote commented 8 years ago

Keep getting this for different classes.

Soot version:

trunk

Command line:

-d gamepack-soot -cp /usr/lib/jvm/java-7-openjdk-i386/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/jce.jar:/usr/share/icedtea-web/plugin.jar:/usr/share/icedtea-web/netx.jar:/usr/lib/jvm/java-8-openjdk-i386/jre/lib/jsse.jar:gamepack.jar -f d client

Max Memory:

456MB

Stack trace:

java.util.ConcurrentModificationException
    at soot.util.HashChain$LinkIterator.hasNext(HashChain.java:485)
    at soot.dava.toolkits.base.finders.ExceptionFinder.preprocess(ExceptionFinder.java:90)
    at soot.dava.DavaBody.<init>(DavaBody.java:321)
    at soot.dava.Dava.newBody(Dava.java:84)
    at soot.PackManager.runBodyPacks(PackManager.java:1009)
    at soot.PackManager.access$000(PackManager.java:137)
    at soot.PackManager$1.run(PackManager.java:625)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
dannote commented 8 years ago

Sample file:

client.class.zip

pavanupb commented 4 years ago

@dannote Please re-open the issue if this is still relevant.