From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 17:51:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B7921065698 for ; Wed, 15 Oct 2008 17:51:52 +0000 (UTC) (envelope-from wolf@k18.ch) Received: from mail.k18.ch (mail.k18.ch [62.2.143.37]) by mx1.freebsd.org (Postfix) with ESMTP id 6331D8FC17 for ; Wed, 15 Oct 2008 17:51:50 +0000 (UTC) (envelope-from wolf@k18.ch) Received: (qmail 13355 invoked from network); 15 Oct 2008 17:25:34 -0000 Received: (simscan 1.3.1 ppid 13349 pid 13352 t 0.0606s) (scanners: attach: 1.3.1 clamav: 0.94/m:46/d:6806); 15 Oct 0108 17:25:34 -0000 Received: from vpn-2.atel.k18.ch (HELO [172.16.10.202]) (Authenticated_MSA:wolf@[172.16.10.202]) (envelope-sender ) by mail.k18.ch (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 15 Oct 2008 17:25:34 -0000 Message-ID: <48F62774.2060609@k18.ch> Date: Wed, 15 Oct 2008 19:25:08 +0200 From: Alain Wolf 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 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 OpenPGP: id=6CB1BC68 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Fwd: Suhosin Segmentation Fault] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 17:51:52 -0000 Not much return on freebsd-isp. I try again here on freebsd-questions. -------- Original-Nachricht -------- Betreff: Suhosin Segmentation Fault Datum: Mon, 13 Oct 2008 09:49:09 +0200 Von: Alain Wolf An: freebsd-isp@freebsd.org Newsgruppen: gmane.os.freebsd.isp 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