Re: Crashes with latest gtk+2.0-2.2.2 package
Hi.
The crashes I'd seen in GTK I'd manage to pin down to the
glib/gunicollate.c file and the g_utf8_collate_key() function. This
function makes the following call:
setlocale(LC_COLLATE, "");
I do not have LC_COLLATE defined in my environment, and this seems to be
the key. I'd thought the bug was in the glibc wcsxfrm() function because
I was seeing memory corruption in it, and had a test case that
demonstrated this. An exchange of e-mails with glibc developers showed
that if I run my test case with LC_COLLATE defined in my environment the
memory corruption goes away, and the glibc library works as promised.
I am curious now to know if people who have not been seeing crashes have
LC_COLLATE defined in their environment and what it is defined as. Is
this variable, and other LC_* variables for that matter, something that
should be defined always?
Art Haas
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
Reply to: