From owner-freebsd-ports@FreeBSD.ORG Fri Dec 25 10:32:13 2009 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 2504B1065679 for ; Fri, 25 Dec 2009 10:32:13 +0000 (UTC) (envelope-from freebsd-ports@pp.dyndns.biz) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id BBDD18FC2B for ; Fri, 25 Dec 2009 10:32:12 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001F9BC30 for freebsd-ports@freebsd.org; Fri, 25 Dec 2009 11:11:25 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AudhAL8eNEtV4js3PGdsb2JhbACBSpdEgkMBAQEBN4hGsUuEMwSBZYQE X-IronPort-AV: E=Sophos;i="4.47,453,1257116400"; d="scan'208";a="19948861" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb2.telenor.se with ESMTP; 25 Dec 2009 11:11:25 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id nBPABMKB064372; Fri, 25 Dec 2009 11:11:23 +0100 (CET) (envelope-from freebsd-ports@pp.dyndns.biz) Message-ID: <4B348FCA.6020106@pp.dyndns.biz> Date: Fri, 25 Dec 2009 11:11:22 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: James Chang References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: PHP 5.2.11_1 core dump under FreeBSD 7.2-STABLE (with gdb info) 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: Fri, 25 Dec 2009 10:32:13 -0000 A bug has been filed here: http://www.freebsd.org/cgi/query-pr.cgi?pr=141226 It also describes the workaround first discussed here: http://forums.freebsd.org/showthread.php?t=8965 /Morgan James Chang wrote: > Dears, > > I upgrade my FreeBSD Box to 7.2-STABLE today and us portupgrade to > upgrade installed ports. > When everything done, php was broken :< > > When I run 'php -m' it will show me core dump message, following > are my system info and error messages: > > 1.uname -a > FreeBSD db1.books.com.tw 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Dec 24 > 13:38:12 CST 2009 root@web.test.com:/usr/obj/usr/src/sys/GENERIC > amd64 > > 2.php -m > [PHP Modules] > bcmath > bz2 > calendar > ctype > curl > date > dom > exif > fileinfo > filter > fribidi > ftp > gd > gettext > gmp > hash > iconv > json > ldap > libxml > mbstring > mcrypt > mhash > ming > mysql > mysqli > ncurses > odbc > openssl > pcntl > pcre > pdf > PDO > pdo_sqlite > posix > pspell > readline > recode > Reflection > session > shmop > SimpleXML > snmp > soap > sockets > SPL > SQLite > standard > sysvmsg > sysvsem > sysvshm > tidy > tokenizer > wddx > xml > xmlreader > xmlrpc > xmlwriter > xsl > yaz > zip > zlib > > [Zend Modules] > > Segmentation fault > > 3.php -v > PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Dec 25 2009 07:12:09) (DEBUG) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies > Segmentation fault > > 4.gdb info, sorry my gdb skill is very poor :< > <-root->gdb -e /usr/local/bin/php > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd". > (gdb) set args -v > (gdb) run > Starting program: /usr/local/bin/php -v > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...[New LWP > 100103] > [New Thread 0x8013c30b0 (LWP 100103)] > PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Dec 25 2009 07:12:09) (DEBUG) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies > [New LWP 100103] > suspend error: generic error > [Switching to LWP 100103] > Stopped due to shared library event > (gdb) set args -m > (gdb) run > The program being debugged has been started already. > Start it from the beginning? (y or n) n > Program not restarted. > (gdb) run > The program being debugged has been started already. > Start it from the beginning? (y or n) y > Starting program: /usr/local/bin/php -m > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...[New LWP > 100105] > [New Thread 0x8013c30b0 (LWP 100105)] > [PHP Modules] > bcmath > bz2 > calendar > ctype > curl > date > dom > exif > fileinfo > filter > fribidi > ftp > gd > gettext > gmp > hash > iconv > json > ldap > libxml > mbstring > mcrypt > mhash > ming > mysql > mysqli > ncurses > odbc > openssl > pcntl > pcre > pdf > PDO > pdo_sqlite > posix > pspell > readline > recode > Reflection > session > shmop > SimpleXML > snmp > soap > sockets > SPL > SQLite > standard > sysvmsg > sysvsem > sysvshm > tidy > tokenizer > wddx > xml > xmlreader > xmlrpc > xmlwriter > xsl > yaz > zip > zlib > > [Zend Modules] > > [New LWP 100105] > suspend error: generic error > [Switching to LWP 100105] > Stopped due to shared library event > > Best Regards! > _______________________________________________ > 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" >