#20988 [Opn]: Apache segfaults using MM session on garbage collection
| From: | verx at implix dot com | Date: | Fri, 13 Dec 2002 13:57:21 +0000 |
| Subject: | #20988 [Opn]: Apache segfaults using MM session on garbage collection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27605@lists.php.net to get a copy of this message | ||
ID: 20988
User updated by: verx@implix.com
Reported By: verx@implix.com
Status: Open
Bug Type: Session related
Operating System: Linux 2.4.19 (Debian)
PHP Version: 4.3.0RC3
New Comment:
While trying to backtrace a particular forked child it would not
segfault until i detach gdb from it - then it segfaults with:
[Sat Dec 14 05:02:19 2002] [notice] child pid 4858 exit signal
Segmentation fault (11)
Previous Comments:
------------------------------------------------------------------------
[2002-12-13 07:34:33] verx@implix.com
I know it's not a backtrace. I have just forgot to paste apache log
segfault line example in my original posting.
However. When trying to backtrace I cannot reproduce this
behavior. It's happening under constant heavy load that
can be simulated using ab -n 10000 and the example script
I have supplied. Only after about 3000-4000 request this
one happens. I cannot execute 3000 request because httpd -X
exits after several hundred requests (normal exit - no backtrace) and I
don't know why.
------------------------------------------------------------------------
[2002-12-13 07:01:55] derick@php.net
That is not a back trace, please follow the instructions as described
here:
http://bugs.php.net/bugs-generating-backtrace.php
------------------------------------------------------------------------
[2002-12-13 07:00:15] verx@implix.com
Apache segfault log entry:
[Sat Dec 14 03:41:39 2002] [notice] child pid 3613 exit signal
Segmentation fault (11)
------------------------------------------------------------------------
[2002-12-13 06:56:27] verx@implix.com
of course there should be:
<?
session_start();
$_SESSION['temp'] = 'test';
?>
semicolon missing
------------------------------------------------------------------------
[2002-12-13 06:55:24] 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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20988
--
Edit this bug report at http://bugs.php.net/?id=20988&edit=1