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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kjartan at zind dot net
New email:
PHP Version: OS:

 

 [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 06:01:31 2024 UTC