ID:               35305
 Updated by:       [EMAIL PROTECTED]
 Reported By:      labsy at seznam dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         IIS related
 Operating System: Windows 2003
 PHP Version:      5.0.5
 New Comment:

Please try using this CVS snapshot:

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




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

[2005-11-20 17:44:49] labsy at seznam dot org

Description:
------------
Ocasionally my PHP crashes on IIS 6.0 with error:

PHP encountered access violation at...

>From that moment further PHP pages don't work until I restart IIS, but
other pages, like ASP and HTML, parse normally.

I found one piece of code which MAY (but does not always) reproduce PHP
crash on IIS. It may occure when PHP "include" command tries to include
a file with GET vars inside a block of another PHP/HTML mixed block.

Reproduce code:
---------------
<?php
     echo "Hello PHP World <br>\n";
{
?>
Hello HTML world! This is HTML part of code.
   <?php // Here we include a file with GET var 
         // and produce PHP crash
        include "test_bug2.php?b=dfdfdfdf";
   ?>
<?php }
?>

Expected result:
----------------
An ERROR should be produced:

Warning: main(test_bug2.php?b=dfdfdfdf) [function.main]: failed to open
stream: Invalid argument in test_bug1.php on line 

Actual result:
--------------
Instead, on Win 2003 with IIS, this code SOMETIMES causes PHP to crash
with error:

PHP has encountered access violation at address ...


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


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

Reply via email to