Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 11:11:22 +0100
From:      =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= <freebsd-ports@pp.dyndns.biz>
To:        James Chang <james.technew@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: PHP 5.2.11_1 core dump under FreeBSD 7.2-STABLE (with gdb info)
Message-ID:  <4B348FCA.6020106@pp.dyndns.biz>
In-Reply-To: <a951c2910912250155n344e89c3wc4187486ee61786e@mail.gmail.com>
References:  <a951c2910912250155n344e89c3wc4187486ee61786e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B348FCA.6020106>