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

Julian Elischer julian at elischer.org
Wed Oct 27 17:55:52 PDT 2004


David, do you have revision numbers of what needs to be MFC'd?


David Xu wrote:

> Daniel Eischen wrote:
>
>>> 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.
>>>   
>>
>>
>> David and I recently fixed some races in pthread_join() and
>> pthread_exit() in -current libpthread.  Don't know if those
>> were responsible...
>>
>>  
>>
> That fix should be MFCed ASAP.
>
>> Here's a test program that shows correct behavior with both
>> libc_r and libpthread in -current.
>>
>>  
>>
>
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to 
> "freebsd-threads-unsubscribe at freebsd.org"




More information about the freebsd-threads mailing list