GNOME Bugzilla – Bug 522247
rhythmbox crashed with SIGSEGV in g_type_create_instance()
Last modified: 2008-11-17 11:12:16 UTC
Steps to reproduce: 1) launch r-b 2) go to Podcasts section 3) click the refresh button 4) double click on a new podcast to download it 5) *boom* Stack trace:
+ Trace 192311
Other information: This bug was initially reported to ubuntu by Michael R. Head and Nicholas Marquez. For more information, eg. a threaded stacktrace see https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/199319 Thanks,
Your steps to reproduce the crash do not match up with the stack trace. It appears that step 4 is unneccessary.
Yeah, it's not perfectly reproduceable. I could only report what I remembered doing when the crash happened. I have another crash at https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/204103 which is presumably the same. (I believe) I had just launched r-b and refreshed the podcast feeds.
A similar bug was reported in Debian. There's a stack trace available: http://bugs.debian.org/476207
*** Bug 527877 has been marked as a duplicate of this bug. ***
Created attachment 110463 [details] [review] Patch As I noted in the Debian bug report, I think this is a bug in GObject, since it's creating a TotemPlParser object in one thread while another thread is still initializing the TotemPlParser class. The attached patch should prevent GObject from creating an object until the class is initialized.
Push to glib.
Tim, can you review the patch ?
(In reply to comment #5) > Created an attachment (id=110463) [edit] > Patch > > As I noted in the Debian bug report, I think this is a bug in GObject, since > it's creating a TotemPlParser object in one thread while another thread is > still initializing the TotemPlParser class. The attached patch should prevent > GObject from creating an object until the class is initialized. TypeClass peeking needs to remain possible during class initialization, and I have a more streamlined version of _ref in mind: 2008-06-10 13:15:29 Tim Janik <timj@imendio.com> * gtype.c (g_type_class_ref): fixed race condition where references to partially initialized classes could be handed out.
*** Bug 522224 has been marked as a duplicate of this bug. ***
*** Bug 539824 has been marked as a duplicate of this bug. ***
*** Bug 528869 has been marked as a duplicate of this bug. ***
*** Bug 533446 has been marked as a duplicate of this bug. ***
*** Bug 535510 has been marked as a duplicate of this bug. ***
*** Bug 535700 has been marked as a duplicate of this bug. ***
*** Bug 525954 has been marked as a duplicate of this bug. ***
*** Bug 525334 has been marked as a duplicate of this bug. ***