GNOME Bugzilla – Bug 304551
gstbus check failure
Last modified: 2006-05-15 18:49:41 UTC
run gstbus on a threaded machine running it in gdb with CK_FORK=no: (gdb) r Starting program: /home/thomas/gst/head/gstreamer/check/gst/.libs/lt-gstbus [Thread debugging using libthread_db enabled] [New Thread -1208534560 (LWP 15131)] Running suite(s): GstBus[New Thread -1210668112 (LWP 15132)] [New Thread -1221157968 (LWP 15133)] [New Thread -1231647824 (LWP 15134)] [New Thread -1242137680 (LWP 15135)] [New Thread -1252627536 (LWP 15136)] [New Thread -1263117392 (LWP 15137)] GLib-GObject-ERROR **: g_type_plugin_*() invalidly modified type `GstMessage' aborting... [New Thread -1273607248 (LWP 15138)] Program received signal SIGABRT, Aborted.
+ Trace 59818
Thread NaN (LWP 15132)
doing g_type_class_ref/unref during _init (when there's only one thread) seems to fix it.
fixed in head
Do we know why this is ? I was able to reproduce it with other types like : GLib-GObject-ERROR **: g_type_plugin_*() invalidly modified type `GstFormat' I'll patch all mini_objects derived types with ref/unref but if I could understand a bit more how it helps it would be nice... Thanks
And i'm trying to figureout why this is limited to mini_object types... ? Since GstFormat isn't one... but it's from a GstEvent so it could be somehow.. just if you know why it is limmited to them i'd like to know :)