#31984 [Opn->Fbk]: sessions fail randomly, causes a segmentation fault in apache

From: Date: Tue, 15 Feb 2005 23:23:59 +0000
Subject: #31984 [Opn->Fbk]: sessions fail randomly, causes a segmentation fault in apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74140@lists.php.net to get a copy of this message
 ID:               31984
 Updated by:       sniper@php.net
 Reported By:      root at mediamonks dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: FreeBSD 4.11-STABLE
 PHP Version:      5.0.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-02-15 14:30:56] root at mediamonks dot net

with notices on the log file records:

PHP Fatal error:  Unknown: Cannot find save handler \x02 in Unknown on
line 0
PHP Fatal error:  Unknown: Cannot find save handler \x02 in Unknown on
line 0
PHP Fatal error:  Unknown: Cannot find save handler \x02 in Unknown on
line 0
[Tue Feb 15 14:27:45 2005] [notice] child pid 83780 exit signal
Segmentation fault (11)
[Tue Feb 15 14:27:45 2005] [notice] child pid 83776 exit signal
Segmentation fault (11)
[Tue Feb 15 14:27:45 2005] [notice] child pid 83710 exit signal
Segmentation fault (11)
PHP Fatal error:  Unknown: Cannot find save handler \x02 in Unknown on
line 0
PHP Fatal error:  Unknown: Cannot find save handler \x02 in Unknown on
line 0
[Tue Feb 15 14:27:48 2005] [notice] child pid 83752 exit signal
Segmentation fault (11)
[Tue Feb 15 14:27:48 2005] [notice] child pid 83713 exit signal
Segmentation fault (11)

------------------------------------------------------------------------

[2005-02-15 13:44:44] root at mediamonks dot net

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 this bug report at http://bugs.php.net/?id=31984&edit=1


Thread (18 messages)

« previous php.bugs (#74140) next »