#20988 [Opn->Fbk]: Apache segfaults using MM session on garbage collection
| From: | derick@php.net | Date: | Fri, 13 Dec 2002 12:56:53 +0000 |
| Subject: | #20988 [Opn->Fbk]: Apache segfaults using MM session on garbage collection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27596@lists.php.net to get a copy of this message | ||
ID: 20988
Updated by: derick@php.net
Reported By: verx@implix.com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Linux 2.4.19 (Debian)
PHP Version: 4.3.0RC3
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-12-13 06:54:22] verx@implix.com
Apache 1.3.27
PHP 4.3.0RC3:
Configure Command => './configure' '--with-mysql' '--with-dom'
'--with-dom-xslt' '--with-apxs=/usr/bin/apxs' '--with-zlib'
'--with-mm'
This can be reproduced by a script:
<?
session_start()
$_SESSION['temp'] = 'test';
?>
in php.ini set garbage collection to be called often
and set MM session handler:
session.save_handler = mm
session.gc_probability = 1
session.gc_dividend = 1
session.gc_maxlifetime = 30
To reproduce run:
ab -n 10000 http://server/above_script.php
Note that this bug is also reproducible on
FreeBSD with php 4.3.2 - will not post another
bug report.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20988&edit=1