[sldev] [QUESTION] What was issue SL-35450

Tofu Linden tofu.linden at lindenlab.com
Tue Oct 16 13:37:09 PDT 2007


Alissa Sabre wrote:
> Well, although the title of the SL-35450 says: "Startup crash with
> non-english locales (linux client)", my first impression is that the
> crash occurs only under German locale...

It depends on the precise details of locale - most notably, IIRC,
the decimal point (.=okay ,=crash).

> Anyway, I can track the details of the crash with the repro, and I'm
> looking for another solution to the issue other than running GTK event
> loop under C locale.

GTK is pretty happy running multiple event loops.  I believe we're
already running at least two event loops in the viewer sometimes (one
exclusively for Mozilla, one or more for GStreamer).  My advice would
be to add a third, separate GTK/glib event loop, polled in a similar
place as the Mozilla one (llwindowsdl), which isn't protected by the
locale-bracketing (or perhaps more precisely, saves the locale, does
setlocale(LC_ALL,""), polls this event loop, then restores the
previous locale).

Thanks for looking into VWR-2261!

-Tofu


More information about the SLDev mailing list