How to solve GstCaps refcount problem?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to solve GstCaps refcount problem?

yiliang
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
Reply | Threaded
Open this post in threaded view
|

Re: How to solve GstCaps refcount problem?

Tim-Philipp Müller-2
On Thu, 2009-11-12 at 15:45 -0800, Yiliang Bao wrote:

>
> 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?

Which version of GStreamer are you using? Maybe you're running into this
bug (fixed in core 0.10.25):

https://bugzilla.gnome.org/show_bug.cgi?id=583999

?

 Cheers
  -Tim



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to solve GstCaps refcount problem?

yiliang
Hi Tim,

I am using 0.10.24.

I will give it a try. The basic structure looks similar. My pipeline has a tee followed by three branches and there are videoscale (transform element) in 2 of them.

Thanks,
Yiliang

On Thu, Nov 12, 2009 at 3:58 PM, Tim-Philipp Müller <[hidden email]> wrote:
On Thu, 2009-11-12 at 15:45 -0800, Yiliang Bao wrote:
>
> 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?

Which version of GStreamer are you using? Maybe you're running into this
bug (fixed in core 0.10.25):

https://bugzilla.gnome.org/show_bug.cgi?id=583999

?

 Cheers
 -Tim



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel