After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664362 - Using Gst.Message methos results in segmentation fault
Using Gst.Message methos results in segmentation fault
Status: RESOLVED DUPLICATE of bug 631901
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.35
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-18 23:40 UTC by Marcus Habermehl (BMH1980)
Modified: 2012-02-19 12:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example script (1.39 KB, text/x-python)
2011-11-18 23:40 UTC, Marcus Habermehl (BMH1980)
Details

Description Marcus Habermehl (BMH1980) 2011-11-18 23:40:07 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
Comment 1 Tim-Philipp Müller 2012-02-19 12:51:34 UTC
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 ***