[Kaffe] Illegal Instruction generated by kaffe JIT?
Godmar Back
gback at cs.utah.edu
Thu Mar 25 21:04:05 PST 1999
>
> On 25 Mar 1999, Alexandre Oliva wrote:
>
> > On Mar 24, 1999, Moses DeJong <dejong at cs.umn.edu> wrote:
> >
> > > When I do that I get an error like this.
> >
> > > (gdb) findNativeMethod 0x276954
> > > Cannot access memory at address 0x54.
> >
> > This usually means the address you have provided is not associated
> > with any JIT-compiled method, but I may be wrong. Try the new, much
> > simpler version I'm installing right now. It also introduces JITwhere
>
>
> I tried that with no luck. Here is the output I am getting.
>
> (gdb) source gdbinit
> (gdb) bt
> #0 0x730074 in ?? ()
> #1 0x14f3ec in ?? ()
> #2 0x4eec0c in ?? ()
> #3 0x5097ec in ?? ()
> #4 0x4fc880 in ?? ()
> #5 0x508894 in ?? ()
> #6 0x4efe90 in ?? ()
> #7 0x257820 in ?? ()
> #8 0x258604 in ?? ()
> #9 0x256388 in ?? ()
> #10 0x258460 in ?? ()
> #11 0x24c10c in ?? ()
> #12 0x1a0d74 in ?? ()
> #13 0x49e364 in ?? ()
> #14 0x257820 in ?? ()
> #15 0x258604 in ?? ()
> #16 0x24c10c in ?? ()
> #17 0x1a0d74 in ?? ()
> #18 0x2e2544 in ?? ()
> #19 0x257820 in ?? ()
> #20 0x258604 in ?? ()
> #21 0x256388 in ?? ()
> #22 0x258460 in ?? ()
> #23 0x46210c in ?? ()
> #24 0x257820 in ?? ()
> #25 0x258604 in ?? ()
> #26 0x24c10c in ?? ()
> #27 0x3239dc in ?? ()
> #28 0x39f31c in ?? ()
> #29 0x257820 in ?? ()
> #30 0x258604 in ?? ()
> #31 0x24c10c in ?? ()
> #32 0x1a0d74 in ?? ()
> #33 0x3a6a28 in ?? ()
> #34 0x257820 in ?? ()
> #35 0x258604 in ?? ()
> #36 0x24c10c in ?? ()
> #37 0x1a0d74 in ?? ()
> #38 0x365d2c in ?? ()
> #39 0x19de6c in ?? ()
> #40 0x257820 in ?? ()
> #41 0x258604 in ?? ()
> #42 0x24c10c in ?? ()
> #43 0x3239dc in ?? ()
> #44 0x198634 in ?? ()
> #45 0xef4b2b9c in callMethodV (meth=0xcf99d, func=0x15a680, obj=0xefffe976, args=0xefffebcc,
> ret=0xefffea70) at ../../../kaffe/kaffevm/support.c:557
> #46 0xef4aa38c in Kaffe_CallStaticVoidMethodV (env=0xef4ec350, cls=0x15a568, meth=0x15a5d8,
> args=0xefffebc8) at ../../../kaffe/kaffevm/jni.c:2280
> #47 0xef4aa40c in Kaffe_CallStaticVoidMethod (env=0xef4ec350, cls=0x15a568, meth=0x15a5d8)
> at ../../../kaffe/kaffevm/jni.c:2293
> #48 0x12160 in main2 (env=0xef4ec350, argv=0xeffff0bc, farg=2, argc=1) at ../../../kaffe/kaffe/main.c:189
> #49 0x12018 in main (argc=2, argv=0xeffff0bc) at ../../../kaffe/kaffe/main.c:109
>
> (gdb) JITWhere 0x730074
> Cannot access memory at address 0x1c.
>
Well, 0x730074 is probably part of a char[], namely "st".
By then, all is lost already.
Try the pc values of stackframes higher up.
- Godmar
More information about the kaffe
mailing list