ID: 45042 User updated by: php at schubec dot com Reported By: php at schubec dot com Status: Open Bug Type: Performance problem Operating System: Vista (any version) PHP Version: 5.2.6 New Comment:
Hello! Okay, sorry. It seems to be the same bug. You are right. But I realy searched for the bug before posting. I looked at "Vista" and "MySQL" related bugs and didn't find that. Also, I do not get an error message - I just get this delay. Anyhow. I will close the bug, since bug Bug #41350 is still open. Sorry for wasting your time, Bernhard Previous Comments: ------------------------------------------------------------------------ [2008-05-20 11:22:58] [EMAIL PROTECTED] I assume this is from the "Error in my_thread_global_end(): 1 threads didn't exit" thing: see Bug #41350, or Google... I had noticed it in CLI (but not Apache module), but hadn't looked into it since I thought maybe I had messed something up with different PHP builds, etc., but it definitely looks like it's still a widespread issue? ------------------------------------------------------------------------ [2008-05-20 09:51:36] php at schubec dot com Sorry, but what info are you missing? I read the "how to post bugs" page, but I do not see what I am missing. Thank you, Bernhard ------------------------------------------------------------------------ [2008-05-19 22:44:28] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2008-05-19 22:13:25] php at schubec dot com Description: ------------ When you activate the mySQL Extension on Vista, PHP is delayed for about 3-4 seconds after every script execution. As far as I found out this happens when PHP finalizes (so something like a destructor or so). Problem can be reproduced. Even if NO mySQL related code is called!!! I am using a CLI version of PHP 5.2.6. The problem can also be reproduced when you use SAPI to embed PHP in you own application. I did not test that with IIS/Apache or any other webserver. Reproduce code: --------------- //Any code will do echo "Hello World"; //This takes about 5 secs to execute on Vista with mySQL Extensions on. Expected result: ---------------- Either a delay only when something mySQL related is used (eg: mysql_connect) or no noticable delay at all. Actual result: -------------- Every script is delayed 5 seconds. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45042&edit=1