From: jaco at jump dot co dot za
Operating system: Windows Server 2003
PHP version: 5.2.5
PHP Bug Type: Sockets related
Bug description: fsockopen crashes apache on windows
Description:
------------
Apache 2.2.4
PHP 5.2.5
whenever I use fsockopen, I get a message Error in my_thread_global_end():
1 threads didn't exit in my apache log files. This happens when the threads
are trying to be recycled.
Steps to reproduce
Start Apache
Run
<?
$fp = fsockopen("192.168.1.105", 3306);
fclose($fp);
exit;
?>
Stop apache and the message apears in the apache error log.
Reproduce code:
---------------
$fp = fsockopen("192.168.1.105", 3306);
fclose($fp);
exit;
Expected result:
----------------
Clean Log File
Actual result:
--------------
Error in my_thread_global_end(): 1 threads didn't exit
--
Edit bug report at http://bugs.php.net/?id=43776&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43776&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43776&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43776&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43776&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43776&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43776&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43776&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43776&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43776&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43776&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43776&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43776&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43776&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43776&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43776&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43776&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43776&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43776&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43776&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43776&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43776&r=mysqlcfg