Re: [Sablevm-developer] Threading support in SableVM
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-02-23 06:05:41
|
Etienne Gagnon wrote: > Chris Pickett wrote: > >> ... One of the more repeatable errors involves an "impossible control >> flow" in interpreter.c -- but I can't get an instruction trace on this >> so it seems useless. > > > Can't you at least call _svmf_dump_stack_trace() [or something like that, > I don't remember the exact name]? > (Thread.java:-1) java/lang/Thread.run (VMThread.java:116) java/lang/VMThread.callRun (Thread.java:343) java/lang/Thread.callRun (VirtualMachine.java:117) java/lang/VirtualMachine.runThread sablevm: INTERNAL ERROR (source file "interpreter.c", line 333): impossible control flow (gdb) bt #0 0x4012e781 in kill () from /lib/libc.so.6 #1 0x400b4e5e in pthread_kill () from /lib/libpthread.so.0 #2 0x400b5339 in raise () from /lib/libpthread.so.0 #3 0x4012fbe1 in abort () from /lib/libc.so.6 #4 0x4008cabd in _svmh_fatal_error (filename=0x40096c61 "interpreter.c", linenumber=333, msg=0x4008faca "impossible control flow") at fatal.c:29 #5 0x400701c0 in _svmf_interpreter (_env=0x8066e00) at interpreter.c:333 #6 0x40028e2b in _svmh_invoke_static_virtualmachine_runthread (env=0x8066e00) at method_invoke.c:5065 #7 0x4001f897 in _svmf_thread_start (_env=0x8066e00) at thread.c:1427 #8 0x400b20ba in pthread_start_thread () from /lib/libpthread.so.0 #9 0x401d4d6a in clone () from /lib/libc.so.6 (gdb) So it looks like the same kind of error as for the NullPointerException that gets thrown by ThreadStarter.java that I sent earlier on. (test case attached for future reference) |