From:             root at mediamonks dot net
Operating system: FreeBSD 4.11-STABLE
PHP version:      5.0.3
PHP Bug Type:     Session related
Bug description:  sessions fail randomly, causes a segmentation fault in apache

Description:
------------
Apache 2.0.53 & mod_php5 5.0.3

Sessions occasionally work, but in two-thirds of the session requests an
error is generated and the apache child segfaults.

Error recorded in the logfile:

PHP Fatal error:  Unknown: Cannot find save handler \x02 in Unknown on
line 0

Error reported on site:

Notice: Undefined variable: HTTP_SESSION_VARS in <file>
Notice: Undefined variable: _SESSION in in <file>
Warning: session_register() [function.session-register]: Cannot find save
handler  in <file>
Warning: session_register() [function.session-register]: Cannot find save
handler  in <file>

I'm using php.ini-recommended as php.ini.

Tried commenting out session.save_handler, setting it to "files" and just
files.

Reproduce code:
---------------
session_start();


-- 
Edit bug report at http://bugs.php.net/?id=31984&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31984&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31984&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31984&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31984&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31984&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31984&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31984&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31984&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31984&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31984&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31984&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31984&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31984&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31984&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31984&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31984&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31984&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31984&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31984&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31984&r=mysqlcfg

Reply via email to