php.net |  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
Votes:1
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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:
////////////////////////////////////
<html>
<head>
<title>Proactive Channel Monitor</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv=refresh content=10>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?php
	$result = fsockopen("127.0.0.1","12345",$errno,$errstr,10);
	if($result === true)
	{
	//send sth to server
		:
		:
		:
	}
	else
		echo "$errno";	
?>
</body>
</html>
////////////////////////////////////
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:
Source:WAM
Event ID:204
Type:error
Description:
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??
Thx!!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-14 04:53 UTC] sander@php.net
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] mfischer@php.net
Looks like a dup of 15333
 [2002-09-29 20:30 UTC] sniper@php.net
Please try using this CVS snapshot:

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


 [2002-10-20 23:15 UTC] sniper@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 20 04:03:36 2021 UTC