[kaffe] Assertion failed in CVS kaffe

Greg Wooledge greg@wooledge.org
Sun Feb 23 09:47:01 2003


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

Dalibor Topic (robilad@yahoo.com) wrote:

> --- Matthew Toseland <toad@amphibian.dyndns.org>
> wrote:

> > kaffe-bin: jthread.c:1750: handleIO: Assertion

> that section hasn't been changed since Sat Mar 13
> 19:26:55 1999 (version 1.56). Godmar, could you take a
> look at it? The FS_ISSET assertion for pending reads
> during poll array building breaks.

For whatever it's worth, I've gotten this assertion also, on OpenBSD.

assertion "FD_ISSET(i, &readsPending)" failed: file "jthread.c", line 1750

#0  0x401db27b in kill ()
#1  0x401dabd7 in abort ()
#2  0x40195f53 in __assert ()
#3  0x4006d249 in handleIO (sleep=3D0) at jthread.c:1750
#4  0x4006b942 in handleInterrupt (sig=3D23, sc=3D0x0) at jthread.c:685
#5  0x4006b267 in jthread_unsuspendall () at jthread.c:339
#6  0x4006f263 in jthreadedGetHostByName (
    host=3D0x132e8e4 "freenet.shatteredsilicon.net", out=3D0x132e8e0)
    at syscalls.c:258
#7  0x4068f199 in java_net_InetAddressImpl_lookupHostAddr (none=3D0x486a20,=
=20
    str=3D0x23e69b8) at InetAddressImpl.c:66
#8  0x479e7d in ?? ()
#9  0x48e9ba in ?? ()
#10 0x7f68a0 in ?? ()
#11 0x7f8ab1 in ?? ()
#12 0x80f4de in ?? ()
#13 0xdefc0f in ?? ()
#14 0xa9db25 in ?? ()
#15 0xf1458c in ?? ()
#16 0x1253cc1 in ?? ()
#17 0xb3c20a in ?? ()
#18 0x40050a6e in callMethodA (meth=3D0x124f100, func=3D0xb3c010, obj=3D0x2=
a2e2f0,=20
    args=3D0x132f004, ret=3D0x132ef4c, promoted=3D0) at ../../config/i386/c=
ommon.h:45
#19 0x4003d8a9 in Kaffe_CallObjectMethodA (env=3D0x4007dc04, obj=3D0x2a2e2f=
0,=20
    meth=3D0x124f100, args=3D0x132f004) at jni.c:644
#20 0x4023be9f in Java_java_lang_reflect_Method_invoke0 (env=3D0x4007dc04,=
=20
    _this=3D0xd85d40, _obj=3D0x2a2e2f0, _argobj=3D0x2987538) at Method.c:261
#21 0x43868d in ?? ()
#22 0x45d7c5 in ?? ()
#23 0x1265d68 in ?? ()
#24 0x12645a5 in ?? ()
#25 0xdb53cd in ?? ()
#26 0xd5ac36 in ?? ()
#27 0xd62a01 in ?? ()
#28 0xd5a788 in ?? ()
#29 0x6388eb in ?? ()
#30 0xd694f8 in ?? ()
#31 0xd5d57d in ?? ()
#32 0x9f22d6 in ?? ()
#33 0x40050fbe in callMethodV (meth=3D0xd3fc68, func=3D0x9f2010, obj=3D0xae=
9900,=20
    args=3D0x132ff94 "?\031\005@`=C0\a@=B8=B1\001@=E46\b@", ret=3D0x132fbec)
    at ../../config/i386/common.h:38
#34 0x4003fc49 in Kaffe_CallVoidMethodV (env=3D0x4007dc04, obj=3D0xae9900,=
=20
    meth=3D0xd3fc68, args=3D0x132ff94 "?\031\005@`=C0\a@=B8=B1\001@=E46\b@"=
) at jni.c:1094
#35 0x4003fce6 in Kaffe_CallVoidMethod (env=3D0x4007dc04, obj=3D0xae9900,=
=20
    meth=3D0xd3fc68) at jni.c:1107
#36 0x40051e8b in firstStartThread (arg=3D0xae9900) at thread.c:357
#37 0x4006c728 in start_this_sucker_on_a_new_frame () at jthread.c:1254
#38 0x4006c846 in jthread_create (pri=3D3151328,=20
    func=3D0x4006c32e <jthread_enable_stop+14>, daemon=3D1074249824, jlThre=
ad=3D0x0,=20
    threadStackSize=3D18041328) at jthread.c:1324

But I don't get it as quickly as Matthew does on his Linux systems.
It usually takes a few days of continuous running for me.  Matthew
gets it within minutes of starting up Freenet under Kaffe.

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

--32KBALpRDK42x9o9
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+WQlckAkqAYpL9t8RAvzcAJ42KqMctVOeDII2BMYxqvXrcEYlwQCfWVoK
+8J57Fw/IX/9b6o12O5xdOM=
=IQLZ
-----END PGP SIGNATURE-----

--32KBALpRDK42x9o9--