GNOME Bugzilla – Bug 573768
gnome-keyring-daemon crashed with SIGSEGV in g_type_class_ref()
Last modified: 2010-03-19 04:06:52 UTC
This bug has been opened on http://bugs.launchpad.net/bugs/336447 "Binary package hint: gnome-keyring after i logged in i couldnt find my ntfs partitions in the places menu so i restarted and got a message of a crash report. this is on a jaunty alpha 5 install. gnome-keyring 2.25.91-0ubuntu1 Debug stacktrace for the crash:
+ Trace 213065
Hmm, it seems to be warning about something. Is there any output from gnome-keyring in ~/.xsession-errors? Or /var/log/auth.log? Could you attach it to this bug.
Created attachment 129917 [details] .xsession-errors
Created attachment 129919 [details] auth.log
Hmmm, I think this has to do with bug #537555 in glib. I'll post something on the GTK mailing list. Could you check what version of glib you have installed?
i couldn't find any package named glib, closest i found was libglib2.0-0 version: 2.19.10-0ubuntu1. i am a total noob so i don't know. i looked at the xsession-errors and saw a lot of complaining on some custom themes i downloaded from gnome-look and deviantart. those themes were meant for older ubuntus, could that have been the cause of this crash?
In GStreamer we _ref all kind of classes before we go into multi-threaded operations, because of that (look at gstreamer/gst/gst.c::init_post()).
Thanks Stefan. I guess these are never unrefed anywhere, right? So it would be a small (but perhaps acceptable) memory leak if gstreamer was unloaded. Do you meticulously track all the types in gstreamer add them to that list? Or have you somehow found a way to determine which ones will be problematic. kas, can you try gnome-keyring-2.25.92 and see if this is fixed for you?
yes, its a static allocation that is ever freed until the process that ses gstreamer is terminated. The memory allocated by the gtype system in anyway never released. And you are right, we are carefully watching new types in the core module and add them there. Basically we need to add all those there which might otherwise be first used from a different thread-context.
i don't know how to reproduce the crash, it happened just twice on .91. yesterday ubuntu updated it to .92, and it hasn't crashed on me yet. i will let you know if it does.
Kas, did you get similar crash any time later ? Can you please try in 2.26.x/ 2.28.x and report back, thanks.
Closing this bug report as no further information has been provided. Please feel free to reopen the bug if the problem still occurs with a newer version of GNOME 2.28.2 or later, thank