[Kaffe] Illegal Instruction generated by kaffe JIT?

Archie Cobbs archie at whistle.com
Tue Mar 23 16:03:31 PST 1999


Moses DeJong writes:
> Has anyone run into an error like this before? I was running kaffe
> on a Solaris Sparc machine with the jit.
> 
> tcljava/FuncSig.test
> Illegal Instruction - core dumped
> make: *** [test_jacl.exec] Error 132
> 
> Program terminated with signal 4, Illegal Instruction.
> 
> #0  0xb2400 in ?? ()
> #1  0x3aa8e0 in ?? ()
> #2  0x832d58 in ?? ()
> #3  0xef4bec5c in callMethodV (meth=0xa22a2, func=0xc829c, obj=0x505048, args=0xefffe998, 

Try compiling kaffe like this:

  gmake all AM_CPPFLAGS=-DDEBUG

Then set the KAFFE_DEBUG environment variable to "gdb", and run
your java program like normal. This cause kaffe to run under gdb
where you can see what the bogus instruction is, how it got there,
etc.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list