From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.19 (Debian)
PHP version:      4.3.0RC3
PHP Bug Type:     Session related
Bug description:  Apache segfaults using MM session on garbage collection

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 bug report at http://bugs.php.net/?id=20988&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20988&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20988&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20988&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20988&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20988&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20988&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20988&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20988&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20988&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20988&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20988&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20988&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20988&r=isapi

Reply via email to