From owner-freebsd-ports@FreeBSD.ORG Fri Dec 25 09:55:45 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 4FE1F106566B for ; Fri, 25 Dec 2009 09:55:45 +0000 (UTC) (envelope-from james.technew@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id 29DAA8FC16 for ; Fri, 25 Dec 2009 09:55:44 +0000 (UTC) Received: by pxi28 with SMTP id 28so5830056pxi.7 for ; Fri, 25 Dec 2009 01:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Av4X4hRu9aHsaC2abp/cSIBMKExp0Bgpig97cioKBzI=; b=YBfgqOT0V2hUpgHGSjjFGZhs40WaT4bD3qTJVtO+/ykT2KVm3J5814nSk2wFi1FB0K oI3606+8tjgI/gh9DsJKO5XOFaLz1snMgmNinl/tgmi1qgmmc1jWZsG9qEl9jYMtlLU8 eL57+/cc0yM4IKUF5ARE+TnoCHuNsyOpX1k+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qv5GxHwbPSL+Svin7N6SX/03dy1iJreXUKxYb5jb8IQjOwXyMftzruZeyidlb5p5Fv Uesfkz2b/iJlNSJIubu+F7jSsEP/bghH3OOmXvcexZbUTUTrbM5DXk3GLhMhdlMJcKKM KkhGbco1lH5yyQWjekK0lUzLmHSpr1dwJ3z2A= MIME-Version: 1.0 Received: by 10.114.186.29 with SMTP id j29mr7907733waf.4.1261734944408; Fri, 25 Dec 2009 01:55:44 -0800 (PST) Date: Fri, 25 Dec 2009 17:55:44 +0800 Message-ID: From: James Chang To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 09:55:45 -0000 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!