From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 05:55:59 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 8B35516A4CF for ; Tue, 30 Mar 2004 05:55:59 -0800 (PST) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 23B0843D1F for ; Tue, 30 Mar 2004 05:55:59 -0800 (PST) (envelope-from noackjr@alumni.rice.edu) Received: from cmsapps02.cms.usa.net (165.212.11.138) by cmsoutbound.mx.net with SMTP; 30 Mar 2004 13:55:58 -0000 Received: from optimator.noacks.org [66.136.21.178] by cmsapps02.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 036icdN450281M38; Tue, 30 Mar 2004 13:55:55 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 EFCBA611A; Tue, 30 Mar 2004 07:55:54 -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 61309-06; Tue, 30 Mar 2004 07:55:53 -0600 (CST) Received: from alumni.rice.edu (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 550F36103; Tue, 30 Mar 2004 07:55:53 -0600 (CST) Message-ID: <40697C93.2070701@alumni.rice.edu> Date: Tue, 30 Mar 2004 07:56:35 -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> In-Reply-To: <20040330043830.scwgckcs8kcc0cws@mail.viviendaatualcance.com.mx> 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: Tue, 30 Mar 2004 13:55:59 -0000 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). Jon Noack