Bug #51753 [Com]: Installing PECL extensions Memcached causes segfault.
| From: | sa at nkvdteam dot ru | Date: | Thu, 06 May 2010 07:30:38 +0000 |
| Subject: | Bug #51753 [Com]: Installing PECL extensions Memcached causes segfault. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150218@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51753&edit=1
ID: 51753
Comment by: sa at nkvdteam dot ru
Reported by: sa at nkvdteam dot ru
Summary: Installing PECL extensions Memcached causes segfault.
Status: Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: FreeBSD 7.2-RELEASE
PHP Version: Irrelevant
New Comment:
No.
Solution found and patch proposed. Do I need send it to FreeBSD team, or
only in this bug?
Previous Comments:
------------------------------------------------------------------------
[2010-05-06 09:24:14] pajoye@php.net
Does it crash without memcached?
------------------------------------------------------------------------
[2010-05-06 09:16:52] sa at nkvdteam dot ru
Description:
------------
After installing and enabling memcached.so extension (pecl install
mecached), php segfaults on any action (e.g. php -m or php -v):
[root@node ~]# php -v
PHP 5.3.2 (cli) (built: May 5 2010 20:03:50) (DEBUG)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Segmentation fault: 11 (core dumped)
Disabling all other modules (excl. memcached and session), recompiling
php and libxml2, reinstalling memcached.so does not fixes it.
Actual result:
--------------
Backtrace:
(gdb) bt
#0 0x00000008052a4840 in ?? ()
#1 0x0000000800e7e754 in xmlIsMainThread () from
/usr/local/lib/libxml2.so.5
#2 0x0000000800e7ddb9 in __xmlLastError () from
/usr/local/lib/libxml2.so.5
#3 0x0000000800e10d89 in xmlResetLastError () from
/usr/local/lib/libxml2.so.5
#4 0x0000000800e179cf in xmlCleanupParser () from
/usr/local/lib/libxml2.so.5
#5 0x0000000000460078 in php_libxml_shutdown () at
/usr/ports/lang/php5/work/php-5.3.2/ext/libxml/libxml.c:583
#6 0x0000000000460593 in zm_shutdown_libxml (type=1, module_number=3)
at /usr/ports/lang/php5/work/php-5.3.2/ext/libxml/libxml.c:655
#7 0x00000000005d4906 in module_destructor (module=0x801661270) at
/usr/ports/lang/php5/work/php-5.3.2/Zend/zend_API.c:2098
#8 0x00000000005dc490 in zend_hash_apply_deleter (ht=0x8bc2e0,
p=0x8016c96a0) at
/usr/ports/lang/php5/work/php-5.3.2/Zend/zend_hash.c:611
#9 0x00000000005dc60c in zend_hash_graceful_reverse_destroy
(ht=0x8bc2e0) at
/usr/ports/lang/php5/work/php-5.3.2/Zend/zend_hash.c:646
#10 0x00000000005ca043 in zend_shutdown () at
/usr/ports/lang/php5/work/php-5.3.2/Zend/zend.c:759
#11 0x000000000054c9dd in php_module_shutdown () at
/usr/ports/lang/php5/work/php-5.3.2/main/main.c:2138
#12 0x00000000006bf4f6 in main (argc=2, argv=0x7fffffffecb8) at
/usr/ports/lang/php5/work/php-5.3.2/sapi/cli/php_cli.c:1387
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51753&edit=1