From:             alan+php at mizrahi dot com dot ve
Operating system: Linux
PHP version:      5.1.6
PHP Bug Type:     Reproducible crash
Bug description:  segmentation fault when using mm

Description:
------------
PHP segfaults sporadically when built with mm.
I am using apache-2.2.3, php-5.1.6 and libmm-1.4.0.

Actual result:
--------------
This is what gdb shows:

Core was generated by `/usr/sbin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
#0  zm_shutdown_ps_mm (type=1, module_number=20)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/ext/session/mod_mm.c:243
243    
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/ext/session/mod_mm.c:

No such file or directory.
        
in
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/ext/session/mod_mm.c
(gdb) bt
#0  zm_shutdown_ps_mm (type=1, module_number=20)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/ext/session/mod_mm.c:243
#1  0xb73e0dab in zm_shutdown_session (type=512, 
module_number=20)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/ext/session/session.c:1869
#2  0xb7570b6e in module_destructor (module=0x81a2388)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/Zend/zend_API.c:1811
#3  0xb75787a7 in zend_hash_apply_deleter (ht=0xb7929a00, 
p=0x81a2358)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/Zend/zend_hash.c:576
#4  0xb75789b7 in zend_hash_graceful_reverse_destroy 
(ht=0xb7929a00)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/Zend/zend_hash.c:642
#5  0xb756d4ae in zend_shutdown ()
    
at /usr/ports/work/mod_php_complete_debug/src/php-5.1.5/Zend/zend.c:728
#6  0xb752a71f in php_module_shutdown ()
    
at /usr/ports/work/mod_php_complete_debug/src/php-5.1.5/main/main.c:1618
#7  0xb752a7bb in php_module_shutdown_wrapper 
(sapi_globals=0xb7909900)
    
at /usr/ports/work/mod_php_complete_debug/src/php-5.1.5/main/main.c:1589
#8  0xb7611013 in php_apache_server_shutdown (tmp=0x0)
    
at
/usr/ports/work/mod_php_complete_debug/src/php-5.1.5/sapi/apache2handler/sapi_apache2.c:332
#9  0xb7b2e16d in run_cleanups (cref=0x809e0b8) at 
memory/unix/apr_pools.c:2034
#10 0xb7b2ecdd in apr_pool_destroy (pool=0x809e0a8) at 
memory/unix/apr_pools.c:727
#11 0xb7b2ecc8 in apr_pool_destroy (pool=0x809c0a0) at 
memory/unix/apr_pools.c:724
#12 0x08061493 in destroy_and_exit_process (process=<value 
optimized out>,
    process_exit_value=-1796453902) at main.c:259
#13 0x080621a8 in main (argc=3, argv=0xbf837e94) at 
main.c:724


-- 
Edit bug report at http://bugs.php.net/?id=38688&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38688&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38688&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38688&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38688&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38688&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38688&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38688&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38688&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38688&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38688&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38688&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38688&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38688&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38688&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38688&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38688&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38688&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38688&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38688&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38688&r=mysqlcfg

Reply via email to