Kaffe core dump

Archie Cobbs archie at whistle.com
Sun Jul 19 11:53:33 PDT 1998


I just got a core dump from Kaffe when trying to compile something.
This is interesting in that it's not reproducible.. trying again
worked fine... so it looks like some kind of race condition.

I've saved Kaffe.core and can send it (plus the sources it came
from) to anyone who's interested in delving futher (you'll need
FreeBSD). Hopefully, this stack trace will give some hints..

  Core was generated by `Kaffe'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /usr/libexec/ld.so...done.
  Reading symbols from /usr/tools/lib/libkaffevm.so.1.00...done.
  Reading symbols from /usr/lib/aout/libgmp.so.3.0...done.
  Reading symbols from /usr/lib/aout/libm.so.2.0...done.
  Reading symbols from /usr/lib/aout/libc.so.3.1...done.
  #0  0x2003162f in handleVtAlarm () at ./systems/unix-jthreads/jthread.c:168
  168             int priority = currentJThread->priority; 
  (gdb) where
  #0  0x2003162f in handleVtAlarm () at ./systems/unix-jthreads/jthread.c:168
  #1  0x2004f060 in _GLOBAL_OFFSET_TABLE_ ()
  #2  0x20031875 in L125 () at ./systems/unix-jthreads/jthread.c:596
  #3  0x200315ec in interrupt (sig=26) at ./systems/unix-jthreads/jthread.c:510
  #4  0xefbfdfdc in ?? ()
  #5  0x2001cac6 in gc_heap_malloc (sz=208) at ./mem/gc-mem.c:250
  #6  0x2001ba19 in gcMalloc (size=200, fidx=19) at mem/gc-incremental.c:678
  #7  0x20030ad3 in thread_malloc (s=200)
      at ./systems/unix-jthreads/internal.c:82
  #8  0x200318cb in newThreadCtx (stackSize=0)
      at ./systems/unix-jthreads/jthread.c:627
  #9  0x20031ae7 in jthread_init (pre=1, maxpr=11, minpr=1, mainthreadpr=5, 
      mainThreadStackSize=32768, _allocator=0x20030ab4 <thread_malloc>, 
      _deallocator=0x20030ad8 <thread_free>, 
      _destructor1=0x20030a40 <broadcastDeath>, _onstop=0x20030a88 <throwDeath>)
      at ./systems/unix-jthreads/jthread.c:773
  #10 0x20030b9b in Tinit (nativestacksize=32768)
      at ./systems/unix-jthreads/internal.c:104
  #11 0x2001a0d9 in initialiseKaffe () at baseClasses.c:99
  #12 0x200281d0 in JNI_CreateJavaVM (vm=0x3114, env=0x3284, args=0x3118)
      at jni.c:158
  #13 0x1660 in main (argc=3, argv=0xefbfd53c) at main.c:106
  (gdb) p currentJThread
  Address of symbol "currentJThread" is unknown.
  (gdb) q

-Archie

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


More information about the kaffe mailing list