[Soot-list] patch to fix bug 109 passes clara tests

Phil Pratt-Szeliga pcpratts at syr.edu
Thu May 17 14:44:39 EDT 2012


Hello,

I was able to run the clara tests with the patch to fix bug 109 [1].
The bug 109 and the recent use-original-names bug posted on the
mailing list need two separate patches. They are different bugs. The
test results from clara with the bug 109 fix [1] pass all non-flagged
test cases except case 97 [2] due to an OutOfMemory error (I think
this is local to my machine settings).

Phil Pratt-Szeliga
Syracuse University

[1] http://www.sable.mcgill.ca/pipermail/soot-list/2012-May/004307.html
[2] Running test 97: pureJava/Checking character values with all the
unicode chars.
Commandline: abc -d pureJava -warn-unused-advice:off pureJava/CharsUnicode.java
Unexpected exception while compiling:
polyglot.util.InternalCompilerError: unhandled exception during
weaving/optimisation
polyglot.util.InternalCompilerError: unhandled exception during
weaving/optimisation
	at abc.main.CompileSequence.runSequence(CompileSequence.java:142)
	at abc.main.Main.run(Main.java:406)
	at abc.testing.TestCase.runTest(TestCase.java:289)
	at abc.testing.Main.doCase(Main.java:288)
	at abc.testing.Main.main(Main.java:122)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at java.lang.String.substring(String.java:1951)
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:352)
	at java.util.StringTokenizer.nextElement(StringTokenizer.java:407)
	at jas.CodeAttr.processSootAttributes(CodeAttr.java:130)
	at jas.CodeAttr.write(CodeAttr.java:250)
	at jas.Method.write(Method.java:144)
	at jas.ClassEnv.write(ClassEnv.java:213)
	at jasmin.ClassFile.write(ClassFile.java:1121)
	at jasmin.Main.assemble(Main.java:41)
	at soot.util.JasminOutputStream.flush(JasminOutputStream.java:35)
	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:296)
	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
	at java.io.PrintWriter.flush(PrintWriter.java:293)
	at soot.PackManager.writeClass(PackManager.java:921)
	at soot.PackManager.writeOutput(PackManager.java:476)
	at soot.PackManager.writeOutput(PackManager.java:401)
	at abc.main.CompileSequence.output(CompileSequence.java:268)
	at abc.main.CompileSequence.runSequence(CompileSequence.java:136)
	... 4 more
FAIL: Test 97: "pureJava/Checking character values with all the
unicode chars." failed in 93444ms, memory usage: 301021800.


More information about the Soot-list mailing list