#26559 [NEW]: IIS Hang without crash cause an infinite loop

From: Date: Tue, 09 Dec 2003 10:15:49 +0000
Subject: #26559 [NEW]: IIS Hang without crash cause an infinite loop
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51829@lists.php.net to get a copy of this message
From: jaco at jaco dot it Operating system: win2k PHP version: 4.3.2 PHP Bug Type: IIS related Bug description: IIS Hang without crash cause an infinite loop Description: ------------ I've a PHP application running in high isolated mode on IIS. I've reproduced a simple PHP infinite loop as reported here.The CPU go to 100%, INETINFO Hang. The max time exexution its'nt detected. Now this behaviour is strange 1) The max time execution is not detect 2) All inetinfo hang and not only the dll host of the applicationi. What's the solution? Reproduce code: --------------- while (list ($header, $value) = $test){ if ($header!="operazione") { $INSERT.=$header; $VALUES.="'$value'"; $test = each ($dati); if ($test) { $INSERT.=","; $VALUES.=","; } } } Expected result: ---------------- The application would be killed after the max time execution. Only the dllhost of the application would hang. Actual result: -------------- The CPU go 100%, all Inteinfo HANG, the max time execution is not detect. The only way to handle the situatio in iisreset -- Edit bug report at http://bugs.php.net/?id=26559&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26559&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26559&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26559&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26559&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26559&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26559&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26559&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26559&r=support Expected behavior: http://bugs.php.net/fix.php?id=26559&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26559&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26559&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26559&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26559&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26559&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26559&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26559&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26559&r=float

« previous php.bugs (#51829) next »