From: bishal at baayu dot com dot np Operating system: FreeBSD 6.0 PHP version: 5.2.6 PHP Bug Type: Unknown/Other Function Bug description: php 5.2.6 crash after upggrading from 5.2.5
Description: ------------ I have updated php 5.2.5 to 5.2.6. Now my php crash with core dump. While running any php script it crash with segmentation fault core dump. Even querying version gave core dump. localhost# /usr/local/bin/php -v PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 30 2008 08:27:20) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault (core dumped) Below is the backtrace output: localhost# gdb /usr/local/bin/php php.core 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 "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/php/20060613/session.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/session.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x29920f54 in __do_global_dtors_aux () from /usr/local/lib/php/20060613/session.so #2 0x299277b8 in _fini () from /usr/local/lib/php/20060613/session.so #3 0x2824b018 in tls_dtv_generation () from /libexec/ld-elf.so.1 #4 0x2824c3d8 in ?? () from /libexec/ld-elf.so.1 #5 0xbfbfea48 in ?? () #6 0x28233076 in elf_hash () from /libexec/ld-elf.so.1 #7 0x28235958 in dlclose () from /libexec/ld-elf.so.1 #8 0x08137410 in zend_hash_apply_deleter () #9 0x081374ab in zend_hash_graceful_reverse_destroy () #10 0x0812d9a4 in zend_shutdown () #11 0x080f466f in php_module_shutdown () #12 0x081ab2b2 in main () Reproduce code: --------------- localhost# /usr/local/bin/php -v -- Edit bug report at http://bugs.php.net/?id=45397&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45397&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45397&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45397&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45397&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45397&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45397&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45397&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45397&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45397&r=support Expected behavior: http://bugs.php.net/fix.php?id=45397&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45397&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45397&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45397&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45397&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45397&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45397&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45397&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45397&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45397&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45397&r=mysqlcfg