Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 15:49:28 -0700
From:      Julian Elischer <julian@elischer.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        John Baldwin <jhb@freebsd.org>
Subject:   Re: Infinite loop bug in libc_r on 4.x with condition variables a nd signals
Message-ID:  <41817778.4070801@elischer.org>
In-Reply-To: <41804D8E.2030003@freebsd.org>
References:  <41804394.7020306@elischer.org> <41804D8E.2030003@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
re, how about it?


David Xu wrote:

> Here is the cvs log:
>
> Revision  Changes    Path
>   1.58      +1 -0      src/lib/libpthread/thread/thr_create.c
>   1.14      +1 -1      src/lib/libpthread/thread/thr_find_thread.c
>   1.115     +27 -10    src/lib/libpthread/thread/thr_kern.c
>   1.119     +15 -11    src/lib/libpthread/thread/thr_private.h
>   1.81      +1 -2      src/lib/libpthread/thread/thr_sig.c
>
> Julian Elischer wrote:
>
>> 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.
>>>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41817778.4070801>