GNOME Bugzilla – Bug 535295
GLib-GObject-ERROR **: g_type_plugin_*() invalidly modified type '<type name>'
Last modified: 2008-07-25 07:33:12 UTC
(Not sure this is gobject; might also be GIO's module gtypemodule, or those of the programmes involved...) This crash: GLib-GObject-ERROR **: g_type_plugin_*() invalidly modified type '<type name>' where <type name> varies (e.g. most often TotemPlParser, and GLocalFileEnumerator, but also GdkPixbufGifAnim, GThemedIcon, GFileInfo, ECalBackendCache, EGwFilter, ...) has started to show up more frequently in crashes submitted to bugzilla recently, for different Gnome programmes (epiphany, gedit, totem, rhythmbox, evo, ...) I queried some historical data, and it used to be 0 or 1 bug per month with this crash in the last 15 months, until in the last 4 months it went up to 2, 8, 5, 13 bugs per month. That suggests that somehow this is connected to GIO... Most of the type names involved shouldn't be involed with gtypeplugin at all, since they're statically registered... New bug reports that contain the error are bug 515802, bug 519387, bug 520070, bug 521578, bug 523109, bug 523619, bug 524588, bug 525334, bug 527862, bug 527894, bug 530443, bug 531763, bug 531771, bug 531814, bug 531949, bug 532380, bug 532504, bug 532647, bug 532746, bug 533999, bug 534092, bug 534292, bug 535072; older ones are bug 300659, bug 349410, bug 436756, bug 448432, bug 474823, bug 489741, bug 493432. Some of the bugs have traces with symbols, e.g. from bug 527862, but they're not very useful... [Thread 1]
+ Trace 198867
Thread 2 (process 8521)
Bug 349410 suggests that this might be gobject bug #64764, but that's FIXED since 2.15.x, while I still see these crashes with glib 2.16.3. I'm going to try to construct a simple testcase for this.
Created attachment 115213 [details] Test case My app has started crashing like this fairly regularly on my system. I've narrowed it down to the following test case, which crashes out with the error about once every five runs. Notably, comment out g_thread_init() and it never crashes. The bug seems to be something to do with GtkFileChooserWidget, but only when g_thread_init() has been called..
Comment on attachment 115213 [details] Test case This is on ubuntu hardy, so glib 2.16.3 and gtk+ 2.12.9.
Created attachment 115215 [details] Test case Have narrowed this bug down to gtk_file_chooser_*_new(), but only if g_thread_init(NULL) is called still. I'm going to delve into gtk+ and investigate this further.
Actually this is a gobject bug, fixed already. *** This bug has been marked as a duplicate of 537555 ***