From:             
Operating system: FreeBSD 7.2-RELEASE
PHP version:      Irrelevant
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:Installing PECL extensions Memcached causes segfault.

Description:
------------
After installing and enabling memcached.so extension (pecl install
mecached), php segfaults on any action (e.g. php -m or php -v):



[r...@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 bug report at http://bugs.php.net/bug.php?id=51753&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51753&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51753&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51753&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51753&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51753&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51753&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51753&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51753&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51753&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51753&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51753&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51753&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51753&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51753&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51753&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51753&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51753&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51753&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51753&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51753&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51753&r=mysqlcfg

Reply via email to