From: nico at osict dot com Operating system: Windows XP PHP version: 4.3.1 PHP Bug Type: Reproducible crash Bug description: fockopen resource leaking
When fockopen is used on a non working IP address (e.g. to test if some server is currently running) it seems to cause resource leaking. Even if fclose is used properly, and the php page has finished. This behaviour does not occur with working IP addresses. This can be verified with windows task manager by looking in the handles column of apache.exe. When repeated many times (>10000) Windows XP will collapse because applications will no longer be able to open IP ports. I am using the windows binary on http://www.php.net/downloads.php with Apache/1.3.24. Nico de Vries ([EMAIL PROTECTED]) -- Edit bug report at http://bugs.php.net/?id=23061&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23061&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23061&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23061&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23061&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23061&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23061&r=support Expected behavior: http://bugs.php.net/fix.php?id=23061&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23061&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23061&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23061&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23061&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23061&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23061&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23061&r=gnused
