From owner-freebsd-gnome@FreeBSD.ORG Tue Jun 29 20:30:45 2010 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D1CB106566B for ; Tue, 29 Jun 2010 20:30:45 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from mail2.timeinc.net (mail2.timeinc.net [64.236.74.30]) by mx1.freebsd.org (Postfix) with ESMTP id 36FEE8FC0C for ; Tue, 29 Jun 2010 20:30:44 +0000 (UTC) Received: from mail.timeinc.net (mail.timeinc.net [64.12.55.166]) by mail2.timeinc.net (8.13.8/8.13.8) with ESMTP id o5TJndog026539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Jun 2010 15:49:39 -0400 Received: from ws-mteterin.dev.pathfinder.com (ws-mteterin.dev.pathfinder.com [209.251.223.173]) by mail.timeinc.net (8.13.8/8.13.8) with SMTP id o5TJndMJ002126; Tue, 29 Jun 2010 15:49:39 -0400 Message-ID: <4C2A4E53.8050408@aldan.algebra.com> Date: Tue, 29 Jun 2010 15:49:39 -0400 From: mi@aldan.algebra.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; uk; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: gnome@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: a GTK-using application crashes, when LANG is set to non-UTF8 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 20:30:45 -0000 Hello! 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? Thanks! Yours, -mi (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