[Sablevm-user] Assertion failure
Brought to you by:
egagnon
|
From: Archie C. <ar...@de...> - 2003-02-18 18:00:10
|
Hi,
I'm trying to use SableVM 1.0.5 to run Soot 1.2.5 and getting an
assertion failure when trying to process java.lang.String.
Here is a test program:
import soot.*;
import soot.jimple.*;
import java.util.*;
public class x {
public static void main(String[] args) throws Exception {
SootClass c = Scene.v().loadClassAndSupport("java.lang.String");
c.setApplicationClass();
for (Iterator i = c.methodIterator(); i.hasNext(); ) {
SootMethod m = (SootMethod)i.next();
Body body = (JimpleBody)m.retrieveActiveBody();
}
}
}
Here's what I get:
$ sablevm x
assertion "instruction->stack_and_local_map->stack_size >= 0" failed: file "prepare_code.c", line 1088
Abort(core dumped)
FYI I also filed this on the bug system:
http://sourceforge.net/tracker/index.php?func=detail&aid=688788&group_id=5523&atid=105523
Any ideas appreciated...
Thanks,
-Archie
__________________________________________________________________________
Archie Cobbs * Packet Design * http://www.packetdesign.com
|