From owner-freebsd-ports@FreeBSD.ORG Thu Sep 29 21:51:33 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7402D1065679 for ; Thu, 29 Sep 2011 21:51:33 +0000 (UTC) (envelope-from mark@foster.cc) Received: from mail.foster.cc (durango.foster.cc [208.75.57.131]) by mx1.freebsd.org (Postfix) with ESMTP id 583638FC12 for ; Thu, 29 Sep 2011 21:51:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.foster.cc (Postfix) with ESMTP id C62F05315A for ; Thu, 29 Sep 2011 14:33:15 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at mail.foster.cc Received: from mail.foster.cc ([127.0.0.1]) by localhost (smtp.foster.cc [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SVFCarUyjc-w for ; Thu, 29 Sep 2011 14:33:09 -0700 (PDT) Received: from sushi.foster.dmz (c-67-185-137-60.hsd1.wa.comcast.net [67.185.137.60]) by mail.foster.cc (Postfix) with ESMTPSA id CC7D353159 for ; Thu, 29 Sep 2011 14:33:09 -0700 (PDT) Message-ID: <4E84E414.9050505@foster.cc> Date: Thu, 29 Sep 2011 14:33:08 -0700 From: Mark Foster User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4E84AAF6.4040902@elasticmind.net> In-Reply-To: <4E84AAF6.4040902@elasticmind.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: PHP segmentation faults X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 21:51:33 -0000 Try using xdebug (another php module) it will produce a stack trace when it segfaults. On 09/29/2011 10:29 AM, Moggie wrote: > Hi, > > Unfortunately, for some time now, PHP scripts have been producing > segmentation faults when executed on one of our systems :( > > Various posts found via google suggested reinstalling all the PHP ports > and/or using a script to re-order the PHP extension modules, but all so > far without success. > > The output of php -m is as follows: > > [PHP Modules] > apc > bz2 > Core > ctype > date > dom > ereg > filter > gd > hash > iconv > json > libxml > mbstring > mcrypt > mhash > mysql > mysqli > mysqlnd > openssl > pcre > PDO > pdo_mysql > pdo_sqlite > posix > Reflection > session > SimpleXML > snmp > sockets > SPL > sqlite3 > standard > tokenizer > xml > zip > zlib > > > I'm using this simple test to reproduce the problem: > > /tmp/test.php > Print "Hello, World!"; > ?> > > > /usr/local/bin/php /tmp/test.php > Hello, World!Segmentation fault (core dumped) > > > All this makes me sad, especially since my Cacti graphs aren't being > updated any more :( Any help or advise on how I might go about resolving > this please would be very much appreciated. Thank you in advance for > your time and consideration. > > Kind regards, > moggie > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Mark D. Foster http://mark.foster.cc/