php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6144 Crash when file not found!
Submitted: 2000-08-14 06:01 UTC Modified: 2000-10-02 22:59 UTC
From: patrick at music-images dot nl Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 OS: WINDOWS N.T.
Private report: No CVE-ID: None
 [2000-08-14 06:01 UTC] patrick at music-images dot nl
When trying to overwrite TRANSLATED_PATH in order to get php accepting scripts from stdin (but more overriding of environment variables was needed) php crashed because he couldn't find the file necessary. PHP3 generates the message file not found. 

I would wanted that if not path information is found cgi mode would be off and he would accept script code from stdin after postdata, but that is inpossible because the variable REQUEST_METHOD is used as an CGI check.

ie. I was forced to remove all variables making php detect it's run as a cgi including REQUEST_METHOD before php accepted script from stdin (which I redirected). But I also wanted REQUEST_METHOD to exist, which conflicted. (That makes him probably force to look at a file which doesn't exist?)

Crash:

REAL_PHP caused an invalid page fault in
module PHP4TS.DLL at 0177:1007d14e.
Registers:
EAX=00000000 CS=0177 EIP=1007d14e EFLGS=00010246
EBX=007607f0 SS=017f ESP=0063fd28 EBP=0063fdc4
ECX=ffffffff DS=017f ESI=00000000 FS=4387
EDX=7eff5344 ES=017f EDI=00000000 GS=0000
Bytes at CS:EIP:
f2 ae a1 20 04 0e 10 f7 d1 49 8b f9 47 85 c0 74 
Stack dump:
00000001 00760580 007607f0 0040190e 00000000 004030e4 00000000 817ad8b4 00530000 00000000 00000000 00000004 00000000 00000000 7800cc8c 7803b3f0 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-18 19:39 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-28 04:28 UTC] patrick at music-images dot nl
Verified, it's also not working with release 4.0.1pl2.

 [2000-09-02 18:05 UTC] sniper@php.net
This might sound like a broken record but please try with php4.0.2
or latest CVS . And report back if problem still exists.

--Jani
 [2000-10-02 22:59 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 22:00:02 2026 UTC