#30676 [NEW]: Segmentation fault with "mm",PHP works fine with "files"

From: Date: Wed, 03 Nov 2004 17:27:10 +0000
Subject: #30676 [NEW]: Segmentation fault with "mm",PHP works fine with "files"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68660@lists.php.net to get a copy of this message
From: joe dot maldonado at gmail dot com Operating system: RH9.0 PHP version: 4.3.9 PHP Bug Type: Reproducible crash Bug description: Segmentation fault with "mm",PHP works fine with "files" Description: ------------ From time to time the Apache child will terminate on a segmentation fault (11) and after some time the webserver needs to be restarted. This started happening when I changed to using mm version 1.3.1. It stopped happening when the save_handler was changed to files current config: PHP 4.3.9/Apache 2.0.51 with mm v 1.3.1. Actual result: -------------- bt from core file: (gdb) bt #0 ps_mm_destroy (data=0x825d060) at /root/src/apache/php-4.3.9/ext/session/mod_mm.c:243 #1 0x1839cea9 in zm_shutdown_ps_mm (type=1, module_number=5) at /root/src/apache/php-4.3.9/ext/session/mod_mm.c:295 #2 0x1839be98 in zm_shutdown_session (type=1, module_number=5) at /root/src/apache/php-4.3.9/ext/session/session.c:1665 #3 0x18433659 in module_destructor (module=0x82684b0) at /root/src/apache/php-4.3.9/Zend/zend_API.c:1125 #4 0x1843565c in zend_hash_apply_deleter (ht=0x1860abe0, p=0x8268480) at /root/src/apache/php-4.3.9/Zend/zend_hash.c:611 #5 0x184356ea in zend_hash_graceful_reverse_destroy (ht=0x1860abe0) at /root/src/apache/php-4.3.9/Zend/zend_hash.c:677 #6 0x18430b7d in zend_shutdown () at /root/src/apache/php-4.3.9/Zend/zend.c:556 #7 0x1840a9c7 in php_module_shutdown () at /root/src/apache/php-4.3.9/main/main.c:1286 #8 0x1840a98e in php_module_shutdown_wrapper (sapi_globals=0x185ef520) at /root/src/apache/php-4.3.9/main/main.c:1263 #9 0x184421b8 in php_apache_server_shutdown (tmp=0x0) at /root/src/apache/php-4.3.9/sapi/apache2handler/sapi_apache2.c:328 #10 0x18106af9 in run_cleanups (cref=0x8190ee8) at apr_pools.c:1951 #11 0x18106353 in apr_pool_destroy (pool=0x8190ed8) at apr_pools.c:730 #12 0x1810641f in apr_pool_destroy (pool=0x818eed0) at apr_pools.c:727 #13 0x080b2ca8 in destroy_and_exit_process (process=0x185ef520, process_exit_value=0) at main.c:208 #14 0x080b3614 in main (argc=4, argv=0xbfffdc84) at main.c:624 #15 0x181e85cd in __libc_start_main () from /lib/libc.so.6 (gdb) -- Edit bug report at http://bugs.php.net/?id=30676&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30676&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30676&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30676&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30676&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30676&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30676&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30676&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30676&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30676&r=support Expected behavior: http://bugs.php.net/fix.php?id=30676&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30676&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30676&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30676&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30676&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30676&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30676&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30676&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30676&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30676&r=mysqlcfg

« previous php.bugs (#68660) next »