threads/76690: fork hang in child for (-lc_r & -lthr)

David Xu davidxu at freebsd.org
Tue Apr 12 01:26:53 PDT 2005


Marc Olzheim wrote:

>On Tue, Apr 12, 2005 at 07:05:31AM +0800, David Xu wrote:
>  
>
>>>Confirmed to be b0rken on FreeBSD 4.11's libc_r as well. :-/
>>>
>>>Marc
>>>
>>>      
>>>
>>This is no longer true for libthr, I can not close the PR
>>because it also reports libc_r problem.
>>    
>>
>
>I know, I didn't ask for it to be closed. :-)
>Is there any info on where the bug could be ? I could take a look at
>it...
>
>Marc
>  
>
You have to fix it in uthread_fork.c,  lock __malloc_lock over 
__sys_fork() call.
but why libc_r ? it is depreciated.

David Xu



More information about the freebsd-threads mailing list