[kaffe] core dump, assertion failed (THREAD_RUNNING)

Greg Wooledge greg@wooledge.org
Sat Jan 11 06:22:01 2003


--0zTKgzRlFSa+w9QI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dalibor Topic (robilad@yahoo.com) wrote:
> --- Greg Wooledge <greg@wooledge.org> wrote:

> > assertion "tid->status !=3D THREAD_RUNNING" failed:
> > file "jthread.c", line 1941
>=20
> could you load the core file in gdb, and source
> developers/gdbinit and post the output of "intbt"
> command?

I can't seem to figure out how this command is supposed to work.

(gdb) bt
#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
[...]
(gdb) intbt 3 5
#3  0x40059939 in jmutex_unlock (lock=3D0x309dd90) at jthread.c:1941
1941                    assert(tid->status !=3D THREAD_RUNNING);
No symbol "meth" in current context.
(gdb) intbt 4 5
#4  0x40044bf1 in slowUnlockMutex (lkp=3D0x2ea485c, where=3D0x9f65c48)
    at ksem.h:116
116             jmutex_unlock(&sem->mux);
No symbol "meth" in current context.

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

--0zTKgzRlFSa+w9QI
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+ICiUkAkqAYpL9t8RAldrAJ4tOReUflnsnADbF4ORFnnX1CzrrQCfY5qo
srFE0mabbD10vddBBRGWdJM=
=ExZd
-----END PGP SIGNATURE-----

--0zTKgzRlFSa+w9QI--