From owner-freebsd-threads@FreeBSD.ORG Thu Sep 20 23:40:54 2007 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03CD216A468 for ; Thu, 20 Sep 2007 23:40:54 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id BF42F13C469 for ; Thu, 20 Sep 2007 23:40:53 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l8KNeqwY011345; Thu, 20 Sep 2007 19:40:52 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.netplex.net [204.213.176.10]); Thu, 20 Sep 2007 19:40:52 -0400 (EDT) Date: Thu, 20 Sep 2007 19:40:52 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Simon Perreault In-Reply-To: Message-ID: References: <200709202310.l8KNA77r059169@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-threads@freebsd.org Subject: Re: threads/101323: fork(2) in threaded programs broken. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 23:40:54 -0000 On Thu, 20 Sep 2007, Daniel Eischen wrote: > On Thu, 20 Sep 2007, Simon Perreault wrote: > >> >> This email is an attemps to revive bug 101323 by stating that it prevents >> Asterisk (http://www.asterisk.org/) from running in daemon mode. Here's >> what >> Asterisk tries to do in a nutshell: > > POSIX states that only async signal safe functions can be used > after a fork() in the child process and before a call to one of > the exec() functions. The behavior of an application is undefined > otherwise. I didn't realize this was an old bug and the above was already stated in its previous history. Does the patch in the bug report fix your problem? I thought phk had already committed it. -- DE