From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 00:08:21 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 3490816A41B for ; Wed, 20 Feb 2008 00:08:21 +0000 (UTC) (envelope-from lauasanf@wilderness.homeip.net) Received: from que03.charter.net (que03.charter.net [209.225.8.191]) by mx1.freebsd.org (Postfix) with ESMTP id C274A13C45A for ; Wed, 20 Feb 2008 00:08:20 +0000 (UTC) (envelope-from lauasanf@wilderness.homeip.net) Received: from aarprv04.charter.net ([10.20.200.74]) by mta12.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080219232314.CMT22287.mta12.charter.net@aarprv04.charter.net>; Tue, 19 Feb 2008 18:23:14 -0500 Received: from angel.cotharyus.net ([71.87.188.55]) by aarprv04.charter.net with ESMTP id <20080219232314.MWJG17353.aarprv04.charter.net@angel.cotharyus.net>; Tue, 19 Feb 2008 18:23:14 -0500 Message-ID: <47BB64E1.3060405@wilderness.homeip.net> Date: Tue, 19 Feb 2008 17:23:13 -0600 From: Drew Sanford User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Peter References: <1928.63.65.46.186.1203460187.squirrel@webmail.pknet.net> In-Reply-To: <1928.63.65.46.186.1203460187.squirrel@webmail.pknet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: freebsd-questions@freebsd.org Subject: Re: PHP cli segfaults 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, 20 Feb 2008 00:08:21 -0000 Peter wrote: >> Drew Sanford wrote: >> | Command line programs for php seem to segfault on a 7.0RC1 box (yes, I >> | know, I should update to RC2) - for example: >> | >> | root@colossus(~/bin)$ php -v >> | PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 9 2008 13:03:20) >> | Copyright (c) 1997-2007 The PHP Group >> | Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies >> | zsh: segmentation fault (core dumped) php -v >> | >> | Any pointers? Just update and see if that fixes it? Thanks in advance. >> | >> | >> | uname output: >> | FreeBSD colossus.cotharyus.net 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Feb 9 >> | 11:43:37 CST 2008 >> > > Getting same thing, fresh install of 7.0 [cvsupped to rc2?], latest or > not latest portsnap, I found it was the 'mhash.so' extension that was > causing php to segfault - did portsnap update, and rebuilt all php > stuff, still does same thing - have not tried it for last several weeks, > so could be fixed by now...I did cvsup to latest sources... > my emails were subjected "apache coredump with 'mhash' php extension > enabled" - with mhash disabled, php works fine now. Will try and > buildworld/reinstall php with the latest 7 sometime soon. > > ]Peter[ > > Good find Peter, I've got exactly the same system config at this point, and disabling mhash fixed it as well.