php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14945 session_set_save_handler causes crashes
Submitted: 2002-01-09 05:30 UTC Modified: 2002-01-24 23:50 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: kjartan at zind dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.1 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
1 + 25 = ?
Subscribe to this entry?

 
 [2002-01-09 05:30 UTC] kjartan at zind dot net
When PHP is loaded as an Apache module on Windows it causes some strange crashes. Works fine with IIS and cgi setups.

If there is not existing active session Apache will crash once session_start() is called with the error: The instruction at "0x0058463" referenced memory at "0x04da8610". The memory could not be "read".

Using the PHP default file based sessions work fine, but only if session.save_handler is set to files. Using session_start() without a session_set_save_handler() will crash php if session.save_handler is set to user. Would be better if it reported an error message.

If there is an existing valid session PHP works fine and there are no problems.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-09 09:07 UTC] yohgaki@php.net
Dup of #14497
 [2002-01-24 23:50 UTC] yohgaki@php.net
I think this is fixed in CVS version.
If you could try current 4.2.0-dev and still have problem, please reopen this report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 08:01:30 2024 UTC