Comment 4 for bug 599947

Revision history for this message
Fabounet (fabounet03) wrote : Re: [Bug 599947] Re: non-UTF locale causes crash

I think it's more a problem in GTK, because the crash occurs when we build
the list of views (more precisely, a GtkListStore).
The views are translated, and probably GTK can't deal with non UTF8 locale.
I think we should link this bug to GTK.

2010/6/30 Міхаіл Т.
<<email address hidden><mi%<email address hidden>>
>

> KOI8 in general is the first charset in the USSR. There are several
> standards now. KOI8-R and KOI8-U (the latter adds non-Russian Cyrillics
> to the former are the most common).
>
> Similar problems with other Gnome-using applications are being discussed
> here:
>
> http://defect.opensolaris.org/bz/show_bug.cgi?id=11936
> http://defect.opensolaris.org/bz/show_bug.cgi?id=11363
>
> but I can't figure out, what the resolution is/was...
>
> ** Bug watch added: defect.opensolaris.org/bz/ #11936
> http://defect.opensolaris.org/bz/show_bug.cgi?id=11936
>
> ** Bug watch added: defect.opensolaris.org/bz/ #11363
> http://defect.opensolaris.org/bz/show_bug.cgi?id=11363
>
> --
> non-UTF locale causes crash
> https://bugs.launchpad.net/bugs/599947
> You received this bug notification because you are a bug assignee.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> 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.
>
> (gdb) where
> #0 0x2938be24 in strcmp () from /lib/libc.so.7
> #1 0x28e07b2a in g_utf8_collate () from /opt/lib/libglib-2.0.so.0
> #2 0x287cf135 in gtk_tooltip_trigger_tooltip_query () from
> /opt/lib/libgtk-x11-2.0.so.0
> #3 0x286e3027 in gtk_link_button_new_with_label () from
> /opt/lib/libgtk-x11-2.0.so.0
> #4 0x286e3486 in gtk_link_button_new_with_label () from
> /opt/lib/libgtk-x11-2.0.so.0
> #5 0x286e521c in gtk_list_store_set_valist () from
> /opt/lib/libgtk-x11-2.0.so.0
> #6 0x286e5282 in gtk_list_store_set () from
> /opt/lib/libgtk-x11-2.0.so.0
> #7 0x080ce3c0 in _cairo_dock_add_one_renderer_item
> (cName=0x2bc2c308 "Rainbow", pRenderer=0x2e772490,
> pModele=0x2e16e700) at cairo-dock-gui-factory.c:844
> #8 0x28dc8434 in g_hash_table_foreach () from /opt/lib/libglib-2.0.so.0
> #9 0x080ce4c5 in cairo_dock_build_renderer_list_for_gui
> (pHashTable=0x2ba34cc0) at cairo-dock-gui-factory.c:852
> #10 0x080a0e93 in cairo_dock_update_renderer_list_for_gui () at
> cairo-dock-renderer-manager.c:398
> #11 0x080722d7 in cairo_dock_read_conf_file (
> cConfFilePath=0x2bc2e200
> "/home/s/.config/cairo-dock/current_theme/cairo-dock.conf",
> pDock=0x2ba81c00)
> at cairo-dock-config.c:734
> #12 0x0809586f in cairo_dock_load_current_theme () at
> cairo-dock-themes-manager.c:1194
> #13 0x08069fba in main (argc=1, argv=0xbfbfec60) at cairo-dock.c:688
>
>
>