#43002 [NEW]: Unwanted timeout at end of script
| From: | anrdaemon at freemail dot ru | Date: | Wed, 17 Oct 2007 03:05:11 +0000 |
| Subject: | #43002 [NEW]: Unwanted timeout at end of script | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-118613@lists.php.net to get a copy of this message | ||
From: anrdaemon at freemail dot ru
Operating system: Win2000
PHP version: 5.2.4
PHP Bug Type: MySQL related
Bug description: Unwanted timeout at end of script
Description:
------------
PHP stuck for about 5 seconds after end of script while php_mysql
extension loaded with bundled libmysql.dll.
CGI executable reporting
"Error in my_thread_global_end(): 1 threads didn't exit"
(It was 1 or 2 threads from time to time)
Reproduce code:
---------------
Just run
<?php phpinfo(); ?>
script from console.
Expected result:
----------------
Expecting no delay after end of script output.
Actual result:
--------------
Got about 5 sec delay after end of script output (PHP-CLI/PHP-WIN)
In addition to that delay, string
"Error in my_thread_global_end(): 1 threads didn't exit"
being written to STDERR (PHP-CGI)
Actually, problem disappears when using libmysql.dll from MySQL.com
Connector/PHP or from installed MySQL server.
--
Edit bug report at http://bugs.php.net/?id=43002&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43002&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43002&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43002&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43002&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43002&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43002&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43002&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43002&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43002&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43002&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43002&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43002&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43002&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43002&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43002&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43002&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43002&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43002&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43002&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43002&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43002&r=mysqlcfg