From:             [EMAIL PROTECTED]
Operating system: win2000
PHP version:      4.2.0
PHP Bug Type:     IIS related
Bug description:  unhandle exception processiong ISAPI

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!!
-- 
Edit bug report at http://bugs.php.net/?id=17195&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17195&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17195&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17195&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17195&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17195&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17195&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17195&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17195&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17195&r=globals

Reply via email to