From owner-freebsd-stable@FreeBSD.ORG Thu Jun 12 12:57:43 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88EB11065684 for ; Thu, 12 Jun 2008 12:57:43 +0000 (UTC) (envelope-from SRS0=MY_uw0=W2=webzone.net.au=andrewd@smtp.webzone.net.au) Received: from smtp.webzone.net.au (smtp.webzone.net.au [210.8.36.14]) by mx1.freebsd.org (Postfix) with ESMTP id 44CBF8FC24 for ; Thu, 12 Jun 2008 12:57:43 +0000 (UTC) (envelope-from SRS0=MY_uw0=W2=webzone.net.au=andrewd@smtp.webzone.net.au) Received: from ppp121-45-117-111.lns11.adl6.internode.on.net ([121.45.117.111] helo=[192.168.202.99]) by smtp.webzone.net.au with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K6mCe-000F1a-1j for freebsd-stable@freebsd.org; Thu, 12 Jun 2008 22:16:56 +0930 Message-ID: <48511ABE.9040207@webzone.net.au> Date: Thu, 12 Jun 2008 22:16:54 +0930 From: Andrew D User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4846B64F.4090700@minibofh.org> <200806121118.45137.doconnor@gsoft.com.au> <48509419.6060206@pingle.org> <200806121445.30864.doconnor@gsoft.com.au> <485106B6.7050805@pingle.org> In-Reply-To: <485106B6.7050805@pingle.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AUTH-WEBZONE: andrewd@webzone.net.au successfully authed as username:andrewd Subject: Re: apachectl gracefult causes Signal 11 crash after 6.3 to 7.0 upgrade [SOLVED] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 12:57:43 -0000 Jim Pingle wrote: > Daniel O'Connor wrote: >> On Thu, 12 Jun 2008, Jim Pingle wrote: >>> I need to see if I can improve the script any (suggestions are most >>> welcome) then open a PR to see if it -- or logic like it -- can be >>> included in the php-extensions meta port. >> >> Adding the script to the port seems like the way to go (baring an >> upstream fix but it seems like a difficult problem to solve). >> >> Unfortunately it doesn't help me :( >> If I disable everything except either pgsql or mhash (either >> separately or together) Apache crashes with.. >> >> #0 0x28ad6d40 in ?? () >> #1 0x281c6f2e in _pthread_main_np () from /lib/libc.so.7 >> #2 0x2819fa0c in puts () from /lib/libc.so.7 >> #3 0x281a0177 in gethostbyname () from /lib/libc.so.7 >> #4 0x08069a12 in ap_get_local_host () >> #5 0x08068b9c in ap_fini_vhost_config () >> #6 0x0805639c in ap_read_config () >> #7 0x0805f133 in standalone_main () >> #8 0x08060c1f in main () >> >> I don't understand why gethostbyname() would call puts() - and why >> that would then crash! >> >> Seems like some threading related wrinkle though as pgsql & mhash are >> the only extensions I have that are linked to libthr.so >> > > I'm afraid I wouldn't be much help with this one in that case. I have a > vague recollection of gethostbyname() crashing for someone else, though. > I thought it had something to do with the ServerName directive and/or an > entry in /etc/hosts -- but unfortunately I don't recall the specifics > and my Google-fu seems to be failing me this morning. > I'm 99.5% sure that the ServerName Directive has to resolve. > Jim > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"