[kaffe] Assertion failed in CVS kaffe

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


Dalibor Topic (robilad at yahoo.com) wrote:

> --- Matthew Toseland <toad at 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=0) at jthread.c:1750
#4  0x4006b942 in handleInterrupt (sig=23, sc=0x0) at jthread.c:685
#5  0x4006b267 in jthread_unsuspendall () at jthread.c:339
#6  0x4006f263 in jthreadedGetHostByName (
    host=0x132e8e4 "freenet.shatteredsilicon.net", out=0x132e8e0)
    at syscalls.c:258
#7  0x4068f199 in java_net_InetAddressImpl_lookupHostAddr (none=0x486a20, 
    str=0x23e69b8) 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=0x124f100, func=0xb3c010, obj=0x2a2e2f0, 
    args=0x132f004, ret=0x132ef4c, promoted=0) at ../../config/i386/common.h:45
#19 0x4003d8a9 in Kaffe_CallObjectMethodA (env=0x4007dc04, obj=0x2a2e2f0, 
    meth=0x124f100, args=0x132f004) at jni.c:644
#20 0x4023be9f in Java_java_lang_reflect_Method_invoke0 (env=0x4007dc04, 
    _this=0xd85d40, _obj=0x2a2e2f0, _argobj=0x2987538) 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=0xd3fc68, func=0x9f2010, obj=0xae9900, 
    args=0x132ff94 "?\031\005@`À\a@¸±\001@ä6\b@", ret=0x132fbec)
    at ../../config/i386/common.h:38
#34 0x4003fc49 in Kaffe_CallVoidMethodV (env=0x4007dc04, obj=0xae9900, 
    meth=0xd3fc68, args=0x132ff94 "?\031\005@`À\a@¸±\001@ä6\b@") at jni.c:1094
#35 0x4003fce6 in Kaffe_CallVoidMethod (env=0x4007dc04, obj=0xae9900, 
    meth=0xd3fc68) at jni.c:1107
#36 0x40051e8b in firstStartThread (arg=0xae9900) at thread.c:357
#37 0x4006c728 in start_this_sucker_on_a_new_frame () at jthread.c:1254
#38 0x4006c846 in jthread_create (pri=3151328, 
    func=0x4006c32e <jthread_enable_stop+14>, daemon=1074249824, jlThread=0x0, 
    threadStackSize=18041328) 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.

-- 
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/20030223/8f4953e4/attachment-0003.pgp 


More information about the kaffe mailing list