[kaffe] assertion "pool->num_free_nodes != 0" failed

Greg Wooledge greg at wooledge.org
Sun Aug 24 09:37:01 PDT 2003

Since Helmer fixed a memory leak, I've decided to give Kaffe+Freenet
another whirl.  The good news is, it's MUCH more stable than 1.1.0
was.  I've actually had it running for many hours without sucking up
all the memory it can find.  (It still seems to grow in small bursts
every once in a while, but it's hard to say whether that's a memory
leak or just another Freenet feature kicking in.)

The bad news:

assertion "pool->num_free_nodes != 0" failed: file "jqueue.c", line 60

#0  0x40143fdb in _thread_sys_kill ()
#1  0x401438c7 in abort ()
#2  0x400fb7fb in __assert ()
#3  0x400a5468 in KaffePoolNewNode (pool=0x2c90f8) at jqueue.c:60
#4  0x4009fddd in addWaitQThread (jtid=0x3a9400c, queue=0x2d82764)
    at jthread.c:815
#5  0x400a0053 in suspendOnQThread (jtid=0x3a9400c, queue=0x2d82764, 
    timeout=-1) at jthread.c:895
#6  0x400a2781 in jcondvar_wait (cv=0x2d82764, lock=0x2d8275c, timeout=-1)
    at jthread.c:2257
#7  0x40050a5e in slowLockMutex (lkp=0x400ba124, where=0x3a9bfd4, 
    heavyLock=0x400ba128) at ksem.h:92
#8  0x400515e2 in locks_internal_lockMutex (lkp=0x400ba124, where=0x3a9bfd4, 
    heavyLock=0x400ba128) at locks.c:440
#9  0x4005cf76 in firstStartThread (arg=0x15ee3fc) at thread.c:362
#10 0x400a11d0 in start_this_sucker_on_a_new_frame () at jthread.c:1458
#11 0x400a1372 in jthread_create (pri=5, func=0x4005cf34 <firstStartThread>, 
    daemon=0, jlThread=0x14df53c, threadStackSize=32768) at jthread.c:1532
#12 0x4005c960 in createThread (tid=0x14df53c, func=0x4005cf34, 
    stacksize=32768, einfo=0x277ea2c) at thread.c:130
#13 0x4005ca97 in startThread (tid=0x14df53c) at thread.c:190
#14 0x401a09ea in java_lang_Thread_start0 (this=0x14df53c) at Thread.c:40
#15 0x33493b in ?? ()
#16 0x6c3b2f in ?? ()
#17 0x2731984 in ?? ()
#18 0x273f0ef in ?? ()
#19 0x278025b in ?? ()
#20 0x26b43cc in ?? ()
#21 0x4005be86 in callMethodV (meth=0x363b34, func=0x26b4364, obj=0x273d88c, 
    args=0x0, ret=0x0) at ../../config/i386/common.h:38
#22 0x400477ed in Kaffe_CallVoidMethodV (env=0x277700c, obj=0x2773210, 
    meth=0x363b34, args=0x277ef9c "\017É\005@`0\013@ÀÁ\001@ì¯\013@")
    at jni.c:1141
#23 0x4004788a in Kaffe_CallVoidMethod (env=0x277700c, obj=0x2773210, 
    meth=0x363b34) at jni.c:1154
#24 0x4005d014 in firstStartThread (arg=0x2773210) at thread.c:400
#25 0x400a11d0 in start_this_sucker_on_a_new_frame () at jthread.c:1458
#26 0x400a1372 in jthread_create (pri=-809512788, func=0xcfbfcf98, 
    daemon=1074073824, jlThread=0x36735c, threadStackSize=3568468)
    at jthread.c:1532
#27 0xb8b4b4 in ?? ()
#28 0x45895440 in ?? ()
Cannot access memory at address 0x8bf8458b.

Engine: Just-in-time v3   Version: 1.1.1   Java Version: 1.1
Configuration/Compilation options:
  Compile date  : Sat Aug 23 09:14:27 EDT 2003
  Compile host  : pegasus
  Install prefix: /usr/local/kaffe
  Thread system : unix-jthreads
  CC            : gcc
  CFLAGS        : -g -O2 -Wall -Wstrict-prototypes
  LDFLAGS       : 
  ChangeLog head: 2003-08-22  Helmer Kraemer  <hkraemer at freenet.de>

OpenBSD 3.3 i386

Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030824/23d855a3/attachment-0002.pgp 

More information about the kaffe mailing list