Re: [abc-users] -O3 runtime error

From: Eduardo S. Cordeiro <cordeiro@dcc.ufmg.br>
Date: Thu Aug 03 2006 - 03:28:55 BST

Eric and Ondrej,

as a workaround, is it possible to disable at source code level the
optimization that uses Paddle so that I can get my extension to run?

Thanks and regards,
Eduardo Cordeiro

Ondrej Lhotak wrote:

>This bug was reported and fixed in Paddle on April 27th (which,
>unfortunately, was after the abc 1.2.0 release). The fix should
>appear in the next release of abc.
>
>Ondrej
>
>On Wed, Aug 02, 2006 at 10:46:13AM -0300, Eduardo S. Cordeiro wrote:
>
>
>>Hello there,
>>
>>I've been trying to add an optimization to the wjtp pack, and so abc
>>must be executed with the -O3 option. When executed with this option,
>>abc generates the following error:
>>
>>Garbage collection #1: 1000003 nodes / 998323 free / 0.062s / 0.062s total
>>Exception in thread "main" polyglot.util.InternalCompilerError:
>>unhandled exception during compilation
>> at abc.main.Main.run(Main.java:653)
>> at abc.main.Main.main(Main.java:211)
>>Caused by: java.lang.RuntimeException
>> at
>>soot.jimple.paddle.PaddleScene.makeSetFactories(PaddleScene.java:1363)
>> at soot.jimple.paddle.PaddleScene.setup(PaddleScene.java:1284)
>> at soot.jimple.paddle.PaddleTransformer.setup(PaddleTransformer.java:84)
>> at
>>soot.jimple.paddle.PaddleTransformer.internalTransform(PaddleTransformer.java:45)
>> at soot.SceneTransformer.transform(SceneTransformer.java:39)
>> at soot.jimple.paddle.PaddleHook.internalTransform(PaddleHook.java:43)
>> at soot.SceneTransformer.transform(SceneTransformer.java:39)
>> at soot.Transform.apply(Transform.java:89)
>> at soot.RadioScenePack.internalApply(RadioScenePack.java:60)
>> at
>>soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:40)
>> at soot.Pack.apply(Pack.java:110)
>> at abc.weaving.weaver.CflowAnalysisImpl.run(CflowAnalysisImpl.java:105)
>> at abc.weaving.weaver.Weaver.runCflowAnalysis(Weaver.java:319)
>> at abc.weaving.weaver.Weaver.weave(Weaver.java:137)
>> at abc.main.Main.weave(Main.java:1064)
>> at abc.main.Main.run(Main.java:531)
>> ... 1 more
>>
>>
>>I thought this might be a problem with my extension, so I removed the
>>-ext option, but the error message still occurs. Is this an error with
>>my setup or maybe a known bug? I'm using abc 1.2.0 from the abc-complete
>>jar file.
>>
>>Thank you,
>>Eduardo Cordeiro
>>
>>
>>
>
>
>
Received on Thu Aug 03 03:27:57 2006

This archive was generated by hypermail 2.1.8 : Mon Aug 28 2006 - 10:20:08 BST