From: [EMAIL PROTECTED]
Operating system: Windows XP
PHP version: 4.1.1
PHP Bug Type: Session related
Bug description: php.exe crashes everytime I call session_start(); whitin a script.
I am running php 4.1.1 on XP under Apache 1.3.
Every time I call session script, php.exe on server
crashes.
Error msg (in windows):
--------------------------------------------------------
php.exe has encountered a problems and needs to close.
szAppName: php.exe
szAppVer: 0.0.0.0
szModName: php4ts.dll
szModVer: 0.0.0.0
offset: 000a956c
--------------------------------------------------------
I have set the
session.save_path = "C:\windows\temp"
in the php.ini, but the problem persist.
php file content that craches php.exe
---------------------------------------------------------
<?php // creates session for user
session_start();
session_register("iwcuser");
session_register("iwcpass");
@$iwcuser = $username;
@$iwcpass = $password; ?>
---------------------------------------------------------
Hope that the problem is within my script, and not PHP
itself, but anyhow, users running their own scripts should be able to
crash PHP.
Regards,
-Vildan
--
Edit bug report at http://bugs.php.net/?id=15843&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15843&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15843&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15843&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15843&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15843&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15843&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15843&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15843&r=submittedtwice