#20358 [NEW]: Apache is "Segmentation fault" by session_start() with libmm
| From: | mtak at beyondnetworks dot co dot jp | Date: | Mon, 11 Nov 2002 12:44:58 +0000 |
| Subject: | #20358 [NEW]: Apache is "Segmentation fault" by session_start() with libmm | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-24540@lists.php.net to get a copy of this message | ||
From: mtak@beyondnetworks.co.jp
Operating system: RedHat7.3
PHP version: 4.3.0-pre2
PHP Bug Type: Session related
Bug description: Apache is "Segmentation fault" by session_start() with libmm
OS: RedHat7.3(Intel)
PHP: 4.2.2, 4.2.3, 4.3.0-pre2
Apache: 1.3.26, 1.3.27
libmm: 1.1.3(RPM), 1.2.1(tar.gz)
Apache:
# ./configure --enable-module=so ...
PHP:
# ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mm .....
# ./cp php.ini-recommended /usr/local/lib/php.ini
# vi /usr/local/lib/php.ini
session.save_handler = files -> session.save_handler = mm
bug.php
-------
<?php
session_start();
?>
.
-------
loop.sh
-------
#!/bin/bash
for((i = 0; i < 2000; ++i));
do wget -O - http://localhost/bug.php?PHPSESSID=$i;
done
-------
# sh loop.sh
..... wait a few minutes
# tail -f /usr/local/apache/logs/error_log
:
[Tue Oct 22 20:50:59 2002] [notice] child pid 26434 exit signal
Segmentation fault (11)
:
:
is this bug?
I think so
"ext/session/mod_mm.c: ps_sd_lookup()" has problem
--
Edit bug report at http://bugs.php.net/?id=20358&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20358&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20358&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20358&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20358&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20358&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20358&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20358&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20358&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20358&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20358&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20358&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20358&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20358&r=isapi