php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43776 fsockopen crashes apache on windows
Submitted: 2008-01-07 11:04 UTC Modified: 2008-01-07 11:48 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: jaco at jump dot co dot za Assigned:
Status: Not a bug Package: Sockets related
PHP Version: 5.2.5 OS: Windows Server 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 12 = ?
Subscribe to this entry?

 
 [2008-01-07 11:04 UTC] jaco at jump dot co dot za
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-07 11:23 UTC] jaco at jump dot co dot za
This is not happening when I run the script with CLI, no error is reported in CLI, its just when its on apache that it happens.
 [2008-01-07 11:48 UTC] johannes@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

This is a problem with the libmysqlclient.dll on your system. Please see #41350 for more information on that problem.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon May 23 02:05:44 2022 UTC