Infinite loop bug in libc_r on 4.x with condition variables a nd signals

Daniel Eischen deischen at freebsd.org
Thu Oct 28 16:40:05 PDT 2004


On Thu, 28 Oct 2004, Ken Smith wrote:

> On Thu, Oct 28, 2004 at 03:49:28PM -0700, Julian Elischer wrote:
>
> > re, how about it?
>
> Give me an hour or two, yesterday was the first I saw of this so I
> need to research it a bit.  Is that OK?
>
> > >>>>>FWIW, we are having (I think) the same problem on 5.3 with
> > >>>>>libpthread. The
> > >>>>>
> > >>>>>panic there is in the mutex code about an assertion failing
> > >>>>>because a thread
> > >>>>>is on a syncq when it is not supposed to be.
>
> Umm.  Your patch changes only user-level code, correct?  Please tell
> me you can only panic a debugging kernel with user-level code issues.

User-level panic by some assertions in libpthread which are caused
by a race condition that this patch closes.

-- 
Dan Eischen



More information about the freebsd-threads mailing list