bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible bug in pthread_create(), multiple threads created


From: Eric Sharkey
Subject: Re: possible bug in pthread_create(), multiple threads created
Date: Tue, 11 Dec 2001 18:31:47 -0500

> > The problem seems to be that from one call to pthread_create, two new
> > threads are created and passed the same void * pointer.  This occurs in
> > about one in 10,000 calls to pthread_create.
> 
> By all means try the current glibc-2.2.x version from CVS or for
> example with the current Debian patches, aka glibc_2.2.4-7.  The
> released glibc-2.2.4 had such a problem, which I saw only on SMP
> machines under extreme load, and which was subsequently fixed.

Fix confirmed.  I compiled staticly on Debian (unstable) and copied the
executable to the 4-CPU box (running Red Hat) and the program has been
running continuously for about 7 hours.  The mean time to failure was about
10-15 minutes with the unpatched 2.2.4.

Thanks for your help,

Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]