GNOME Bugzilla – Bug 664362
Using Gst.Message methos results in segmentation fault
Last modified: 2012-02-19 12:51:34 UTC
Created attachment 201691 [details] example script If I'm trying to use methods or attributes of Gst.Message (Python/introspection) I get a segmentation fault. I'm attaching a very basic Python script that should read the tags of a given file. The script abort with: /usr/lib/python2.7/dist-packages/gi/types.py:43: Warning: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed return info.invoke(*args, **kwargs) /usr/lib/python2.7/dist-packages/gi/types.py:43: Warning: g_object_ref_sink: assertion `G_IS_OBJECT (object)' failed return info.invoke(*args, **kwargs) ** (gsttest.py:30981): CRITICAL **: pygobject_register_wrapper: assertion `PyObject_TypeCheck(self, &PyGObject_Type)' failed /usr/lib/python2.7/dist-packages/gi/types.py:43: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed return info.invoke(*args, **kwargs) *** Now the script executes gst_message_parse_tag() Segmentation fault
pygi is not going to work well with gstreamer 0.10. Use pygst + gstreamer 0.10, or pygi + the still unstable gstreamer 0.11. *** This bug has been marked as a duplicate of bug 631901 ***