[kaffe] Assertion failed in CVS kaffe

Matthew Toseland toad at amphibian.dyndns.org
Sun Feb 23 15:59:01 PST 2003


On Sun, Feb 23, 2003 at 10:05:57AM -0800, Dalibor Topic wrote:
> Hi Greg,
> 
> I've browsed through the archives, and I remember
> hearing Godmar say something about that assertion a
> while ago ... here it is:
> http://www.kaffe.org/pipermail/kaffe/2002-August/008819.html
> 
> So, does removing the assertion help?
> 
> cheers,
> dalibor topic

The diff is attached. See other mails re it helping or not.

-- 
Matthew Toseland
toad at amphibian.dyndns.org/amphibian at users.sourceforge.net
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://0.0.0.0:8889/rO4b9ZN~gNE/
ICTHUS.
-------------- next part --------------
Index: kaffe/kaffevm/systems/unix-jthreads/jthread.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c,v
retrieving revision 1.89
diff -u -r1.89 jthread.c
--- kaffe/kaffevm/systems/unix-jthreads/jthread.c	11 Jan 2003 19:50:39 -0000	1.89
+++ kaffe/kaffevm/systems/unix-jthreads/jthread.c	23 Feb 2003 23:51:34 -0000
@@ -1747,7 +1747,7 @@
 		short ev = 0;
 		if (readQ[i] != 0) { 	/* FD_ISSET(i, &readsPending) */
 			ev |= POLLIN;
-			assert(FD_ISSET(i, &readsPending));
+			/* assert(FD_ISSET(i, &readsPending)); - http://www.kaffe.org/pipermail/kaffe/2002-August/008819.html */
 		}
 		if (writeQ[i] != 0) {   /* FD_ISSET(i, &writesPending) */
 			ev |= POLLOUT;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030223/59458e8a/attachment-0003.pgp 


More information about the kaffe mailing list