Weather applet can't be added to panel.

Bug #28799 reported by Mark W. Tomlinson
12
Affects Status Importance Assigned to Milestone
GNOME Applets
Fix Released
Medium
gnome-applets (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Distribution: Ubuntu 6.04 (dapper)
Package: gnome-applets
Severity: Normal
Version: GNOME2.13.5 0
Gnome-Distributor: Ubuntu
Synopsis: Weather applet can't be added to panel.
Bugzilla-Product: gnome-applets
Bugzilla-Component: gweather
Bugzilla-Version: 0
BugBuddy-GnomeVersion: 2.0 (2.13.2)
Description:
Description of the crash: When trying to add the Weather applet to the
panel, it goes into an "error/reload" cycle - you have to select "no"
for reload after crash.

Tags: iso-testing
lexual (lexhider)
Changed in gnome-applets:
status: Unconfirmed → Confirmed
Revision history for this message
Manu Cornet (lmanul) wrote :

I can confirm this. Not sure how to debug it, though... Happens with an up-to-date dapper.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Could you run /usr/lib/gnome-applets/gweather-applet-2 from a command line before adding it to the panel so it uses that version and you can read the messages or run it gdb?

Changed in gnome-applets:
assignee: nobody → desktop-bugs
status: Confirmed → Needs Info
Revision history for this message
Mark W. Tomlinson (mark-tomlinson) wrote :

Okay, I ran /usr/lib/gnome-applets/gweather-applet-2 from a terminal (both normal and sudo), tried to add it to the panel and got "The Application "gweather-applet-2" has quit unexpectedly." It then went into the same "error/reload" cycle I described originally.

Sorry, I don't know what "run it gdb" means - if there are directions somewhere, I'll be glad to try it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for working on that. So first install the gnome-applets-dbg package. Then from the command line do that:
- gdb /usr/lib/gnome-applets/gweather-applet-2
(gdb) run
[add the panel]
... you should get the crash message on the command line
(gdb) thread apply all bt

And copy that to a command. What locale do you use?

Revision history for this message
lexual (lexhider) wrote :
Download full text (3.3 KiB)

(gdb) run
Starting program: /usr/lib/gnome-applets/gweather-applet-2
[Thread debugging using libthread_db enabled]
[New Thread -1224533792 (LWP 7462)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224533792 (LWP 7462)]
0xb78d1124 in ?? () from /usr/lib/libgweather.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1224533792 (LWP 7462)):
#0 0xb78d1124 in ?? () from /usr/lib/libgweather.so.0
#1 0xb78d7779 in gweather_gconf_get_location (ctx=0x80a0308)
    at gweather-gconf.c:252
#2 0xb78d6df7 in gweather_prefs_load (prefs=0x80dd8b4, ctx=0x80a0308)
    at gweather-prefs.c:243
#3 0x0804d2b2 in gweather_applet_factory (applet=0x80bf000,
    iid=0x80b7ca8 "OAFIID:GNOME_GWeatherApplet", data=0x0) at main.c:44
#4 0xb7efc291 in panel_applet_marshal_BOOLEAN__STRING ()
   from /usr/lib/libpanel-applet-2.so.0
#5 0xb7968798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6 0xb73c043a in bonobo_closure_invoke_va_list ()
   from /usr/lib/libbonobo-2.so.0
#7 0xb73c0728 in bonobo_closure_invoke () from /usr/lib/libbonobo-2.so.0
#8 0xb7ef8568 in panel_applet_get_type () from /usr/lib/libpanel-applet-2.so.0
#9 0xb7975663 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#10 0xb7968798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0xb7978715 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#12 0xb797a238 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0xb797a589 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0xb7e3a918 in bonobo_control_add_listener ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libbonoboui-2.so.0
#15 0xb73c1cbf in _ORBIT_skel_small_Bonobo_Control_setFrame ()
   from /usr/lib/libbonobo-2.so.0
#16 0xb7358474 in ORBit_POA_setup_root () from /usr/lib/libORBit-2.so.0
#17 0xb735cfe6 in ORBit_OAObject_invoke () from /usr/lib/libORBit-2.so.0
#18 0xb7349fab in ORBit_small_invoke_adaptor () from /usr/lib/libORBit-2.so.0
#19 0xb735878e in ORBit_POAObject_post_invoke () from /usr/lib/libORBit-2.so.0
#20 0xb7358def in ORBit_POAObject_post_invoke () from /usr/lib/libORBit-2.so.0
#21 0xb735b845 in ORBit_c_stub_invoke () from /usr/lib/libORBit-2.so.0
#22 0xb735cda2 in ORBit_handle_request () from /usr/lib/libORBit-2.so.0
#23 0xb7346eb0 in giop_connection_handle_input () from /usr/lib/libORBit-2.so.0
#24 0xb7363614 in link_connection_set_max_buffer ()
   from /usr/lib/libORBit-2.so.0
#25 0xb736554b in link_servers_move_io_T () from /usr/lib/libORBit-2.so.0
#26 0xb78ff547 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb7902606 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#28 0xb7902928 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0xb73ae4d0 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#30 0xb73aca01 in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
#31 0xb73aca85 in bonobo_generic_factory_main () from /usr/lib/libbonobo-2.so.0
#32 0xb7ef9ec8 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
---Type <return> to continue, or q <return> to quit---
#33 0xb7ef9f9a in panel_applet_factory_main ()
   from /usr...

Read more...

Revision history for this message
lexual (lexhider) wrote :

lexhider@ubuntu:~$ locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=

Revision history for this message
Sebastien Bacher (seb128) wrote :

According to the backtrace that's known upstream as http://bugzilla.gnome.org/show_bug.cgi?id=327406

Changed in gnome-applets:
status: Needs Info → Confirmed
status: Unconfirmed → Confirmed
Revision history for this message
Mark W. Tomlinson (mark-tomlinson) wrote :
Download full text (3.8 KiB)

If you need more than Lex's dbg output:

### Start gdb output ###

(gdb) run
Starting program: /usr/lib/gnome-applets/gweather-applet-2
[Thread debugging using libthread_db enabled]
[New Thread -1224369952 (LWP 6034)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224369952 (LWP 6034)]
0xb78f9124 in ?? () from /usr/lib/libgweather.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1224369952 (LWP 6034)):
#0 0xb78f9124 in ?? () from /usr/lib/libgweather.so.0
#1 0xb78ff779 in gweather_gconf_get_location (ctx=0x80e4108)
    at gweather-gconf.c:252
#2 0xb78fedf7 in gweather_prefs_load (prefs=0x80eca84, ctx=0x80e4108)
    at gweather-prefs.c:243
#3 0x0804d2b2 in gweather_applet_factory (applet=0x80cd800,
    iid=0x80e3730 "OAFIID:GNOME_GWeatherApplet", data=0x0) at main.c:44
#4 0xb7f24291 in panel_applet_marshal_BOOLEAN__STRING ()
   from /usr/lib/libpanel-applet-2.so.0
#5 0xb7990798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6 0xb73e843a in bonobo_closure_invoke_va_list ()
   from /usr/lib/libbonobo-2.so.0
#7 0xb73e8728 in bonobo_closure_invoke () from /usr/lib/libbonobo-2.so.0
#8 0xb7f20568 in panel_applet_get_type () from /usr/lib/libpanel-applet-2.so.0
#9 0xb799d663 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#10 0xb7990798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0xb79a0715 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#12 0xb79a2238 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0xb79a2589 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0xb7e62918 in bonobo_control_add_listener ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libbonoboui-2.so.0
#15 0xb73e9cbf in _ORBIT_skel_small_Bonobo_Control_setFrame ()
   from /usr/lib/libbonobo-2.so.0
#16 0xb7380474 in ORBit_POA_setup_root () from /usr/lib/libORBit-2.so.0
#17 0xb7384fe6 in ORBit_OAObject_invoke () from /usr/lib/libORBit-2.so.0
#18 0xb7371fab in ORBit_small_invoke_adaptor () from /usr/lib/libORBit-2.so.0
#19 0xb738078e in ORBit_POAObject_post_invoke () from /usr/lib/libORBit-2.so.0
#20 0xb7380def in ORBit_POAObject_post_invoke () from /usr/lib/libORBit-2.so.0
#21 0xb7383845 in ORBit_c_stub_invoke () from /usr/lib/libORBit-2.so.0
#22 0xb7384da2 in ORBit_handle_request () from /usr/lib/libORBit-2.so.0
#23 0xb736eeb0 in giop_connection_handle_input () from /usr/lib/libORBit-2.so.0
#24 0xb738b614 in link_connection_set_max_buffer ()
   from /usr/lib/libORBit-2.so.0
#25 0xb738d54b in link_servers_move_io_T () from /usr/lib/libORBit-2.so.0
#26 0xb7927547 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb792a606 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#28 0xb792a928 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0xb73d64d0 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#30 0xb73d4a01 in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
#31 0xb73d4a85 in bonobo_generic_factory_main () from /usr/lib/libbonobo-2.so.0
#32 0xb7f21ec8 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
---Type <return> to continue, or q <return> to ...

Read more...

Revision history for this message
Alan Claunch (aclaunch) wrote :

Started for me 1/24/06 after most recent upgrades.
Here is the output from gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208637760 (LWP 18319)]
0xb7fcc124 in g_free@plt () from /usr/lib/libgweather.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1208637760 (LWP 18319)):
#0 0xb7fcc124 in g_free@plt () from /usr/lib/libgweather.so.0
#1 0xb7fd2779 in gweather_gconf_get_location () from /usr/lib/libgweather.so.0
#2 0xb7fd1df7 in gweather_prefs_load () from /usr/lib/libgweather.so.0
#3 0x0804d2b2 in ?? ()
#4 0x080ebd24 in ?? ()
#5 0x080a1fd8 in ?? ()
#6 0x00000000 in ?? ()

 locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en_GB:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Revision history for this message
Mark W. Tomlinson (mark-tomlinson) wrote :

The gnome-applets and gnome-applets-data updates this morning (02/13/06, c. 08:45 EST) seem to have fixed the problem. I'm now looking at a chilly 28 degrees F with light snow in Canton, Georgia on my taskbar.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your comment, closing as fixed

Changed in gnome-applets:
status: Confirmed → Fix Released
status: Confirmed → Fix Released
tags: added: iso-testing
Changed in gnome-applets:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.