[kaffe] Assertion failed in CVS kaffe

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


--NMuMz9nt05w80d4+
Content-Type: multipart/mixed; boundary="XsQoSWH+UP9D9v3l"
Content-Disposition: inline


--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 23, 2003 at 10:05:57AM -0800, Dalibor Topic wrote:
> Hi Greg,
>=20
> 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
>=20
> So, does removing the assertion help?
>=20
> cheers,
> dalibor topic

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

--=20
Matthew Toseland
toad@amphibian.dyndns.org/amphibian@users.sourceforge.net
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://0.0.0.0:8889/rO4b9ZN~gNE/
ICTHUS.

--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=mydiff

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;

--XsQoSWH+UP9D9v3l--

--NMuMz9nt05w80d4+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+WWCOmlVGrEH/+qIRAgGOAKCWaJ0XF0zS2Cy1/N1/T1qDDnYK6ACfcl/e
k5Pn0eMNtcuspHxc4OOXgzA=
=DYac
-----END PGP SIGNATURE-----

--NMuMz9nt05w80d4+--