php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15967 session_start(); crashes php.exe
Submitted: 2002-03-08 21:09 UTC Modified: 2002-04-10 18:55 UTC
From: rasmus at semester dot dk Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.1.1 OS: WinXP
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rasmus at semester dot dk
New email:
PHP Version: OS:

 

 [2002-03-08 21:09 UTC] rasmus at semester dot dk
<?php

srand((double)microtime()*1000000);
$session_id= md5(uniqid(rand()));

session_register($session_id);
?>

crashes (reproducible) my IIS at WinXP. IE-error reporting tells me: 
szAppName : php.exe     szAppVer : 0.0.0.0     szModName : php4ts.dll     
szModVer : 0.0.0.0     offset : 000a956c 

I use the standard installation (install from web) without any other addins.
Besides sessions, I have no problems with PHP
    

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-09 06:24 UTC] sander@php.net
Very likely to be a problem with an incorrect session.save_path. There's alreadd a report for that. 
If that's not the case, reopen this report.
 [2002-04-10 18:55 UTC] sniper@php.net
This should be fixed in PHP 4.2.0..try the latest RC
from http://www.php.net/~derick/ and reopen if this still fails. (remember to replace the php4ts.dll also!)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 13:01:34 2025 UTC