php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26559 IIS Hang without crash cause an infinite loop
Submitted: 2003-12-09 05:15 UTC Modified: 2003-12-09 06:07 UTC
From: jaco at jaco dot it Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.3.2 OS: win2k
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jaco at jaco dot it
New email:
PHP Version: OS:

 

 [2003-12-09 05:15 UTC] jaco at jaco dot it
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-09 06:07 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #16820 and bug #21513 (maybe also bug #23331)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC