php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15657 PHP terminated by Windows during session operation
Submitted: 2002-02-21 08:24 UTC Modified: 2002-09-26 16:34 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ronny dot toelle at pc-ware dot de Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.1 OS: Windows 2000
Private report: No CVE-ID: None
 [2002-02-21 08:24 UTC] ronny dot toelle at pc-ware dot de
I tried to run the following PHP code:
  <?php
      session_start();
      $var = "ABCDEFG_1234567890";
      session_register('var');
  ?>

While executing the file, the PHP.exe was terminated with the following error message:
"The instruction at 0x100a956c refered to memory at 0x8b2b43b1. The operation 'read' cannot be performed for that memory."

I'm running an Apache 1.3.22 with PHP 4.1.1 on Windows 2000 Professional (Build 2195).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-21 09:40 UTC] yohgaki@php.net
I think you have wrong save_path. Right?
(It's known and will be fixed)
 [2002-02-21 09:44 UTC] ronny dot toelle at pc-ware dot de
I think that was the problem.
 [2002-02-21 10:13 UTC] yohgaki@php.net
Assigned to myself.
 [2002-02-22 12:19 UTC] sander@php.net
Hasn't this been fixed already?
 [2002-02-26 04:20 UTC] ronny dot toelle at pc-ware dot de
session_start(); crete this error in browser:
Cannot send session cookie - headers already sent by (output started at test.php:1)in Line 2

Warning: Cannot send session cache limiter - headers already sent (output started at test.php:1) in Line 2
 [2002-02-26 04:27 UTC] sander@php.net
ronny.toelle@pc-ware.de: those two messages are no bugs; RTM and/or ask support questions on the apropriate mailinglist.
 [2002-02-26 07:04 UTC] yohgaki@php.net
I have patch to prevent crash with invalid save_path. (not commited)
But I didn't change default save_path for windows.

Sander, should we change the default or documentation in 
php.ini-(dist|recommened)?
 [2002-03-05 18:57 UTC] jan@php.net
yasuo commited this patch a while ago IIRC.
 [2002-09-26 16:34 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC