#41350 [Com]: Error in my_thread_global_end()

2007-10-04 Thread thorsten at phpmyfaq dot de
 ID:   41350
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  graham at directhostinguk dot com
 Status:   No Feedback
 Bug Type: MySQL related
 Operating System: Windows 2003
 PHP Version:  5.2.3
 New Comment:

Hi all,

the current PHP 5.2.5-dev package from http://snaps.php.net with the
bundled libmysql.dll fixes this issue.

Best regards
Thorsten


Previous Comments:


[2007-10-03 17:14:22] mike at wardfam dot org

Copying libmysql.dll from 5.2.1 fixed this issue for me also.
Configuration: Windows 2003 x64 SP2, PHP 5.2.4, CGI/FastCGI



[2007-09-30 12:42:39] 256512 at gmail dot com

To reproduce the error on my setup (Windows XP SP2, PHP 5.2.4):
- in php.ini enable any of the following extensions: php_mysql.dll,
php_pdo_mysql.dll, php_mysqli.dll
- execute php.exe on command line
- press Ctrl+C

After a significant pause (~5 seconds), the error message appears:
Error in my_thread_global_end(): 1 threads didn't exit

Disabling php_mysql.dll, php_pdo_mysql.dll, php_mysqli.dll in php.ini
fixes the issue (php.exe exits immediately, without any errors).

Disabling MySQL extensions eliminates a significant pause (~5 seconds)
at exit with scripts that connect to a PostgreSQL database (yes,
PostgreSQL, not MySQL). Without error messages, though. A minimal script
to reproduce this, when any of the MySQL extensions are enabled, is a
single pg_connect() statement. When MySQL extensions are disabled, the
script exits immediately.



[2007-09-30 02:56:24] joecosmoj at gmail dot com

By commenting out :
;extension=php_mysql.dll
and restarting mysql
THE BUG DISAPPEARED
dll version=5.2.5.5
Special build descriptor = -dev



[2007-09-28 14:40:58] ricardo dot rodrigues at istimeless dot pt

Error in my_thread_global_end(): 1 threads didn't exit

 I don't think it's a MySQL error, since i'm not using it at all. I
have no active instances of MySQL running. I'm using PHPLIB Templates
and the code is very simple:

?php
include (Includes/template.inc);

$index = new Template(Templates);
$index-set_file(f_index, index.tpl);

$index-set_var(page_title, INDEX);

$index-parse(o_index, f_index);
$index-p(o_index);  
?

I'm running PHP 5.4.2 with MySQL 5.0.45, under Windows XP Pro SP2 with
IIS 5.1.



[2007-09-27 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41350

-- 
Edit this bug report at http://bugs.php.net/?id=41350edit=1


#41350 [Com]: Error in my_thread_global_end()

2007-09-17 Thread thorsten at phpmyfaq dot de
 ID:   41350
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  graham at directhostinguk dot com
 Status:   Feedback
 Bug Type: MySQL related
 Operating System: Windows 2003
 PHP Version:  5.2.3
 Assigned To:  scottmac
 New Comment:

The bug still exists with today's build:

zend_mm_heap corrupted
Error in my_thread_global_end(): 252 threads didn't exit


Previous Comments:


[2007-09-14 06:53:08] csharp dot net dot 2007 at hotmail dot com

Error in my_thread_global_end(): 1, Error in my_thread_global_end(): 3

I have the same issue. I opened php.ini and disabled the PHP_IISFUNC
like this :
;[PHP_IISFUNC]
;extension=php_iisfunc.dll 

The problem goes away.



[2007-09-12 15:51:29] Chicken at TheMooFarm dot com

Forgot to add

PHP was installed by the MIS
php-5.2.4-win32-installer.msi

but then I copied over the missing DLLs
by downloading the ZIP 
php-5.2.4-Win32.zip

why are there missing dlls in the MSI install anyway ?¿?

I know I am complaining a lot (this stuff is free after all)
but isnt this a release version shouldnt a msi install the dlls heh
:o)

anyway 
GD seems to load
GD Version  bundled (2.0.34 compatible)  in phpinfo

Hope there is a fix soon
lots of people trying to have XP development computers
so they can design their CMS / Blog sites really need access
to what is working on their servers.



[2007-09-12 15:25:36] Chicken at TheMooFarm dot com

This is sucking real hard

I am using 
Mysql Ver5.041-community-nt
apache_2.2.4-win32-x86-no_ssl
php-5.2.4-win32-installer.msi

TRIED ALSO from Mysql's site
php_5.2.0_mysqli_5.0.27-win32.zip

I do a install of PHP Version 5.2.4
I only enable 3 extensions

[PHP_CURL]
extension=php_curl.dll
[PHP_GD2]
extension=php_gd2.dll
[PHP_MYSQL]
extension=php_mysqli.dll

I have tried replacing the Mysql DLL shipping with PHP
with the Mysql Connectoid and the DLL that ships with Mysql
libmysql.dll

The GD2 Extension Loads
the Curl and Mysql Dlls CHOKE

APACHE ERROR LOG
PHP Warning:  PHP Startup: Unable to load dynamic library
'D:\\Apache2\\php\\ext\\php_curl.dll' - The specified module could not
be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'D:\\Apache2\\php\\ext\\php_mysqli.dll' - The specified module could not
be found.\r\n in Unknown on line 0



If PHP can load GD without problems

but it cant load Curl or Mysql or Mysqli
It sounds like a problem in the compiled source code



[2007-09-11 12:01:38] thorsten at phpmyfaq dot de

It's the Apache 2.0 Handler on my system.

We're doing a SELECT query on a really big 2 GB table with PEAR::MDB2
with ext/mysql.



[2007-09-10 22:49:49] [EMAIL PROTECTED]

ISAPI, CGI, CLI or FCGI?

How are you producing it do you have to do anything specific or does
everything produce it?

I can't reproduce this on my test box apart from with -i / -m but thats
since been fixed in CVS by dmitry.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41350

-- 
Edit this bug report at http://bugs.php.net/?id=41350edit=1


#41350 [Com]: Error in my_thread_global_end()

2007-09-11 Thread thorsten at phpmyfaq dot de
 ID:   41350
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  graham at directhostinguk dot com
 Status:   Feedback
 Bug Type: MySQL related
 Operating System: Windows 2003
 PHP Version:  5.2.3
 Assigned To:  scottmac
 New Comment:

It's the Apache 2.0 Handler on my system.

We're doing a SELECT query on a really big 2 GB table with PEAR::MDB2
with ext/mysql.


Previous Comments:


[2007-09-10 22:49:49] [EMAIL PROTECTED]

ISAPI, CGI, CLI or FCGI?

How are you producing it do you have to do anything specific or does
everything produce it?

I can't reproduce this on my test box apart from with -i / -m but thats
since been fixed in CVS by dmitry.



[2007-09-10 05:49:03] thorsten at phpmyfaq dot de

This bug still occurs with PHP 5.2.4 and libmysql.dll from PHP 5.2.4
package and from MySQL 5.0.45 package when using ext/mysql.



[2007-09-05 19:03:29] richard at vottle dot com

Temporary dyslexia mixed in with too many archived versions of PHP and
you are bound to get things mixed up. 

Taking libmysql.dll from php v 5.2.1 (and not 5.1.2) and replacing the
libmysql.dll in php 5.2.2-4 works fine.

Would still be nice to have a proper working copy in the actual release
though ;)



[2007-09-05 14:40:58] richard at vottle dot com

I am having the same problem with PHP 5.2.4. I have tried replacing
libmysql.dll from PHP 5.1.2, and also took the libmysql.dll from my
instance of MySQL 5.0.15-nt - nothing is solving the problem except
reverting back to PHP 5.1.2 in its entirity.



[2007-09-05 12:05:45] lferro at teladigital dot pt

Using PHP Version 5.2.4 and MySQL 5.0.37 community version, on a WinXP
box, i got this error.

The workaround was just to update the libmySQL.dll that resides in the
php directory with the one shipped with the MySQL.

Not perfect... but...

;)



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41350

-- 
Edit this bug report at http://bugs.php.net/?id=41350edit=1


#41350 [Com]: Error in my_thread_global_end()

2007-09-09 Thread thorsten at phpmyfaq dot de
 ID:   41350
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  graham at directhostinguk dot com
 Status:   No Feedback
 Bug Type: MySQL related
 Operating System: Windows 2003
 PHP Version:  5.2.3
 Assigned To:  scottmac
 New Comment:

This bug still occurs with PHP 5.2.4 and libmysql.dll from PHP 5.2.4
package and from MySQL 5.0.45 package when using ext/mysql.


Previous Comments:


[2007-09-05 19:03:29] richard at vottle dot com

Temporary dyslexia mixed in with too many archived versions of PHP and
you are bound to get things mixed up. 

Taking libmysql.dll from php v 5.2.1 (and not 5.1.2) and replacing the
libmysql.dll in php 5.2.2-4 works fine.

Would still be nice to have a proper working copy in the actual release
though ;)



[2007-09-05 14:40:58] richard at vottle dot com

I am having the same problem with PHP 5.2.4. I have tried replacing
libmysql.dll from PHP 5.1.2, and also took the libmysql.dll from my
instance of MySQL 5.0.15-nt - nothing is solving the problem except
reverting back to PHP 5.1.2 in its entirity.



[2007-09-05 12:05:45] lferro at teladigital dot pt

Using PHP Version 5.2.4 and MySQL 5.0.37 community version, on a WinXP
box, i got this error.

The workaround was just to update the libmySQL.dll that resides in the
php directory with the one shipped with the MySQL.

Not perfect... but...

;)



[2007-09-03 15:48:11] astorni at softhome dot net

For me, it did not help replacing the php_mysql.lib with the old one
from versions 5.2.0 or 5.2.1, so I have no workaround.



[2007-09-03 15:29:58] astorni at softhome dot net

I upgraded from 5.0.4 to 5.2.4, and I saw this bug for the first time.
But for me, the threads were 7 (no idea what it means):

7 threads didn't exit 

The page displayed correctly, but did not stop, and after a few seconds
of delay I get the message.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41350

-- 
Edit this bug report at http://bugs.php.net/?id=41350edit=1


#41350 [Com]: Error in my_thread_global_end()

2007-08-19 Thread thorsten at phpmyfaq dot de
 ID:   41350
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  graham at directhostinguk dot com
 Status:   Assigned
 Bug Type: MySQL related
 Operating System: Windows 2003
 PHP Version:  5.2.3
 Assigned To:  edink
 New Comment:

This bug is still occurs in PHP 5.2.4-RC2 because libmysql.dll is still
the wrong one. It works with libmysql.dll taken from MySQL 5.0.45.


Previous Comments:


[2007-08-16 06:38:21] a at asdf dot com

I get this bug when running a Wiki, through IIS6 on Win2k3. I get 3-4
threads didn't exit. Other than that, the Wiki works fine. I am using
MySQL, but I was getting it yesterday, when I was using PostgreSQL.
(insert DA-duh--DUMMM!!! sound for extra suspense).

Setting the mysql_allow_persistent variable to off makes no difference
for me either.

I replaced the libmysql.dll with one from PHP5.2.1, but then the Wiki
reported that it couldn't access php_mysql.dll because access is denied.
I replaced the file again and rebooted the server and that problem is
gone, but I'm still getting 3-4 threads didn't exit. I tried replacing
the file again, and get an exception with a huge stack trace, so I went
back to using the 5.2.3 file.

Btw, Win2k3 and PHP5 are both 64bit installs.


Also, YOU IDIOTS! Spelling out your email address (ie. dudeguy at
domain dot tld) is *not* going to fool an email address harvester! You
need to be more creative!
[EMAIL PROTECTED]/c*m



[2007-08-14 21:45:33] sghasemi at mail dot com

I am getting this error using the PHPMailer to send SMTP e-mails on a
Windows XP PC. It send the mail OK but at the end gives me the error:
Error in my_thread_global_end(): 1 threads didn't exit
Any ideas?



[2007-08-08 01:23:51] xavier at codewordx dot com

So, it looks like this problem has not been fixed. Has it?

Is there a CVS snap to php 521? Or can somebody just email me the
correct libmysql.dll? It would be great to finally fix this issue.

Thanks,
Xavier



[2007-08-02 14:01:32] phpuser at gmail dot com

Please don't forget about php_pdo_mysql.dll!



[2007-07-24 10:45:26] [EMAIL PROTECTED]

Assigning to edink since we need to upgrade the bundled MySQL
libraries.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41350

-- 
Edit this bug report at http://bugs.php.net/?id=41350edit=1


#22233 [Com]: mod_gzip_on yes makes force-cgi-redirect disabled and incorrect PHP_SELF

2003-02-18 Thread thorsten at phpmyfaq dot de
 ID:   22233
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  zlo at canada dot com
 Status:   Verified
 Bug Type: Apache related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.1-dev
 New Comment:

reproduced with PHP 4.3.1 final with Debian Woody 3.0

My configure:
./configure --enable-track-vars=yes --enable-magic-quotes
--enable-versioning --disable-debug --enable-trans-sid
--enable-inline-optimization --enable-track-vars=yes
--enable-track-vars --with-db --with-gdbm --enable-force-cgi-redirect
--enable-mhash --with-openssl --with-iconv --with-mysql=/usr
-with-pgsql=/usr --with-ldap --enable-bcmath --enable-calendar
--enable-ftp --enable-memory-limit --enable-wddx --with-zlib
--with-zlib-dir=/usr/lib --with-ttf=/usr/lib --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gd --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-exif --enable-ctype --enable-shmop
--enable-sysvsem --enable-sysvshm --with-mcrypt --enable-discard-path
--enable-mbstring


Previous Comments:


[2003-02-16 14:05:03] [EMAIL PROTECTED]

reproducable with 4.2.3 and 4.0.6 on windows.



[2003-02-15 18:52:59] [EMAIL PROTECTED]

Reproduced with PHP 4.3.1-dev..




[2003-02-15 18:18:36] zlo at canada dot com

tried that, apparently it's not fixed.
just compiled php4-STABLE-200302152230, problem is still there.
when i turn on mod_gzip, its works like magic!



[2003-02-15 17:23:37] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


This should be fixed already.




[2003-02-15 13:06:48] zlo at canada dot com

when mod_gzip_on yes, PHP's force-cgi-redirect security mechanizm
becomes disabled (urls like /cgi-bin/php/test.php start working) and
PHP_SELF takes on a wrong value (/cgi-bin/php/test.php).
when mod_gzip_on no, both aspects of the problem disappear.
problem has been observed on 2 different systems.
apache version: 1.3.26, 1.3.27
php version: latest snapshot
mod_gzip version: latest
php.ini does not exist.
php's configure:
./configure \
--with-config-file-path=/path/to/php \
--prefix=/path/to/php \
--enable-force-cgi-redirect \
--disable-cli \
--enable-bcmath \
--enable-trans-sid \
--with-zlib-dir=/build/zlib-1.1.4 \
--with-gd=/build/gd-1.8.4 \
--with-png-dir=/build/png-1.2.4 \
--with-jpeg-dir=/build/jpeg-6b \
--with-freetype \

apache's configure:
./configure \
--prefix=/path/to/apache \
--enable-module=so \
--enable-suexec \
--suexec-caller=www \
--suexec-docroot=/www \
no other modules loaded other than mod_gzip.
i thought this could well be PHP's problem. sorry if i'm wrong, then
please direct me to other possible sources of the problem.




-- 
Edit this bug report at http://bugs.php.net/?id=22233edit=1




#22233 [Com]: mod_gzip_on yes makes force-cgi-redirect disabled and incorrect PHP_SELF

2003-02-18 Thread thorsten at phpmyfaq dot de
 ID:   22233
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  zlo at canada dot com
 Status:   Verified
 Bug Type: Apache related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.1-dev
 New Comment:

reproducable also _without_ mod_gzip on Debian Woody and the same
configure


Previous Comments:


[2003-02-18 02:40:09] thorsten at phpmyfaq dot de

reproduced with PHP 4.3.1 final with Debian Woody 3.0

My configure:
./configure --enable-track-vars=yes --enable-magic-quotes
--enable-versioning --disable-debug --enable-trans-sid
--enable-inline-optimization --enable-track-vars=yes
--enable-track-vars --with-db --with-gdbm --enable-force-cgi-redirect
--enable-mhash --with-openssl --with-iconv --with-mysql=/usr
-with-pgsql=/usr --with-ldap --enable-bcmath --enable-calendar
--enable-ftp --enable-memory-limit --enable-wddx --with-zlib
--with-zlib-dir=/usr/lib --with-ttf=/usr/lib --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gd --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-exif --enable-ctype --enable-shmop
--enable-sysvsem --enable-sysvshm --with-mcrypt --enable-discard-path
--enable-mbstring



[2003-02-16 14:05:03] [EMAIL PROTECTED]

reproducable with 4.2.3 and 4.0.6 on windows.



[2003-02-15 18:52:59] [EMAIL PROTECTED]

Reproduced with PHP 4.3.1-dev..




[2003-02-15 18:18:36] zlo at canada dot com

tried that, apparently it's not fixed.
just compiled php4-STABLE-200302152230, problem is still there.
when i turn on mod_gzip, its works like magic!



[2003-02-15 17:23:37] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


This should be fixed already.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22233

-- 
Edit this bug report at http://bugs.php.net/?id=22233edit=1