#31984 [Opn]: sessions fail randomly, causes a segmentation fault in apache
| From: | root at mediamonks dot net | Date: | Tue, 15 Feb 2005 13:30:57 +0000 |
| Subject: | #31984 [Opn]: sessions fail randomly, causes a segmentation fault in apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74121@lists.php.net to get a copy of this message | ||
ID: 31984
User updated by: root at mediamonks dot net
Reported By: root at mediamonks dot net
Status: Open
Bug Type: Session related
Operating System: FreeBSD 4.11-STABLE
PHP Version: 5.0.3
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[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