From:             [EMAIL PROTECTED]
Operating system: 2.2.20
PHP version:      4.2.3
PHP Bug Type:     Session related
Bug description:  Using MM session handler, Apache crashs at child death.

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 ?


-- 
Edit bug report at http://bugs.php.net/?id=19655&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19655&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19655&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19655&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19655&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19655&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19655&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19655&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19655&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19655&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19655&r=globals

Reply via email to