kaffe segfault in sparc-linux
Andrew Man-Hon Lau
amlau at MIT.EDU
Tue Jul 21 10:22:18 PDT 1998
Hi I was wondering if anyone could shed some light on why Kaffe is eating it
on sparc-linux 2.0.33 glibc...
Running the HelloWorldApp I crash giving me this info in gdb:
(gdb) disassemble $pc
Dump of assembler code for function __kill:
0x500eadd4 <__kill>: mov 0x25, %g1
0x500eadd8 <__kill+4>: ta 0x10
0x500eaddc <__kill+8>: bcc,a 0x500eae00 <__kill+44>
0x500eade0 <__kill+12>: nop
0x500eade4 <__kill+16>: save %sp, -96, %sp
0x500eade8 <__kill+20>: call 0x5017cb84 <__DTOR_END__+6832>
0x500eadec <__kill+24>: nop
0x500eadf0 <__kill+28>: st %i0, [ %o0 ]
0x500eadf4 <__kill+32>: restore
0x500eadf8 <__kill+36>: retl
0x500eadfc <__kill+40>: mov -1, %o0
0x500eae00 <__kill+44>: retl
0x500eae04 <__kill+48>: nop
End of assembler dump.
(gdb) bt
#0 0x500eaddc in __kill ()
#1 0x500eac6c in gsignal () at ../sysdeps/posix/raise.c:27
#2 0x500ebf60 in abort () at ../sysdeps/generic/abort.c:134
#3 0x500eab5c in __longjmp ()
#4 0x50050ed8 in reschedule () at ./systems/unix-jthreads/jthread.c:1169
#5 0x5004f99c in suspendOnQThread () at ./systems/unix-jthreads/jthread.c:284
#6 0x50051568 in jcondvar_wait () at ./systems/unix-jthreads/jthread.c:1320
#7 0x5004f3b0 in Lwait (lk=0x5007a440, timeout=0)
at ./systems/unix-jthreads/internal.c:310
#8 0x50039844 in __waitCond () at locks.c:132
#9 0x50036358 in finaliserMan () at mem/gc-incremental.c:566
#10 0x500506c8 in start_this_sucker_on_a_new_frame ()
at ./systems/unix-jthreads/jthread.c:872
#11 0x50050820 in jthread_create () at ./systems/unix-jthreads/jthread.c:873
#12 0x5004f13c in Tcreate (tid=0x35ea60, func=0x50036280)
at ./systems/unix-jthreads/internal.c:135
#13 0x50038da8 in createDaemon (func=0x50036280, nm=0x500655e0 "finaliser",
prio=11) at thread.c:182
#14 0x50038ab4 in initThreads () at thread.c:86
#15 0x50034c00 in initialiseKaffe () at baseClasses.c:167
#16 0x50044698 in JNI_CreateJavaVM () at jni.c:2631
#17 0x109b4 in main (argc=1, argv=0xeffffd14) at main.c:106
(gdb)
This was built from the snap last night and the only changes are
with the config/sparc/linux/md.h where this was added:
#undef SP_OFFSET
#define SP_OFFSET 0
Thanks for anyhelp any one can give
--
Andrew Lau
amlau at mit.edu
http://web.mit.edu/amlau/www
617.225.8720
888.978.8495
More information about the kaffe
mailing list