a GTK-using application crashes, when LANG is set to non-UTF8
Mikhail T.
mi+thun at aldan.algebra.com
Wed Jun 30 15:27:43 UTC 2010
29.06.2010 18:38, I wrote:
29.06.2010 15:49, I wrote:
A user I support is struggling with an application (cairo-dock +
plugins), that crashes inside gtk/glib (stack below), when the LANG
environment variable is set to something like ru_RU.KOI8-R.
Using ru_RU.UTF-8 works fine and the application speaks Russian in
both GUI and (rather chatty) stderr/stdout. I suspect, some common
mistake is made by the application's author -- any chance, we can
quickly patch it up in the port?
This seems like a similar problem:
[1]http://defect.opensolaris.org/bz/show_bug.cgi?id=11936
Ivan -- the maintainer of the cairo-dock ports (CC-ed) -- has
confirmed, that compiling devel/glib20 with -D__STDC_ISO_10646__
eliminates the crash and allows the application (cairo-dock) to come
up and properly "speak" in the requested language using the non-UTF
charset:
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CFLAGS="-D__STDC_ISO_10646__" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
Or, perhaps, this can be controlled by the the glib20-port's
"COLLATION_FIX" knob? If so, then it should be set on by default...
Would it speed things up, if I file an (urgent) PR regarding this? I
think, it would be prudent to ship 8.1 with this problem resolved...
Please, advise. Thanks!
-mi
References
1. http://defect.opensolaris.org/bz/show_bug.cgi?id=11936
More information about the freebsd-gnome
mailing list