[kaffe] core dump, assertion failed (THREAD_RUNNING)

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


--FStV/iabqQx856sH
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

assertion "tid->status !=3D 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=3D0x309dd90) at jthread.c:1941
#4  0x40044bf1 in slowUnlockMutex (lkp=3D0x2ea485c, where=3D0x9f65c48)
    at ksem.h:116
#5  0x4004517a in _unlockMutex (lkp=3D0x2ea485c, where=3D0x9f65c48) at lock=
s.c:509
#6  0x400451f2 in unlockObject (obj=3D0x2ea4858) at locks.c:526
#7  0x40053f44 in virtualMachine (meth=3D0x3567060, arg=3D0x9f65e88,=20
    retval=3D0x9f66a80, tid=3D0x3e47360) at machine.c:236
#8  0x40056212 in runVirtualMachine (meth=3D0x3a66f0, lcl=3D0x9f65e48,=20
    sp=3D0x9f65e60, npc=3D27, retval=3D0x9f66a80, mjbuf=3D0x9f65ed0, tid=3D=
0x3e47360)
    at ../kaffe.def:2594
#9  0x40053f2e in virtualMachine (meth=3D0x3a66f0, arg=3D0x9f66068,=20
    retval=3D0x9f66a80, tid=3D0x3e47360) at machine.c:231
#10 0x40056212 in runVirtualMachine (meth=3D0x863c68, lcl=3D0x9f66028,=20
    sp=3D0x9f66040, npc=3D83, retval=3D0x9f66a80, mjbuf=3D0x9f660d0, tid=3D=
0x3e47360)
    at ../kaffe.def:2594
#11 0x40053f2e in virtualMachine (meth=3D0x863c68, arg=3D0x9f66288,=20
    retval=3D0x9f66a80, tid=3D0x3e47360) at machine.c:231
#12 0x40056212 in runVirtualMachine (meth=3D0x864ac0, lcl=3D0x9f66228,=20
    sp=3D0x9f66260, npc=3D494, retval=3D0x9f66a80, mjbuf=3D0x9f662f0, tid=
=3D0x3e47360)
    at ../kaffe.def:2594
#13 0x40053f2e in virtualMachine (meth=3D0x864ac0, arg=3D0x9f66478,=20
    retval=3D0x9f66a80, tid=3D0x3e47360) at machine.c:231
#14 0x400564e8 in runVirtualMachine (meth=3D0x864930, lcl=3D0x9f66448,=20
    sp=3D0x9f66458, npc=3D130, retval=3D0x9f66a80, mjbuf=3D0x9f664d0, tid=
=3D0x3e47360)
    at ../kaffe.def:2648
#15 0x40053f2e in virtualMachine (meth=3D0x864930, arg=3D0x9f66660,=20
    retval=3D0x9f66a80, tid=3D0x3e47360) at machine.c:231
#16 0x400564e8 in runVirtualMachine (meth=3D0x8640b0, lcl=3D0x9f66628,=20
    sp=3D0x9f66640, npc=3D11, retval=3D0x9f66a80, mjbuf=3D0x9f666b0, tid=3D=
0x3e47360)
    at ../kaffe.def:2648
#17 0x40053f2e in virtualMachine (meth=3D0x8640b0, arg=3D0x9f667b0,=20
    retval=3D0x9f66a80, tid=3D0x3e47360) at machine.c:231
#18 0x4004c538 in callMethodA (meth=3D0x8640b0, func=3D0x8640b0, obj=3D0x3b=
99360,=20
    args=3D0x9f66b38, ret=3D0x9f66a80, promoted=3D0) at support.c:538
#19 0x4003bed9 in Kaffe_CallObjectMethodA (env=3D0x4006416c, obj=3D0x3b9936=
0,=20
    meth=3D0x8640b0, args=3D0x9f66b38) at jni.c:644
#20 0x4014daef in Java_java_lang_reflect_Method_invoke0 (env=3D0x4006416c,=
=20
    _this=3D0x22596e0, _obj=3D0x3b99360, _argobj=3D0x5bbcf18) at Method.c:2=
61
#21 0x4004c62a in callMethodA (meth=3D0x3f8bb0, func=3D0x3f8bb0, obj=3D0x22=
596e0,=20
    args=3D0x9f67870, ret=3D0x9f68bb4, promoted=3D1) at ../../config/i386/c=
ommon.h:45
#22 0x40053ca2 in virtualMachine (meth=3D0x3f8bb0, arg=3D0x9f67868,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:139
#23 0x40056212 in runVirtualMachine (meth=3D0x3f8b60, lcl=3D0x9f67838,=20
    sp=3D0x9f67860, npc=3D935, retval=3D0x9f68bb4, mjbuf=3D0x9f678e0, tid=
=3D0x3e47360)
    at ../kaffe.def:2594
#24 0x40053f2e in virtualMachine (meth=3D0x3f8b60, arg=3D0x9f67a88,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#25 0x40056212 in runVirtualMachine (meth=3D0x53bc68, lcl=3D0x9f67a38,=20
    sp=3D0x9f67a68, npc=3D309, retval=3D0x9f68bb4, mjbuf=3D0x9f67b10, tid=
=3D0x3e47360)
    at ../kaffe.def:2594
#26 0x40053f2e in virtualMachine (meth=3D0x53bc68, arg=3D0x9f67cb8,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#27 0x40056212 in runVirtualMachine (meth=3D0x7dbac0, lcl=3D0x9f67c68,=20
    sp=3D0x9f67c98, npc=3D92, retval=3D0x9f68bb4, mjbuf=3D0x9f67d20, tid=3D=
0x3e47360)
    at ../kaffe.def:2594
#28 0x40053f2e in virtualMachine (meth=3D0x7dbac0, arg=3D0x9f67eb0,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#29 0x400567b7 in runVirtualMachine (meth=3D0x7db8e0, lcl=3D0x9f67e78,=20
    sp=3D0x9f67e90, npc=3D10, retval=3D0x9f68bb4, mjbuf=3D0x9f67f20, tid=3D=
0x3e47360)
    at ../kaffe.def:2696
#30 0x40053f2e in virtualMachine (meth=3D0x7db8e0, arg=3D0x9f680d0,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#31 0x40056212 in runVirtualMachine (meth=3D0x7de8d0, lcl=3D0x9f68078,=20
    sp=3D0x9f680b0, npc=3D62, retval=3D0x9f68bb4, mjbuf=3D0x9f68130, tid=3D=
0x3e47360)
    at ../kaffe.def:2594
#32 0x40053f2e in virtualMachine (meth=3D0x7de8d0, arg=3D0x9f682d0,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#33 0x40056212 in runVirtualMachine (meth=3D0x7de7e0, lcl=3D0x9f68288,=20
    sp=3D0x9f682c0, npc=3D102, retval=3D0x9f68bb4, mjbuf=3D0x9f68350, tid=
=3D0x3e47360)
    at ../kaffe.def:2594
#34 0x40053f2e in virtualMachine (meth=3D0x7de7e0, arg=3D0x9f684d8,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#35 0x400564e8 in runVirtualMachine (meth=3D0x7de9c0, lcl=3D0x9f684a8,=20
    sp=3D0x9f684b8, npc=3D6, retval=3D0x9f68bb4, mjbuf=3D0x9f68520, tid=3D0=
x3e47360)
    at ../kaffe.def:2648
#36 0x40053f2e in virtualMachine (meth=3D0x7de9c0, arg=3D0x9f686d0,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#37 0x400567b7 in runVirtualMachine (meth=3D0x354b3f8, lcl=3D0x9f68678,=20
    sp=3D0x9f686b0, npc=3D138, retval=3D0x9f68bb4, mjbuf=3D0x9f68730, tid=
=3D0x3e47360)
    at ../kaffe.def:2696
#38 0x40053f2e in virtualMachine (meth=3D0x354b3f8, arg=3D0x9f688b8,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#39 0x40056212 in runVirtualMachine (meth=3D0x7808e0, lcl=3D0x9f68888,=20
    sp=3D0x9f688a0, npc=3D139, retval=3D0x9f68bb4, mjbuf=3D0x9f68930, tid=
=3D0x3e47360)
    at ../kaffe.def:2594
#40 0x40053f2e in virtualMachine (meth=3D0x7808e0, arg=3D0x9f68ac0,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#41 0x40056aa1 in runVirtualMachine (meth=3D0x3567c68, lcl=3D0x9f68a78,=20
    sp=3D0x9f68ab0, npc=3D73, retval=3D0x9f68bb4, mjbuf=3D0x9f68b30, tid=3D=
0x3e47360)
    at ../kaffe.def:2753
#42 0x40053f2e in virtualMachine (meth=3D0x3567c68, arg=3D0x9f68c10,=20
    retval=3D0x9f68bb4, tid=3D0x3e47360) at machine.c:231
#43 0x4004ca90 in callMethodV (meth=3D0x3567c68, func=3D0x3567c68, obj=3D0x=
3e47360,=20
    args=3D0x9f68f94 "=CF=D4\004@`0\006@=B8=A1\001@=F8\232\006@", ret=3D0x9=
f68bb4)
    at support.c:754
#44 0x4003dd55 in Kaffe_CallVoidMethodV (env=3D0x4006416c, obj=3D0x3e47360,=
=20
    meth=3D0x3567c68, args=3D0x9f68f94 "=CF=D4\004@`0\006@=B8=A1\001@=F8\23=
2\006@")
    at jni.c:1094
#45 0x4003ddcf in Kaffe_CallVoidMethod (env=3D0x4006416c, obj=3D0x3e47360,=
=20
    meth=3D0x3567c68) at jni.c:1107
#46 0x4004da1b in firstStartThread (arg=3D0x3e47360) at thread.c:357
#47 0x40058924 in start_this_sucker_on_a_new_frame () at jthread.c:1252
#48 0x40058a42 in jthread_create (pri=3D59592068,=20
    func=3D0x40057dab <suspendOnQThread+207>, daemon=3D1074147424, jlThread=
=3D0x0,=20
    threadStackSize=3D3070320) at jthread.c:1322
#49 0x38c6010 in ?? ()

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

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--FStV/iabqQx856sH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+H24gkAkqAYpL9t8RAp7GAKDHK00WmQx20ijvENAAd6JVoaqnyACdF8pG
gpuw/PsbpczHioLGzNc7cKA=
=x3KS
-----END PGP SIGNATURE-----

--FStV/iabqQx856sH--