[kaffe] core dump, assertion failed (THREAD_RUNNING)

Greg Wooledge greg at wooledge.org
Fri Jan 10 17:06:01 PST 2003


OpenBSD 3.2 i386
CVS Kaffe from about 2 days ago (modified libtool to make it link)
./configure --with-engine=intrp
running Freenet

assertion "tid->status != THREAD_RUNNING" failed: file "jthread.c", line 1941

#0  0x400ed27b in kill ()
#1  0x400ecbd7 in abort ()
#2  0x400a7f53 in __assert ()
#3  0x40059939 in jmutex_unlock (lock=0x309dd90) at jthread.c:1941
#4  0x40044bf1 in slowUnlockMutex (lkp=0x2ea485c, where=0x9f65c48)
    at ksem.h:116
#5  0x4004517a in _unlockMutex (lkp=0x2ea485c, where=0x9f65c48) at locks.c:509
#6  0x400451f2 in unlockObject (obj=0x2ea4858) at locks.c:526
#7  0x40053f44 in virtualMachine (meth=0x3567060, arg=0x9f65e88, 
    retval=0x9f66a80, tid=0x3e47360) at machine.c:236
#8  0x40056212 in runVirtualMachine (meth=0x3a66f0, lcl=0x9f65e48, 
    sp=0x9f65e60, npc=27, retval=0x9f66a80, mjbuf=0x9f65ed0, tid=0x3e47360)
    at ../kaffe.def:2594
#9  0x40053f2e in virtualMachine (meth=0x3a66f0, arg=0x9f66068, 
    retval=0x9f66a80, tid=0x3e47360) at machine.c:231
#10 0x40056212 in runVirtualMachine (meth=0x863c68, lcl=0x9f66028, 
    sp=0x9f66040, npc=83, retval=0x9f66a80, mjbuf=0x9f660d0, tid=0x3e47360)
    at ../kaffe.def:2594
#11 0x40053f2e in virtualMachine (meth=0x863c68, arg=0x9f66288, 
    retval=0x9f66a80, tid=0x3e47360) at machine.c:231
#12 0x40056212 in runVirtualMachine (meth=0x864ac0, lcl=0x9f66228, 
    sp=0x9f66260, npc=494, retval=0x9f66a80, mjbuf=0x9f662f0, tid=0x3e47360)
    at ../kaffe.def:2594
#13 0x40053f2e in virtualMachine (meth=0x864ac0, arg=0x9f66478, 
    retval=0x9f66a80, tid=0x3e47360) at machine.c:231
#14 0x400564e8 in runVirtualMachine (meth=0x864930, lcl=0x9f66448, 
    sp=0x9f66458, npc=130, retval=0x9f66a80, mjbuf=0x9f664d0, tid=0x3e47360)
    at ../kaffe.def:2648
#15 0x40053f2e in virtualMachine (meth=0x864930, arg=0x9f66660, 
    retval=0x9f66a80, tid=0x3e47360) at machine.c:231
#16 0x400564e8 in runVirtualMachine (meth=0x8640b0, lcl=0x9f66628, 
    sp=0x9f66640, npc=11, retval=0x9f66a80, mjbuf=0x9f666b0, tid=0x3e47360)
    at ../kaffe.def:2648
#17 0x40053f2e in virtualMachine (meth=0x8640b0, arg=0x9f667b0, 
    retval=0x9f66a80, tid=0x3e47360) at machine.c:231
#18 0x4004c538 in callMethodA (meth=0x8640b0, func=0x8640b0, obj=0x3b99360, 
    args=0x9f66b38, ret=0x9f66a80, promoted=0) at support.c:538
#19 0x4003bed9 in Kaffe_CallObjectMethodA (env=0x4006416c, obj=0x3b99360, 
    meth=0x8640b0, args=0x9f66b38) at jni.c:644
#20 0x4014daef in Java_java_lang_reflect_Method_invoke0 (env=0x4006416c, 
    _this=0x22596e0, _obj=0x3b99360, _argobj=0x5bbcf18) at Method.c:261
#21 0x4004c62a in callMethodA (meth=0x3f8bb0, func=0x3f8bb0, obj=0x22596e0, 
    args=0x9f67870, ret=0x9f68bb4, promoted=1) at ../../config/i386/common.h:45
#22 0x40053ca2 in virtualMachine (meth=0x3f8bb0, arg=0x9f67868, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:139
#23 0x40056212 in runVirtualMachine (meth=0x3f8b60, lcl=0x9f67838, 
    sp=0x9f67860, npc=935, retval=0x9f68bb4, mjbuf=0x9f678e0, tid=0x3e47360)
    at ../kaffe.def:2594
#24 0x40053f2e in virtualMachine (meth=0x3f8b60, arg=0x9f67a88, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#25 0x40056212 in runVirtualMachine (meth=0x53bc68, lcl=0x9f67a38, 
    sp=0x9f67a68, npc=309, retval=0x9f68bb4, mjbuf=0x9f67b10, tid=0x3e47360)
    at ../kaffe.def:2594
#26 0x40053f2e in virtualMachine (meth=0x53bc68, arg=0x9f67cb8, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#27 0x40056212 in runVirtualMachine (meth=0x7dbac0, lcl=0x9f67c68, 
    sp=0x9f67c98, npc=92, retval=0x9f68bb4, mjbuf=0x9f67d20, tid=0x3e47360)
    at ../kaffe.def:2594
#28 0x40053f2e in virtualMachine (meth=0x7dbac0, arg=0x9f67eb0, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#29 0x400567b7 in runVirtualMachine (meth=0x7db8e0, lcl=0x9f67e78, 
    sp=0x9f67e90, npc=10, retval=0x9f68bb4, mjbuf=0x9f67f20, tid=0x3e47360)
    at ../kaffe.def:2696
#30 0x40053f2e in virtualMachine (meth=0x7db8e0, arg=0x9f680d0, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#31 0x40056212 in runVirtualMachine (meth=0x7de8d0, lcl=0x9f68078, 
    sp=0x9f680b0, npc=62, retval=0x9f68bb4, mjbuf=0x9f68130, tid=0x3e47360)
    at ../kaffe.def:2594
#32 0x40053f2e in virtualMachine (meth=0x7de8d0, arg=0x9f682d0, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#33 0x40056212 in runVirtualMachine (meth=0x7de7e0, lcl=0x9f68288, 
    sp=0x9f682c0, npc=102, retval=0x9f68bb4, mjbuf=0x9f68350, tid=0x3e47360)
    at ../kaffe.def:2594
#34 0x40053f2e in virtualMachine (meth=0x7de7e0, arg=0x9f684d8, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#35 0x400564e8 in runVirtualMachine (meth=0x7de9c0, lcl=0x9f684a8, 
    sp=0x9f684b8, npc=6, retval=0x9f68bb4, mjbuf=0x9f68520, tid=0x3e47360)
    at ../kaffe.def:2648
#36 0x40053f2e in virtualMachine (meth=0x7de9c0, arg=0x9f686d0, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#37 0x400567b7 in runVirtualMachine (meth=0x354b3f8, lcl=0x9f68678, 
    sp=0x9f686b0, npc=138, retval=0x9f68bb4, mjbuf=0x9f68730, tid=0x3e47360)
    at ../kaffe.def:2696
#38 0x40053f2e in virtualMachine (meth=0x354b3f8, arg=0x9f688b8, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#39 0x40056212 in runVirtualMachine (meth=0x7808e0, lcl=0x9f68888, 
    sp=0x9f688a0, npc=139, retval=0x9f68bb4, mjbuf=0x9f68930, tid=0x3e47360)
    at ../kaffe.def:2594
#40 0x40053f2e in virtualMachine (meth=0x7808e0, arg=0x9f68ac0, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#41 0x40056aa1 in runVirtualMachine (meth=0x3567c68, lcl=0x9f68a78, 
    sp=0x9f68ab0, npc=73, retval=0x9f68bb4, mjbuf=0x9f68b30, tid=0x3e47360)
    at ../kaffe.def:2753
#42 0x40053f2e in virtualMachine (meth=0x3567c68, arg=0x9f68c10, 
    retval=0x9f68bb4, tid=0x3e47360) at machine.c:231
#43 0x4004ca90 in callMethodV (meth=0x3567c68, func=0x3567c68, obj=0x3e47360, 
    args=0x9f68f94 "ÏÔ\004@`0\006@¸¡\001@ø\232\006@", ret=0x9f68bb4)
    at support.c:754
#44 0x4003dd55 in Kaffe_CallVoidMethodV (env=0x4006416c, obj=0x3e47360, 
    meth=0x3567c68, args=0x9f68f94 "ÏÔ\004@`0\006@¸¡\001@ø\232\006@")
    at jni.c:1094
#45 0x4003ddcf in Kaffe_CallVoidMethod (env=0x4006416c, obj=0x3e47360, 
    meth=0x3567c68) at jni.c:1107
#46 0x4004da1b in firstStartThread (arg=0x3e47360) at thread.c:357
#47 0x40058924 in start_this_sucker_on_a_new_frame () at jthread.c:1252
#48 0x40058a42 in jthread_create (pri=59592068, 
    func=0x40057dab <suspendOnQThread+207>, daemon=1074147424, jlThread=0x0, 
    threadStackSize=3070320) at jthread.c:1322
#49 0x38c6010 in ?? ()

I still have the core file if anyone wants me to attempt a more
hands-on analysis.

-- 
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://pogo.kaffe.org/pipermail/kaffe/attachments/20030110/87d7002f/attachment-0002.bin


More information about the kaffe mailing list