[gstreamer-bugs] [Bug 583999] New: Segfault after adding elements to a pipeline
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed May 27 06:27:05 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=583999
GStreamer | don't know | Ver: git
Summary: Segfault after adding elements to a pipeline
Product: GStreamer
Version: git
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: don't know
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: luca.ognibene at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Look at the test code attached and try to run it, it'll segfault after a a
couple of seconds. What the test-code does is:
- define a new bin subclass
- a single sink pad and multiple src request pads
- there is a tee element inside it
- whenever someone request a bin pad the bin request a tee pad, add some
elements and return the ghost pad
- test client will request a new pad from the bin every N seconds and attach
queue ! fakesink and check if buffers arrive at the fakesink element
If you run it you'll see this output:
(filtersbin2.py:6297): GStreamer-CRITICAL **: gst_caps_is_fixed: assertion
`GST_IS_CAPS (caps)' failed
(filtersbin2.py:6297): GStreamer-CRITICAL **: gst_caps_is_any: assertion
`GST_IS_CAPS (caps)' failed
(filtersbin2.py:6297): GStreamer-CRITICAL **: gst_caps_is_empty: assertion
`GST_IS_CAPS (caps)' failed
(filtersbin2.py:6297): GStreamer-CRITICAL **: gst_caps_is_any: assertion
`GST_IS_CAPS (caps)' failed
(filtersbin2.py:6297): GStreamer-CRITICAL **: gst_caps_is_empty: assertion
`GST_IS_CAPS (caps)' failed
Segmentation fault
Looking at the GST_DEBUG output it seems a GstCaps is freed while still being
used by a buffer. I don't know if i'm doing something wrong or if there's
really a bug in gstreamer but i've already asked on the gst-ml and no-one was
able to help me.. i did a lot of tests and always found this problem.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=583999.
More information about the Gstreamer-bugs
mailing list