Bug 410695 - gnome weather applet segfaults if LANG is hu_HU
Summary: gnome weather applet segfaults if LANG is hu_HU
Status: RESOLVED UPSTREAM
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.0
: P3 - Medium : Critical (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: should_go_upstream
Depends on:
Blocks:
 
Reported: 2008-07-19 19:34 UTC by Marton Balint
Modified: 2008-08-25 20:19 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marton Balint 2008-07-19 19:34:09 UTC
If I use non-UTF8 hu_HU locale, the weather report applet on the gnome panel segfaults when it tries to display the current temperature.

If LANG is hu_HU.utf-8, the weather applet works fine.
Comment 1 Vincent Untz 2008-07-22 16:12:10 UTC
Can you provide a stack trace?

For this, remove the weather applet. Launch /usr/lib/gnome-panel/gweather-applet-2 in gdb, then add back the applet.
Comment 2 Marton Balint 2008-07-22 18:35:25 UTC
Here it is:

Starting program: /usr/lib/gnome-panel/gweather-applet-2
[Thread debugging using libthread_db enabled]
[New Thread 0x7f15917956f0 (LWP 4123)]
[New Thread 0x42500950 (LWP 4128)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f15917956f0 (LWP 4123)]
0x00007f15880e1e90 in g_markup_escape_text () from /usr/lib64/libglib-2.0.so.0
(gdb) bt
#0  0x00007f15880e1e90 in g_markup_escape_text () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f158e013198 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#2  0x00007f1588377f73 in g_object_set_valist () from /usr/lib64/libgobject-2.0.so.0
#3  0x00007f15883783d4 in g_object_set () from /usr/lib64/libgobject-2.0.so.0
#4  0x000000000040c632 in update_finish (info=0x72aa70, data=<value optimized out>) at gweather-applet.c:414
#5  0x00007f158db59085 in ?? () from /usr/lib64/libgnomevfs-2.so.0
#6  0x00007f15880dd93a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f15880e1040 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f15880e150d in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f158e9ce896 in bonobo_main () at bonobo-main.c:311
#10 0x00007f158e9ccc51 in bonobo_generic_factory_main_timeout (act_iid=<value optimized out>, factory_cb=<value optimized out>,
    user_data=<value optimized out>, quit_timeout=<value optimized out>) at bonobo-generic-factory.c:411
#11 0x00007f15911ba3d1 in panel_applet_factory_main_closure (iid=0x40d140 "OAFIID:GNOME_GWeatherApplet_Factory", applet_type=6832320,
    closure=<value optimized out>) at panel-applet.c:1754
#12 0x000000000040693b in main (argc=1, argv=<value optimized out>) at main.c:65
Comment 3 Vincent Untz 2008-07-23 09:43:46 UTC
Thanks, looks like http://bugzilla.gnome.org/show_bug.cgi?id=535624
This will be handled upstream.
Comment 4 JP Rosevear 2008-08-13 19:36:30 UTC
Re-opening to mark as upstream
Comment 5 Vincent Untz 2008-08-25 20:19:35 UTC
Closing again as RESOLVED/UPSTREAM.