ID:               49040
 Updated by:       j...@php.net
 Reported By:      sant9442 at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         CGI related
 Operating System: Windows XP
 PHP Version:      5.3.0
 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------

[2009-07-23 19:25:00] sant9442 at gmail dot com

Description:
------------
A GPF was observed in line #737 in sapi\cgi\cgi_main.c:

     if (!IS_ABSOLUTE_PATH(path, path_len)) {
        real_path = tsrm_realpath(path, NULL TSRMLS_CC);
fault-> real_path_len = strlen(real_path);
        path = real_path;
        path_len = real_path_len;
     }


Reproduce code:
---------------
1) Install PHP 5.3 for win32 (VC6) version (I have not tried the VC9
version).

2) Switch to the folder and type:

  C:\PHP-5.3.0.WIN32
  php-cgi.exe FOOBAR\FOOBAR.PHP

It doesn't matter if FOOBAR folder exist or not.

Under Windows XP, with Visual Studio installed, the JIT debugger
appears. With the debug symbols avaiable, it shows the error location.

NOTE: I can not repeat this under Windows 2000, which tells me it is a
RANDOM memory bug. Whatever the pointer has in memory.

Expected result:
----------------
A "No Input File Specified" (NO GPF)

Actual result:
--------------
Under Windows XP, with Visual Studio installed, the JIT debugger
appears. With the debug symbols avaiable, it shows the error location.

NOTE: I can not repeat this under Windows 2000, which tells me it is a
RANDOM memory bug. Whatever the pointer has in memory. 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49040&edit=1

Reply via email to