keyboard applet sometimes crash when logout

Bug #28180 reported by Ondřej Nový
8
Affects Status Importance Assigned to Milestone
GNOME Applets
Fix Released
Critical
gnome-applets (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Sometimes, gnome keyboard applet crash when i logged out of my gnome
Ubuntu 5.10 - fully updated

BT:
(gdb) run
Starting program: /usr/lib/gnome-applets/gnome-keyboard-applet
[Thread debugging using libthread_db enabled]
[New Thread -1223649600 (LWP 4696)]

// HERE I LOGGED OUT AND:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223649600 (LWP 4696)]
0xb76709a1 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1223649600 (LWP 4696)):
#0 0xb76709a1 in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
#1 0xb797712a in gdk_x11_drawable_get_xid () from /usr/lib/libgdk-x11-2.0.so.0
#2 0x0804f0d2 in GSwitchItAppletFilterXEvt (xev=0xbfba8d4c, event=0x80cbb4c)
    at gswitchit-applet.c:253
#3 0xb79782bb in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#4 0xb7978a91 in gdk_x11_register_standard_event_type ()
   from /usr/lib/libgdk-x11-2.0.so.0
#5 0xb797a9b9 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#6 0xb797ab02 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#7 0xb75604ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#8 0xb75634f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#9 0xb75637e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0xb76d3590 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#11 0xb76d1aab in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
#12 0xb76d1b2f in bonobo_generic_factory_main () from /usr/lib/libbonobo-2.so.0
#13 0xb7f53358 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
#14 0xb7f5342a in panel_applet_factory_main ()
   from /usr/lib/libpanel-applet-2.so.0
---Type <return> to continue, or q <return> to quit---
#15 0x0804efab in main (argc=134792056, argv=0x808c378) at switch.c:37
(gdb)

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

Thanks for your bug/backtrace. Could you get the same with the libglib2.0-0-dbg
libgtk2.0-0-dbg packages installed?

Revision history for this message
Ondřej Nový (onovy) wrote :

sorry, but i can reproduce that error from now (i tried remove that dbg
packages, but no crash now :(
keyboard applet is not crashing, only modem applet (as reported in other bug)

Revision history for this message
Ondřej Nový (onovy) wrote :

can = can't

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

I'm letting the bug as NEEDINFO for now, feel free to attach the backtrace
if/when that happens again

Revision history for this message
Ondřej Nový (onovy) wrote :

ok, got it!
(gdb) thread apply all bt

Thread 1 (process 8821):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb73c79b1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb73c92c9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7eb454a in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
#4 <signal handler called>
#5 0xb76139a1 in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
#6 0xb791a12a in gdk_x11_drawable_get_xid () from /usr/lib/libgdk-x11-2.0.so.0
#7 0x0804f0d2 in GSwitchItAppletFilterXEvt (xev=0xbff4b36c, event=0x80cbca4)
    at gswitchit-applet.c:253
#8 0xb791b2bb in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#9 0xb791ba91 in gdk_x11_register_standard_event_type ()
   from /usr/lib/libgdk-x11-2.0.so.0
#10 0xb791d9b9 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#11 0xb791db02 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#12 0xb75034ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0xb75064f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0xb75067e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#15 0xb7676590 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#16 0xb7674aab in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
---Type <return> to continue, or q <return> to quit---
#17 0xb7674b2f in bonobo_generic_factory_main () from /usr/lib/libbonobo-2.so.0
#18 0xb7ef6358 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
#19 0xb7ef642a in panel_applet_factory_main ()
   from /usr/lib/libpanel-applet-2.so.0
#20 0x0804efab in main (argc=134792296, argv=0x808c468) at switch.c:37

(i get it from core dump)
it is ok?

Ondřej Nový (onovy)
Changed in gnome-applets:
status: Needs Info → Unconfirmed
Revision history for this message
Ondřej Nový (onovy) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the backtrace and the upstream bug/pointer

Revision history for this message
Ondřej Nový (onovy) wrote :

bug is now fixed in Gnome CVS, more information can be found on gnome bugzilla.

Changed in gnome-applets:
status: Unconfirmed → Confirmed
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for the comment, marking as fixed upstream

Changed in gnome-applets:
status: Confirmed → Fix Released
status: Confirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 gnome-applets (2.14.1-0ubuntu1) dapper; urgency=low
 .
   * New upstream release "Codename Sandman":
     - cpufreq - specify the monitored CPU when calling cpufreq-selector
     - gswitchit - fix crash on exit (Malone: #28180)
     - mixer - fix a double-free on quit that would cause the panel to freeze
       under certain conditions
     - Translations: be, bg, en_CA, cs, da, dz, et, fr, he, ka, ms, pt_BR, ro,
       ru, tr.
   * debian/patches/07_mixer_crash_on_logout_fix.patch,
     debian/patches/17_keyboard_applet_symbol_fix.patch:
     - dropped, fix committed upstream.

Changed in gnome-applets:
assignee: seb128 → desktop-bugs
status: Fix Committed → Fix Released
Changed in gnome-applets:
importance: Unknown → Critical
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.