#21965 [Opn->Fbk]: gettext uses entries out of different files at the same time
| From: | sniper@php.net | Date: | Tue, 15 Jul 2003 07:21:19 +0000 |
| Subject: | #21965 [Opn->Fbk]: gettext uses entries out of different files at the same time | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44016@lists.php.net to get a copy of this message | ||
ID: 21965
Updated by: sniper@php.net
Reported By: thorsten dot kussler at communardo dot de
-Status: Open
+Status: Feedback
Bug Type: Gettext related
Operating System: Solaris
PHP Version: 4.2.3
New Comment:
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
And if it still happens, provide a short test script.
Previous Comments:
------------------------------------------------------------------------
[2003-07-15 02:19:18] thorsten dot kussler at communardo dot de
The configure line was:
'./configure' '--with-oci8=/home/oracle/product/8.1.7'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-gettext=/usr/local'
'--with-ldap=/usr'
and a second version directly compiled with Apache (--with-Apache)
------------------------------------------------------------------------
[2003-07-12 23:37:49] sniper@php.net
I bet this happens with later PHP versions, like 4.3.2 too?
What is the full configure line you have used to configure PHP ??
------------------------------------------------------------------------
[2003-01-30 12:20:35] thorsten dot kussler at communardo dot de
I thought that it might be a problem. PHP is compiled --width-apache
and not as an CGI.
BUT:
I set explicitly the LC_MESAGES var infront of each call of gettext
because of that.
The behavior is the same if i'm the only user on the server.
How is that behavior explicable with thread conflicts ???
I have no idea
>iliaa
have you any other experiences with that phenomena or examples of
problematic system configurations?
------------------------------------------------------------------------
[2003-01-30 11:43:10] iliaa@php.net
Are you using gettext in multi-threaded enviroment if so, that would
explain the behaviour you are seeing because gettext is NOT
thread-safe.
------------------------------------------------------------------------
[2003-01-30 11:00:54] thorsten dot kussler at communardo dot de
This behavior is reproduceable on Solaris 7.x and 2.6
------------------------------------------------------------------------
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/21965
--
Edit this bug report at http://bugs.php.net/?id=21965&edit=1