From owner-freebsd-ports@FreeBSD.ORG  Thu Apr  1 18:55:41 2004
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B521216A4CE
	for <freebsd-ports@freebsd.org>; Thu,  1 Apr 2004 18:55:41 -0800 (PST)
Received: from house.arach.net.au (house2.arach.net.au [203.30.44.85])
	by mx1.FreeBSD.org (Postfix) with SMTP id 627DA43D39
	for <freebsd-ports@freebsd.org>; Thu,  1 Apr 2004 18:55:38 -0800 (PST)
	(envelope-from paul.reece@atlare.com.au)
Received: (qmail 26938 invoked from network); 2 Apr 2004 02:55:36 -0000
Received: from unknown (HELO agent-57.fastlane.net.au) (203.15.140.45)
  by house2.arach.net.au with SMTP
  for <freebsd-ports@freebsd.org>; 2 Apr 2004 02:55:36 -0000
Received: from penfold (penfold [192.168.2.4])i322qVQk024840
	for <freebsd-ports@freebsd.org>; Fri, 2 Apr 2004 10:52:39 +0800 (WST)
	(envelope-from paul.reece@atlare.com.au)
From: "Paul Reece" <paul.reece@atlare.com.au>
To: <freebsd-ports@freebsd.org>
Date: Fri, 2 Apr 2004 10:53:49 +0800
Organization: Atlare Pty Ltd
Message-ID: <000001c4185d$bd91ca50$0402a8c0@penfold>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.6626
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: apache2 and php4.3.5 - segfault
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Apr 2004 02:55:41 -0000


Hi,

I'm having a few problems with Apache2.0.49 and PHP 4.3.5 - I've done a
fresh install of both under FreeBSD 4.9-STABLE, but whenever I have PHP
loaded, any signal sent to Apache2 (eg for a restart) results in the main
Apache2 process segfaulting.. eg:

[Fri Apr 02 10:33:27 2004] [notice] suEXEC mechanism enabled (wrapper:
/usr/local/sbin/suexec)
[Fri Apr 02 10:33:29 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
mod_jk/1.2.5 mod_ssl/2.0.49 OpenSSL/0.9.7c configured -- resuming normal
operations
[Fri Apr 02 10:33:44 2004] [notice] SIGUSR1 received.  Doing graceful
restart
[Fri Apr 02 10:33:44 2004] [notice] seg fault or similar nasty error
detected in the parent process

If I simply remove PHP from the Apache configuration (ie, dont load the
module), the above no longer occurs.

I've tried with both the prefork and worker MPM's without any change in
behavior - I've also reproduced this on a second machine, also running
FreeBSD 4.9-STABLE (no mod_jk on that machine).

Anyone else seeing the above or know a solution?


Regards,
Paul.