Date: Tue, 9 Jun 1998 01:40:00 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: jb@cimlogic.com.au (John Birrell) Cc: tlambert@primenet.com, current@FreeBSD.ORG Subject: Re: Threads library bug Message-ID: <199806090140.SAA25156@usr07.primenet.com> In-Reply-To: <199806090058.KAA09481@cimlogic.com.au> from "John Birrell" at Jun 9, 98 10:58:34 am
next in thread | previous in thread | raw e-mail | index | archive | help
> Check for a read or write with nbytes = 0. I'm about to commit > a fix for this. Thanks; I'll test it whenever you want... though I'm going to migrate it to 2.6 for the testing. > This is the problem referred to on HighWind's > download page (http://www.highwind.com/). My failure just gives a zero length .dbb (dbm btree) file; it doesn't spin forever or consume CPU. Those problems are most likely another problem... probably passing getdtablesize()'s return as the first argument of select(2), instead of FD_SETSIZE. The LDAP and ACAP code had similar (bogus) assumptions (that the FD_SETSIZE would be at least as large as the getdtablesize() and/or sysconf(_SC_OPEN_MAX) return values). If this is the case, then it's not a threads library problem, but a source problem. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806090140.SAA25156>