[Soot-list] Worker thread execution failed error

Arash Alavi aalav003 at ucr.edu
Mon Jun 18 20:11:56 EDT 2018


Hi,

I am trying to use Soot to instrument an apk. I am using the last version
of soot-infoflow-cmd-jar-with-dependencies.jar file. But I am getting the
following error:

[Thread-17] ERROR heros.solver.CountingThreadPoolExecutor - Worker thread
execution failed: Index: 3602, Size: 3602
java.lang.IndexOutOfBoundsException: Index: 3602, Size: 3602
    at java.util.ArrayList.rangeCheck(ArrayList.java:657)
    at java.util.ArrayList.get(ArrayList.java:433)
    at soot.toDex.StmtVisitor.reduceInstructions(StmtVisitor.java:263)
    at soot.toDex.StmtVisitor.finalizeInstructions(StmtVisitor.java:206)
    at soot.toDex.DexPrinter.toInstructions(DexPrinter.java:1460)
    at soot.toDex.DexPrinter.toMethodImplementation(DexPrinter.java:1148)
    at soot.toDex.DexPrinter.toMethods(DexPrinter.java:1057)
    at soot.toDex.DexPrinter.addAsClassDefItem(DexPrinter.java:634)
    at soot.toDex.DexPrinter.add(DexPrinter.java:1593)
    at soot.PackManager.writeClass(PackManager.java:1108)
    at soot.PackManager$2.run(PackManager.java:706)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Exception in thread "Thread-17" java.lang.IndexOutOfBoundsException: Index:
3602, Size: 3602
    at java.util.ArrayList.rangeCheck(ArrayList.java:657)
    at java.util.ArrayList.get(ArrayList.java:433)
    at soot.toDex.StmtVisitor.reduceInstructions(StmtVisitor.java:263)
    at soot.toDex.StmtVisitor.finalizeInstructions(StmtVisitor.java:206)
    at soot.toDex.DexPrinter.toInstructions(DexPrinter.java:1460)
    at soot.toDex.DexPrinter.toMethodImplementation(DexPrinter.java:1148)
    at soot.toDex.DexPrinter.toMethods(DexPrinter.java:1057)
    at soot.toDex.DexPrinter.addAsClassDefItem(DexPrinter.java:634)
    at soot.toDex.DexPrinter.add(DexPrinter.java:1593)
    at soot.PackManager.writeClass(PackManager.java:1108)
    at soot.PackManager$2.run(PackManager.java:706)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
java.lang.IndexOutOfBoundsException: Index: 3602, Size: 3602
    at java.util.ArrayList.rangeCheck(ArrayList.java:657)
    at java.util.ArrayList.get(ArrayList.java:433)
    at soot.toDex.StmtVisitor.reduceInstructions(StmtVisitor.java:263)
    at soot.toDex.StmtVisitor.finalizeInstructions(StmtVisitor.java:206)
    at soot.toDex.DexPrinter.toInstructions(DexPrinter.java:1460)
    at soot.toDex.DexPrinter.toMethodImplementation(DexPrinter.java:1148)
    at soot.toDex.DexPrinter.toMethods(DexPrinter.java:1057)
    at soot.toDex.DexPrinter.addAsClassDefItem(DexPrinter.java:634)
    at soot.toDex.DexPrinter.add(DexPrinter.java:1593)
    at soot.PackManager.writeClass(PackManager.java:1108)
    at soot.PackManager$2.run(PackManager.java:706)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

Any help is appreciated.

Best,
Arash

-- 
Arash Alavi
Department of Computer Science and Engineering,
University of California, Riverside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20180618/d51ddd40/attachment.html>


More information about the Soot-list mailing list