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

David Xu davidxu at freebsd.org
Wed Oct 27 16:26:58 PDT 2004


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.
>
>  
>



More information about the freebsd-threads mailing list