GNOME Bugzilla – Bug 326189
modem applet sometimes crash when logout
Last modified: 2010-01-24 01:06:57 UTC
That bug has been described on http://bugzilla.ubuntu.com/show_bug.cgi?id=21847 "Sometimes, gnome modem applet crash when i loged out of my gnome ... > Thanks for your bug. What version of Ubuntu do you use? How do you notice it crashes? Could you get a backtrace of the crash (https://wiki.ubuntu.com/DebuggingProgramCrash)? ... i have another bt: (gdb) run Starting program: /usr/lib/gnome-applets/modem_applet [Thread debugging using libthread_db enabled] [New Thread -1223547200 (LWP 5668)] // HERE I LOGGED OUT (modem_applet:5668): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)' Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1223547200 (LWP 5668)] update_tooltip (applet=0x80c08a8) at modem-applet.c:728 728 modem-applet.c: není souborem ani adresářem. (this means no such file or directory) in modem-applet.c (gdb) thread apply all bt
+ Trace 65035
Thread 1 (Thread -1223547200 (LWP 5668))
I bet that update_tooltip is called after having the applet freed, g_source_remove () should be used on priv->tooltip_id ()
Created attachment 56960 [details] [review] unregister the tooltip update I don't have a modem on my box and it doesn't crash for me but that should fix the issue, we unregister the tooltip update before the applet
Looks good. Put it in HEAD. Thanks, Seb.
Fix commited: 2006-01-08 Sebastien Bacher <seb128@debian.org> * modem-applet.c: (shutdown_backend): stop updating the tooltip when the applet is removed, fix a crasher (Closes: #326189)