← Back to team overview

cairo-dock-team team mailing list archive

[Bug 599947] Re: non-UTF locale causes crash

 

I invalidate this bug, since the glib (and gtk) is supposed to work with UTF-8 strings.
a workaround would be in your case to set a correct LANG when launching the dock (can be put inside a script).

** Changed in: cairo-dock-core
       Status: New => Won't Fix

-- 
non-UTF locale causes crash
https://bugs.launchpad.net/bugs/599947
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Core.

Status in Cairo-Dock : Core: Won't Fix

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





References