[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception in whole program mode



See the following messages:
http://www.sable.mcgill.ca/listarchives/soot-list/msg00933.html
http://www.sable.mcgill.ca/listarchives/soot-list/msg00936.html

Ondrej

On Tue, Oct 14, 2003 at 06:26:05PM +0200, Roland Weiss wrote:
> Hello,
> 
> while running soot on the command line in whole program mode I get
> the appended exception trace.
> 
> A short summary of my config: Soot 2.0.1, Sun Java 1.4.2_01.
> Maybe this is related to the Java 1.4.2 JDK?
> 
> Any help appreciated.
> 
> best regards,
> Roland
> 
> Applying phase jb.uce to <java.nio.channels.SelectableChannel: java.nio.channels
> .SelectionKey register(java.nio.channels.Selector,int)>.
> [register] Eliminating unreachable code...
> [register]     Constructing UnitGraph...
> [register]     Removed 0 statements...
> [read] Constructing JimpleBody from coffi...
> [read]     Parsing Coffi instructions...
> [read]     Building Coffi CFG...
> [read]     Producing naive Jimple...
> Exception in thread "main" java.lang.RuntimeException: Exception range does not
> coincide with jimple instructions
>          at soot.coffi.CFG.jimplify(CFG.java:1506)
>          at soot.coffi.CFG.jimplify(CFG.java:1099)
>          at soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:98)
>          at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:79)
>          at soot.SootMethod.retrieveActiveBody(SootMethod.java:274)
>          at soot.jimple.toolkits.callgraph.CallGraphBuilder.processNewMethod(Call
> GraphBuilder.java:114)
>          at soot.jimple.toolkits.callgraph.CallGraphBuilder.processWorklist(CallG
> raphBuilder.java:93)
>          at soot.jimple.toolkits.callgraph.CallGraphBuilder.build(CallGraphBuilde
> r.java:81)
>          at soot.jimple.toolkits.callgraph.CHATransformer.internalTransform(CHATr
> ansformer.java:43)
>          at soot.SceneTransformer.transform(SceneTransformer.java:39)
>          at soot.Transform.apply(Transform.java:79)
>          at soot.RadioScenePack.internalApply(RadioScenePack.java:60)
>          at soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphP
> ack.java:36)
>          at soot.Pack.apply(Pack.java:104)
>          at soot.PackManager.runWholeProgramPacks(PackManager.java:255)
>          at soot.PackManager.runPacks(PackManager.java:238)
>          at soot.Main.run(Main.java:172)
>          at soot.Main.main(Main.java:152)
> 
> 
>