From owner-freebsd-threads@FreeBSD.ORG Fri Mar 4 03:25:09 2005 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 745BE16A4CE for ; Fri, 4 Mar 2005 03:25:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C1CD43D31; Fri, 4 Mar 2005 03:25:09 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j243P7dW013833; Fri, 4 Mar 2005 03:25:08 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4227D501.8090706@freebsd.org> Date: Fri, 04 Mar 2005 11:24:49 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <000b01c51fbb$4189ea30$090210ac@BORJA> <422773C2.8090607@elischer.org> In-Reply-To: <422773C2.8090607@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: threads@freebsd.org Subject: Re: patch for threads/76690 - critical - fork hang in child for -lc_r X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 03:25:09 -0000 4.x does not have a __malloc_lock symbol exported, I had suggested to add __malloc_lock in FreeBSD 5 libpthread since I saw some broken applications call malloc in child process after fork() and before execv(). :) Julian Elischer wrote: > the bug is still valid in 4.x > > > Andriy Tkachuk wrote: > >>> Is there a reason you are still using libc_r? >>> >> >> >> I don't use it at all, but there was critical bug >> i threads-pr - so i just decided to fix it since i >> have had some time ) >> >> If this library is needless, why is it still there >> and this pr in criticals? >