[gst-devel] How to solve GstCaps refcount problem?

Yiliang Bao yiliangb at gmail.com
Fri Nov 13 00:45:16 CET 2009


Hi,

I constantly run into GstCaps refcount problem. The pipeline runs for a
period of time (not fixed, usually somewhere between 300 to 400 seconds in
my pipeline), and suddenly it generates the following assertions and
crashes. It happens repeatedly on a PC with quadcore i7 CPU, but I have not
seen it happen on the PC with dualcore E5300. The problem happens mostly at
the src or sink pad of videoscale element. 

I tried to look into the issue, but it is clearly beyond my understanding of
gstreamer at this point to solve the problem. Has anyone seen or solved a
similar problem? 

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_caps_ref: assertion
`GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_pad_set_caps: assertion
`caps == NULL || gst_caps_is_fixed (caps)' failed

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_caps_copy: assertion
`GST_IS_CAPS (caps)' failed

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_caps_unref: assertion
`GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_caps_copy: assertion
`GST_IS_CAPS (caps)' failed

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_caps_copy: assertion
`GST_IS_CAPS (caps)' failed

(DvrLocalServer:24395): GStreamer-CRITICAL **: gst_caps_intersect: assertion
`GST_IS_CAPS (caps2)' failed

Thanks,
Yiliang

-- 
View this message in context: http://old.nabble.com/How-to-solve-GstCaps-refcount-problem--tp26328512p26328512.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list