Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 16:27:24 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Marc Olzheim <marcolz@stack.nl>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: threads/76690: fork hang in child for (-lc_r & -lthr)
Message-ID:  <425B866C.4010609@freebsd.org>
In-Reply-To: <20050412071220.GA17393@stack.nl>
References:  <200504111210.j3BCAZmU002870@freefall.freebsd.org> <425B02BB.5060904@freebsd.org> <20050412071220.GA17393@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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