|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17195 unhandle exception processiong ISAPI
Submitted: 2002-05-13 22:43 UTC Modified: 2002-10-20 23:15 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: keithauyeung at proactive dot com dot hk Assigned:
Status: No Feedback Package: IIS related
PHP Version: 4.2.0 OS: win2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: keithauyeung at proactive dot com dot hk
New email:
PHP Version: OS:


 [2002-05-13 22:43 UTC] keithauyeung at proactive dot com dot hk
Hi derek
Sorry for open a new bug report again, because I cannot change the status of the previous bug report from bogus to open. sorry for the inconvenience.

This is my first time to report bug and sorry of my stupid way to present my problem before. I would like to describe my problem again.

I have simpplified my php script as follow:
<title>Proactive Channel Monitor</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv=refresh content=10>
<body bgcolor="#FFFFFF" text="#000000">
	$result = fsockopen("","12345",$errno,$errstr,10);
	if($result === true)
	//send sth to server
		echo "$errno";	
I want to connect to a server socket and the php will be refresh in 10 sec.
Now, my server socket is down. So my expect result is: fsockopen() return false->the error no is print out->the page refresh after 10 sec to reconnect.
And the actual result is that it work under my expectation,but after the page refresh for about 20 times. PHP is crash and from the "Event viewer" of win2000. I found that:
Event ID:204
The HTTP server encountered an unhandled exception while processing the ISAPI Application '
php4ts!zend_strndup + 0x2B
 + 0xA05E5983
After that, I have to restart the IIS to make PHP work again

Is there any other method for me to collect more information for helping debug??


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-14 04:53 UTC]
What is the number of the previous bugreport?
 [2002-05-14 05:02 UTC] keithauyeung at proactive dot com dot hk
The no is #17170
 [2002-06-03 12:25 UTC]
Looks like a dup of 15333
 [2002-09-29 20:30 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-10-20 23:15 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 16:01:28 2024 UTC