[Kaffe] Illegal Instruction generated by kaffe JIT?

Moses DeJong dejong at cs.umn.edu
Wed Mar 24 15:18:46 PST 1999


On Tue, 23 Mar 1999, Archie Cobbs wrote:

> 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

I recompiled with this flag set and ran kaffe under gdb but when I
got the error it just printed the same stack trace as above. Is there
something I am missing? Is there some kind of JIT debug mode that
will print out what jit method I am in instead of ??.

Mo

> 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