From owner-freebsd-ports@FreeBSD.ORG Tue Jun 28 18:36:44 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 24EE11065673; Tue, 28 Jun 2011 18:36:44 +0000 (UTC) (envelope-from attos.janus@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A12E98FC0C; Tue, 28 Jun 2011 18:36:43 +0000 (UTC) Received: by gyf3 with SMTP id 3so266913gyf.13 for ; Tue, 28 Jun 2011 11:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Mu/TYHypckFYy9GxfZWcEJJVU4SetGibXW8m+fC0aHk=; b=iY0KMvYdKtiNwzGNe1u9aGFVtvXdaPtnYfPPLEsFJSjxChi93SJsaKgc1/8jKzZMPx qjVUTOetlk3wSRUDWs0OaGXgCyvnxwByyj2ujPdsvsvAMaST7hoZG9GBRw7CShxa7yi5 3QBCRVBXPqnWAzcotPZ0UxIoIGY2KH4RaXEGU= MIME-Version: 1.0 Received: by 10.101.171.1 with SMTP id y1mr8794216ano.110.1309286202889; Tue, 28 Jun 2011 11:36:42 -0700 (PDT) Received: by 10.100.31.2 with HTTP; Tue, 28 Jun 2011 11:36:42 -0700 (PDT) In-Reply-To: <4E0A1D6E.1040903@FreeBSD.org> References: <4E0A1437.3070703@FreeBSD.org> <4E0A1910.7020104@FreeBSD.org> <4E0A1D6E.1040903@FreeBSD.org> Date: Tue, 28 Jun 2011 14:36:42 -0400 Message-ID: From: Attos To: ohauer@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Luiz Gustavo S. Costa" , Florian Smeets , freebsd-ports@freebsd.org, ale@freebsd.org Subject: Re: php5-5.3.6_1 with Segmentation fault (amd64) 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: Tue, 28 Jun 2011 18:36:44 -0000 Not an empty php.ini, but an empty /usr/local/etc/php/extensions.ini That's how I found about SQLite. Commented out all the extensions and the un-commented one-by-one. On Tue, Jun 28, 2011 at 2:29 PM, Olli Hauer wrote: > On 2011-06-28 20:10, Florian Smeets wrote: > > On 28.06.11 19:49, Olli Hauer wrote: > >> On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote: > >>> Hey list ! > >>> > >>> exist some trouble with php and amd64 ? (last php from ports) > >>> > >>> > >>> [root@gringo] ~# pkg_info | grep php5-5 > >>> php5-5.3.6_1 PHP Scripting Language > >>> [root@gringo] ~# php -v > >>> Segmentation fault > >>> [root@gringo] ~# php-fpm -h > >>> Segmentation fault > >>> [root@gringo] ~# which php-fpm > >>> /usr/local/sbin/php-fpm > >>> [root@gringo] ~# file /usr/local/sbin/php-fpm > >>> /usr/local/sbin/php-fpm: ELF 64-bit LSB executable, x86-64, version 1 > >>> (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.2, not > >>> stripped > >>> [root@gringo] ~# uname -a > >>> FreeBSD gringo.mundounix.com.br 8.2-RELEASE FreeBSD 8.2-RELEASE #0: > >>> Thu Feb 17 02:41:51 UTC 2011 > >>> root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > >>> > >> > >> Please try this script > >> http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh > >> > > > > Does anybody know any details about why it starts dumping cores when the > order > > is wrong? I've been running into this for years, first with apache and > mod_php > > later with php-fpm. > > No not really, during my research I found notes about this issue for all > platforms > (BSD/Linux/Solaris ...) > > I guess in his case it's even a third party module, but we don't know since > the > php.ini was not provided. Maybe he can follow the last instruction in the > script > and fire up gdb. > > I suggest he tries what Attos suggest (without sqlite) or by starting with > an empty > php.ini and add module by module manually. > > > > > > It would be really great if we could get this fixed. I know the script > and it > > fixes the problem most of the time, but that's IMHO not a real solution. > > > > Cheers, > > Florian > > > _______________________________________________ > 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" > -- Attos Janus