From owner-freebsd-current@FreeBSD.ORG Wed Mar 31 13:15:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27C1A16A4CE for ; Wed, 31 Mar 2004 13:15:40 -0800 (PST) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id D5F5743D31 for ; Wed, 31 Mar 2004 13:15:39 -0800 (PST) (envelope-from noackjr@alumni.rice.edu) Received: from cmsapps01.cms.usa.net (165.212.11.136) by cmsoutbound.mx.net with SMTP; 31 Mar 2004 21:15:38 -0000 Received: from optimator.noacks.org [66.136.21.178] by cmsapps01.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 298icEVPj0229M36; Wed, 31 Mar 2004 21:15:35 GMT X-USANET-Auth: 66.136.21.178 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id CDABB610C; Wed, 31 Mar 2004 15:15:34 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46657-01; Wed, 31 Mar 2004 15:15:33 -0600 (CST) Received: from alumni.rice.edu (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 4324C6103; Wed, 31 Mar 2004 15:15:33 -0600 (CST) Message-ID: <406B34F4.1070108@alumni.rice.edu> Date: Wed, 31 Mar 2004 15:15:32 -0600 From: Jon Noack User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edwin Culp References: <20040330043830.scwgckcs8kcc0cws@mail.viviendaatualcance.com.mx> <40697C93.2070701@alumni.rice.edu> In-Reply-To: <40697C93.2070701@alumni.rice.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: current@freebsd.org Subject: Re: apache13 signal 11 with php4 - with or without ssl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 21:15:40 -0000 On 3/30/2004 7:56 AM, Jon Noack wrote: > On 3/30/2004 4:38 AM, Edwin Culp wrote: >> Good morning, >> >> With yesterday's current with all updated, mergemaster, >> portupgrade, openssl port removed and all dependent ports >> rebuilt (confirmed with libchk and ldd), apache13 >> immediately crashes when accessing libphp4.so. If I >> comment out the libphp4.so and mod_php4.c in httpd.conf, I >> can start apache and it seems more or less stable. It will >> not start (apachectl start) with php but strangely, if I >> start it, I can uncomment the php4 lines in httpd.conf and >> add a php4 site, run apachectl graceful and it doesn't >> crash immediately. If I try to add more php4 >> nameVirtualHosts it will crash even using graceful and to >> start it I have to repeat the strange process just to use >> my php4 email client. >> >> If anyone has seen this or has an idea, it would be >> appreciated. The only thing that I'm thinking is that >> maybe I shouldn't have removed the openssl port but after >> all the testing I am doubting it. > > Although I'm using apache2, I also had some crash issues with PHP 4.3.5. > Specifically, it segfaults on exit (graceful or otherwise). Although > the PHP folks have tagged it as Bogus, this bug describes exactly what I > am seeing (the backtrace is identical): > http://bugs.php.net/bug.php?id=27735 > > This is quite annoying, because among other things it breaks logfile > rotation -- the logfile gets rotated, but apache dies with these > messages in httpd-error.log: > [Tue Mar 30 06:44:48 2004] [notice] Graceful restart requested, doing > restart > [Tue Mar 30 06:44:48 2004] [notice] seg fault or similar nasty error > detected in the parent process > > Reverting to the PCRE bundled with PHP 4.3.4 (PCRE version 4.3) resolved > the problem for me (just replace the PHP 4.3.5 ext/pcre directory with > the one from PHP 4.3.4). Apparently the PHP issue is fixed in CVS: http://bugs.php.net/bug.php?id=27810 Jon