Bug #52792 [Bgs]: core dump
| From: | andrei@php.net | Date: | Wed, 08 Sep 2010 18:03:51 +0000 |
| Subject: | Bug #52792 [Bgs]: core dump | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154190@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52792&edit=1
ID: 52792
Updated by: andrei@php.net
Reported by: ken73 dot chen at gmail dot com
Summary: core dump
Status: Bogus
Type: Bug
Package: Unknown/Other Function
Operating System: FreeBSD 7.2
PHP Version: 5.3.3
Block user comment: N
New Comment:
What version of memcached extension is it? I'm not sure what I can do at
this
point, because libxml + memcached works normally for me (and does for
other
people) and I don't have a FreeBSD machine to debug this on.
Previous Comments:
------------------------------------------------------------------------
[2010-09-07 11:41:21] ken73 dot chen at gmail dot com
I have done, but developers thinks the problem is on libxml2.
developers
http://pecl.php.net/bugs/bug.php?id=18509
------------------------------------------------------------------------
[2010-09-07 11:33:21] pajoye@php.net
Report the issue to the memcached developers at PECL
------------------------------------------------------------------------
[2010-09-07 11:25:31] ken73 dot chen at gmail dot com
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 this bug report at http://bugs.php.net/bug.php?id=52792&edit=1