#20358 [Opn->Fbk]: Apache is "Segmentation fault" by session_start() with libmm
| From: | sniper@php.net | Date: | Mon, 11 Nov 2002 15:56:47 +0000 |
| Subject: | #20358 [Opn->Fbk]: Apache is "Segmentation fault" by session_start() with libmm | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24577@lists.php.net to get a copy of this message | ||
ID: 20358
Updated by: sniper@php.net
Reported By: mtak@beyondnetworks.co.jp
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: RedHat7.3
PHP Version: 4.3.0-pre2
New Comment:
So what is the 'problem' you think there is?
(works fine here (tm))
Previous Comments:
------------------------------------------------------------------------
[2002-11-11 07:30:52] mtak@beyondnetworks.co.jp
This problem does not appear at "/usr/local/apache/bin/httpd -X".
I think so because apache is single task...
------------------------------------------------------------------------
[2002-11-11 06:55:23] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2002-11-11 06:44:58] mtak@beyondnetworks.co.jp
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 this bug report at http://bugs.php.net/?id=20358&edit=1