Bug#443660: libc6: dgettext not thread-safe

2007-09-23 Thread Pierre Habouzit
On Sun, Sep 23, 2007 at 10:37:59AM +, Rémi Denis-Courmont wrote: > Le Sunday 23 September 2007 12:15:31 Pierre Habouzit, vous avez écrit : > > On Sun, Sep 23, 2007 at 08:15:45AM +, Rémi Denis-Courmont wrote: > > > #include > > > #include > > > #include > > > #include > > > > > > static

Bug#443660: libc6: dgettext not thread-safe

2007-09-23 Thread Rémi Denis-Courmont
Le Sunday 23 September 2007 12:15:31 Pierre Habouzit, vous avez écrit : > On Sun, Sep 23, 2007 at 08:15:45AM +, Rémi Denis-Courmont wrote: > > #include > > #include > > #include > > #include > > > > static void *run (void *dummy) > > { > > (void)dummy; > > > > for (;;) > >

Bug#443660: libc6: dgettext not thread-safe

2007-09-23 Thread Pierre Habouzit
On Sun, Sep 23, 2007 at 08:15:45AM +, Rémi Denis-Courmont wrote: > #include > #include > #include > #include > > static void *run (void *dummy) > { > (void)dummy; > > for (;;) > printf ("Translation code: %s\n", dgettext("vlc", "C")); > } > > int main (voi

Bug#443660: libc6: dgettext not thread-safe

2007-09-23 Thread Rémi Denis-Courmont
Package: libc6 Version: 2.6.1-5 Severity: important Tags: l10n Hello, Recent version of libc6 seems to include a libintl that regularly crashes when gettext is invoked from different threads simultaneously. This renders gettext mostly unusable on multi-threaded software. I had been suspe