#23355 [NEW]: Apache segfaulting in session.c

From: Date: Fri, 25 Apr 2003 23:00:40 +0000
Subject: #23355 [NEW]: Apache segfaulting in session.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38426@lists.php.net to get a copy of this message
From: php at lim-dul dot de Operating system: Debian Linux 2.4.18 PHP version: 4CVS-2003-04-25 (stable) PHP Bug Type: *General Issues Bug description: Apache segfaulting in session.c 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 bug report at http://bugs.php.net/?id=23355&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23355&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23355&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23355&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23355&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23355&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23355&r=support Expected behavior: http://bugs.php.net/fix.php?id=23355&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23355&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23355&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23355&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23355&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23355&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23355&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23355&r=gnused

« previous php.bugs (#38426) next »