[Bug 648531] New: Segfaults with Gst.Discoverer (Python - GObject-Introspection)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Apr 23 16:26:20 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=648531
GStreamer | gst-plugins-base | 0.10.32
Summary: Segfaults with Gst.Discoverer (Python -
GObject-Introspection)
Classification: Platform
Product: GStreamer
Version: 0.10.32
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: seven.issimo at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=186538)
--> (https://bugzilla.gnome.org/attachment.cgi?id=186538)
Python code to test GstDiscoverer through GObject-Introspection
I'm currently trying to use GStreamer in python to obtain info from media (i.e.
tag from audio files) and to do this I would use new feature such as
GObject-Introspection
Unluckly GstDiscoverer seem to be broken due to some type casting error.
Running simple test code (attached) in python2.7, this is the result you get:
/usr/lib/python2.7/site-packages/gi/types.py:44: Warning: g_object_get_qdata:
assertion `G_IS_OBJECT (object)' failed
return info.invoke(*args)
Segmentation fault
This is the result of running in python3.2:
/usr/lib/python3.2/site-packages/gi/types.py:44: Warning: g_object_get_qdata:
assertion `G_IS_OBJECT (object)' failed
return info.invoke(*args)
/usr/lib/python3.2/site-packages/gi/types.py:44: Warning: g_type_get_qdata:
assertion `node != NULL' failed
return info.invoke(*args)
/usr/lib/python3.2/site-packages/gi/types.py:44: Warning: g_ascii_strncasecmp:
assertion `s2 != NULL' failed
return info.invoke(*args)
Segmentation fault
I don't know how is introspection supported in GStreamer, neither I can tell if
type casting problems depends on GStreamer or PyGObject.
---
gstreamer0.10-base-plugins : 0.10.32-4
py3gobject : 2.28.4-1
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list