#23355 [Opn->Fbk]: Apache segfaulting in session.c
| From: | sniper@php.net | Date: | Sat, 26 Apr 2003 12:00:12 +0000 |
| Subject: | #23355 [Opn->Fbk]: Apache segfaulting in session.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38445@lists.php.net to get a copy of this message | ||
ID: 23355
Updated by: sniper@php.net
Reported By: php at lim-dul dot de
-Status: Open
+Status: Feedback
-Bug Type: *General Issues
+Bug Type: Session related
Operating System: Debian Linux 2.4.18
PHP Version: 4CVS-2003-04-25 (stable)
New Comment:
Please provide a _short_ example script, without any html
stuff (if possible) and without any mysql stuff (which doesn't seem to
be related to the crash, according to that backtrace).
Previous Comments:
------------------------------------------------------------------------
[2003-04-25 18:00:40] php at lim-dul dot de
The Apache Childs are segfaulting when this script ist executed:
http://www.lim-dul.de/bug/admin.phps
The gdb Backtrace looks like:
#0 0x4010702b in memcpy () from /lib/libc.so.6
#1 0x08167013 in _mem_block_check (ptr=0x827c6e4, silent=0,
__zend_filename=0x821cac0
"/usr/local/src/php4-STABLE-200304252130/ext/session/session.c",
__zend_lineno=638, __zend_orig_filename=0x0, __zend_orig_lineno=0)
at /usr/local/src/php4-STABLE-200304252130/Zend/zend_alloc.c:675
#2 0x08166fda in _mem_block_check (ptr=0x827c6e4, silent=1,
__zend_filename=0x821cac0
"/usr/local/src/php4-STABLE-200304252130/ext/session/session.c",
__zend_lineno=638, __zend_orig_filename=0x0, __zend_orig_lineno=0)
at /usr/local/src/php4-STABLE-200304252130/Zend/zend_alloc.c:667
#3 0x0816628a in _efree (ptr=0x827c6e4, __zend_filename=0x821cac0
"/usr/local/src/php4-STABLE-200304252130/ext/session/session.c",
__zend_lineno=638,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at
/usr/local/src/php4-STABLE-200304252130/Zend/zend_alloc.c:243
#4 0x080b4882 in migrate_global (ht=0x82b1b4c, pos=0xbffff598) at
/usr/local/src/php4-STABLE-200304252130/ext/session/session.c:638
#5 0x080b49b3 in php_session_save_current_state () at
/usr/local/src/php4-STABLE-200304252130/ext/session/session.c:668
#6 0x080b7650 in php_session_flush () at
/usr/local/src/php4-STABLE-200304252130/ext/session/session.c:1588
#7 0x080b767b in zm_deactivate_session (type=1, module_number=4) at
/usr/local/src/php4-STABLE-200304252130/ext/session/session.c:1602
#8 0x0817c817 in module_registry_cleanup (module=0x82a0940) at
/usr/local/src/php4-STABLE-200304252130/Zend/zend_API.c:1167
#9 0x0817f5ff in zend_hash_apply (ht=0x827ca80, apply_func=0x817c7d7
<module_registry_cleanup>)
at /usr/local/src/php4-STABLE-200304252130/Zend/zend_hash.c:688
#10 0x08179078 in zend_deactivate_modules () at
/usr/local/src/php4-STABLE-200304252130/Zend/zend.c:634
#11 0x08142351 in php_request_shutdown (dummy=0x0) at
/usr/local/src/php4-STABLE-200304252130/main/main.c:970
#12 0x08191247 in main (argc=2, argv=0xbffffd74) at
/usr/local/src/php4-STABLE-200304252130/sapi/cli/php_cli.c:842
The configure line was:
./configure' '--with-apxs' '--with-mysql'
'--with-openssl=/usr/local/ssl/' '--enable-ftp' '-- with-zlib'
'--enable-debug
ah phpinfo(); can be found here: http://www.lim-dul.de/bug/phpinfo.php
The System is Debian/Unstable
I was not able to reproduce the bug on an other system.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23355&edit=1