From: Operating system: FreeBSD 7.2 PHP version: 5.3.3 Package: Unknown/Other Function Bug Type: Bug Bug description:core dump
Description: ------------ db4# php -m [PHP Modules] Core date ereg json libxml memcached pcre Reflection session SPL standard xml [Zend Modules] Segmentation fault (core dumped) The problem only occur when memcached extension is loaded. Actual result: -------------- db4# 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 "amd64-marcel-freebsd"... Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /usr/local/lib/libpcre.so.0...done. Loaded symbols for /usr/local/lib/libpcre.so.0 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000007b5647b0 in ?? () (gdb) bt #0 0x000000007b5647b0 in ?? () #1 0x000000007a74b7d5 in xmlFreeMutex () from /usr/local/lib/libxml2.so.5 #2 0x000000007a74b215 in xmlCleanupGlobals () from /usr/local/lib/libxml2.so.5 #3 0x000000007a6e3d3a in xmlCleanupParser () from /usr/local/lib/libxml2.so.5 #4 0x000000000045f338 in php_libxml_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/ext/libxml/libxml.c:583 #5 0x000000000045f823 in zm_shutdown_libxml (type=1, module_number=3) at /usr/ports/lang/php5/work/php-5.3.3/ext/libxml/libxml.c:655 #6 0x00000000005c6b26 in module_destructor (module=0x7af61270) at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend_API.c:2098 #7 0x00000000005ce1f4 in zend_hash_apply_deleter (ht=0x8b4460, p=0x7afbd4c0) at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend_hash.c:611 #8 0x00000000005ce35a in zend_hash_graceful_reverse_destroy (ht=0x8b4460) at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend_hash.c:646 #9 0x00000000005bc888 in zend_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend.c:759 #10 0x0000000000548aad in php_module_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/main/main.c:2138 #11 0x00000000006abff6 in main (argc=2, argv=0x7fffffffec68) at /usr/ports/lang/php5/work/php-5.3.3/sapi/cli/php_cli.c:1387 (gdb) frame 4 #4 0x000000000045f338 in php_libxml_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/ext/libxml/libxml.c:583 583 xmlCleanupParser(); (gdb) -- Edit bug report at http://bugs.php.net/bug.php?id=52792&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52792&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52792&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52792&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52792&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52792&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52792&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52792&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52792&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52792&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52792&r=support Expected behavior: http://bugs.php.net/fix.php?id=52792&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52792&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52792&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52792&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52792&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52792&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52792&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52792&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52792&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52792&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52792&r=mysqlcfg