From: mpowell1221 at gmail dot com Operating system: Windows XP Pro PHP version: 4.4.2 PHP Bug Type: *General Issues Bug description: The instruction at "0x100c5fca" referenced...The memory could not be read.
Description: ------------ My code crashes PHP.exe when ran. I am running windows XP Pro with IIS 5.1, PHP is 4.4.2, and I am also running MySQL. The bug occurs when ever I run a fopen function. Reproduce code: --------------- <?php //referring URL should send a query like this....http://localhost/Link%20Checker/linkchecker.php?list=http://google.com/|http://localhost/Link%20Checker/linker.html&rand=478046104884318 $list=$_GET['list']; $link = explode("|",$list); // put URLs into an array $badcount = 0; $out = "Link Check For: ".$_SERVER['HTTP_REFERER'] ."\n\n".date("F j, Y, g:i a")."\n\n"; foreach($link as $url) { $fp = @fopen($url, "r"); if (!$fp) { $out .= "Link $url is dead!\n"; $badcount++; } } echo $url; ?> Expected result: ---------------- List of links that are broken, or do not open. Actual result: -------------- Message Box that says "The instruction at '0x100c%fca' refererenced memory at '0x0000001e'. The memory could not be 'read'". The page also returns this CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. -- Edit bug report at http://bugs.php.net/?id=37863&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37863&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37863&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37863&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37863&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37863&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37863&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37863&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37863&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37863&r=support Expected behavior: http://bugs.php.net/fix.php?id=37863&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37863&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37863&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37863&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37863&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37863&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37863&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37863&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37863&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37863&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37863&r=mysqlcfg