|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-29 06:16 UTC] php at garnould dot com
Hi there, I have a strange problem : when my apache childs are exiting, they crashs in a very strange way. --- 8< --- ./configure --prefix=/usr/local/php --with-apache=[1.2.26] --with-mysql=/usr/local/mysql --enable-memory-limit=yes --enable-debug=no --with-gettext=[path_to_gettext] --with-imap=[imap-2002.RC6] --with-xml --with-mcrypt=[2.5.3] --with-mm=[1.2.1] --- 8< --- First, the behaviour is the same with mm-1.1.3 ... My PHP is using mm as sessions handler (session.save_handler = mm) but the gdb back trace is _VERY_ strange : (gdb) bt #0 0x80e5100 in ps_gc_files () #1 0x80e5286 in zm_shutdown_ps_mm () #2 0x81425bf in module_destructor () #3 0x8143ae9 in zend_hash_destroy () #4 0x81400bc in zend_shutdown () #5 0x80bfbe7 in php_module_shutdown () #6 0x80bfbc8 in php_module_shutdown_wrapper () #7 0x80bdd60 in php_xbithack_handler () #8 0x815f8ce in ap_run_cleanup () #9 0x815dfb4 in ap_clear_pool () #10 0x815e029 in ap_destroy_pool () #11 0x815df8c in ap_clear_pool () #12 0x815e029 in ap_destroy_pool () #13 0x816cac2 in ap_exists_scoreboard_image () #14 0x816f793 in ap_child_terminate () #15 0x816fc93 in main () #16 0x400d99cb in __libc_start_main () at hash/hash_rec.c:724 #1 is sayung that zm_shutdown_ps_mm is being called, which is normal, but #0 says that zm_shutdown_ps_mm calls ps_gc_files, and this is not normal : ps_gc_files is a "files sessions" handler and not a mm handler ... Any idea ? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 19:00:01 2025 UTC |
I tested the php4-200209300600 snap. I still have apache segfaulting : #0 ps_mm_destroy (data=0x83f26a8) at /space/build/apache/php4-200209300600/ext/session/mod_mm.c:241 241 next = sd->next; (gdb) bt #0 ps_mm_destroy (data=0x83f26a8) at /space/build/apache/php4-200209300600/ext/session/mod_mm.c:241 #1 0x8135606 in zm_shutdown_ps_mm (type=1, module_number=18) at /space/build/apache/php4-200209300600/ext/session/mod_mm.c:293 #2 0x81348c4 in zm_shutdown_session (type=1, module_number=18) at /space/build/apache/php4-200209300600/ext/session/session.c:1511 #3 0x80e880f in module_destructor (module=0x83e2518) at /space/build/apache/php4-200209300600/Zend/zend_API.c:1128 #4 0x80e9e47 in zend_hash_apply_deleter (ht=0x839d460, p=0x83e24e8) at /space/build/apache/php4-200209300600/Zend/zend_hash.c:598 #5 0x80e9f59 in zend_hash_graceful_reverse_destroy (ht=0x839d460) at /space/build/apache/php4-200209300600/Zend/zend_hash.c:664 #6 0x80e62dc in zend_shutdown () at /space/build/apache/php4-200209300600/Zend/zend.c:512 #7 0x80cae93 in php_module_shutdown () at /space/build/apache/php4-200209300600/main/main.c:1193 #8 0x80cae74 in php_module_shutdown_wrapper (sapi_globals=0x835b520) at /space/build/apache/php4-200209300600/main/main.c:1170 #9 0x80c1540 in apache_php_module_shutdown_wrapper () #10 0x81966ce in run_cleanups () #11 0x8194db4 in ap_clear_pool () #12 0x8194e29 in ap_destroy_pool () #13 0x8194d8c in ap_clear_pool () #14 0x8194e29 in ap_destroy_pool () #15 0x81a38c2 in clean_parent_exit () #16 0x81a6593 in standalone_main () #17 0x81a6a93 in main ()