From owner-freebsd-questions@FreeBSD.ORG Sat Oct 6 06:48:46 2007 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 B0E3C16A418 for ; Sat, 6 Oct 2007 06:48:46 +0000 (UTC) (envelope-from rsecor@seqlogic.com) Received: from dns2.seqlogic.net (dns2.seqlogic.net [67.90.0.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8B19A13C457 for ; Sat, 6 Oct 2007 06:48:46 +0000 (UTC) (envelope-from rsecor@seqlogic.com) Received: from [10.0.1.146] (ip-67-90-0-254.seqlogic.net [67.90.0.254]) by dns2.seqlogic.net (Postfix) with ESMTP id AE5B02B7DE6 for ; Wed, 3 Oct 2007 12:54:55 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Richard Secor Date: Wed, 3 Oct 2007 12:54:54 -0400 X-Mailer: Apple Mail (2.752.3) Subject: Problem with PHP cli core dumping (SOLVED) 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: Sat, 06 Oct 2007 06:48:46 -0000 On Wed, 26 Sep 2007, Mel wrote: >> On Tuesday 25 September 2007 18:50:39 Derrick wrote: >>> On Tue, 25 Sep 2007, Eric wrote: >>>> Derrick wrote: >>>>> so it's sessions.so >>>>> I've tried rebuilding it, but still has the same issue. >>>> >>> >> Move session to indicated spot, then try php -v again. If it still coredumps, >> move above spl. If it still coredumps, move it up one spot and rerun, till it >> stops coredumping. >> >> The bug is in the general extension destructor and changing the order till it >> works is the only remedy. > >Thanks to all those that input some output. > >I moved extension=session.so to the start of the file after trying the >first couple suggestions, and all is working now.. > I had this problem, however, after changing the file around I'm still getting core dumps. I find that this happens whenever I upgrade from the port :( Anyway, it seems I'm getting the dumps from spl.so (it's fine if I comment it and anything that depends on it). I've tried putting it in every line of the extension file but it still dumps out. I've tried completely rebuilding all of php and all associated extensions, still dumps out. Any ideas? (Please respond back to me directly as I am not subscribed to the list - thanks.) Thanks, Rich