Subject: Re: "parked" processes?
To: Andrew Doran <ad@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 08/16/2007 07:09:48
On Tue, 7 Aug 2007 20:19:58 +0100
Andrew Doran <ad@NetBSD.org> wrote:

> On Tue, Aug 07, 2007 at 06:16:21PM +0100, Andrew Doran wrote:
> 
> > I think I found the bug. If a thread calls
> > pthread_cond_timedwait(), and the computed wakeup time is less than
> > 1 microsecond into the future, then the thread can sleep
> > indefinitely. I'm testing a fix at the moment..
> 
> Ok, I have checked in a fix. I can no longer reproduce the problem
> using a test case that I was given, although admittedly it does not
> involve Firefox but instead dynamips (a Cisco emulator). You'll need
> kernel 4.99.27. I recommend building the latest libc and libpthread
> just to be sure. libpthread ident is below.
> 
> Apologies for the disruption - hopefully this will be the end of it.
> 
Since installing these patches, I haven't had any failures -- thanks.


		--Steve Bellovin, http://www.cs.columbia.edu/~smb