From owner-freebsd-isp@FreeBSD.ORG Mon Oct 13 11:05:08 2008 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E11E21065687 for ; Mon, 13 Oct 2008 11:05:08 +0000 (UTC) (envelope-from freebsd-isp@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9CFAE8FC24 for ; Mon, 13 Oct 2008 11:05:08 +0000 (UTC) (envelope-from freebsd-isp@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KpKlS-0007PJ-90 for freebsd-isp@freebsd.org; Mon, 13 Oct 2008 10:35:02 +0000 Received: from atel.k18.ch ([62.2.143.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2008 10:35:02 +0000 Received: from wolf by atel.k18.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2008 10:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-isp@freebsd.org From: Alain Wolf Date: Mon, 13 Oct 2008 09:49:09 +0200 Lines: 39 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: atel.k18.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080227 Lightning/0.8 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 X-Enigmail-Version: 0.95.7 OpenPGP: id=6CB1BC68 Sender: news Subject: Suhosin Segmentation Fault X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 11:05:09 -0000 After upgrading FreeBSD from 6.3-p3 to 6.3-p5 on our server, all websites just display a blank page and every HTTP request created a line as follows in the logs: child pid 80326 exit signal Segmentation fault (11) This same problem happened on another server a few months ago after the upgrade from 6.3-p3 to 6.3-p4, but after a rebuild of all FreeBSD ports all went back to normal. However several rebuilds of all ports did not solve the problem on this one. To narrow down the problem: After disabling the PHP module in Apache the problem disappears. Re-enabling PHP, but disabling the Suhosin extension also works fine. The trick found in this forum, to load the Suhosin extension before all other PHP extensions in /usr/local/etc/php/extensions.ini does not help. In fact not loading any extension at all except Suhosin creates the segfault errors. Commenting out our Suhosin settings in php.ini to load it with default values did not help. FreeBSD 6.3-RELEASE-p5 Apache 2.2.9 (DAV/2 mod_python/3.3.1 Python/2.5.2 SVN/1.5.2) PHP Version 5.2.6 Suhosin Patch 0.9.6.2 Suhosin PHP extension 0.9.27 All installed from the ports. PHP (cli) seems to run fine at all times when called from the command-line. Any suggestions? Thanks Alain Wolf, Zurich, Switzerland