From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 06:04:42 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 1542A16A4CE for ; Tue, 30 Mar 2004 06:04:42 -0800 (PST) Received: from viviendaatualcance.com.mx (dsl-200-78-18-163.prod-infinitum.com.mx [200.78.18.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 847F943D46 for ; Tue, 30 Mar 2004 06:04:41 -0800 (PST) (envelope-from eculp@viviendaatualcance.com.mx) Received: from localhost (localhost [127.0.0.1]) (uid 80) by viviendaatualcance.com.mx with local; Tue, 30 Mar 2004 08:04:40 -0600 Received: from dsl-200-78-18-163.prod-infinitum.com.mx (dsl-200-78-18-163.prod-infinitum.com.mx [200.78.18.163]) by mail.viviendaatualcance.com.mx (Horde) with HTTP for ; Tue, 30 Mar 2004 08:04:40 -0600 Message-ID: <20040330080440.wp0k8084ko0cwgsg@mail.viviendaatualcance.com.mx> Date: Tue, 30 Mar 2004 08:04:40 -0600 From: Edwin Culp To: noackjr@alumni.rice.edu References: <20040330043830.scwgckcs8kcc0cws@mail.viviendaatualcance.com.mx> <40697C93.2070701@alumni.rice.edu> In-Reply-To: <40697C93.2070701@alumni.rice.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-EnContacto.net: Edwin Culp celular Mexico 001 228 824 5542 WorldInternet.ORG X-WorldInternet.org: Edwin Culp Te mantiene, siempre, EnContacto. X-Mailman-Approved-At: Wed, 31 Mar 2004 04:37:13 -0800 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 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 14:04:42 -0000 Quoting Jon Noack : > 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). Going to try that, right now. I'll let you and the list know. Thanks, ed > > Jon Noack