Fakesink crash on mac

Henning Riis henning.riis at craftwork.dk
Fri Jun 17 13:35:10 UTC 2016


Here's source with a stacktrace padded at the end.

I'm not refcounting since it's just a minimal test for showcasing the crash. 

I hear audio for like 2-5 seconds, then the crash happens.

In case you say this works on your mac (it works fine on my windows machine), can this in any way be due to a bad installation of gstreamer?

I'm running gstreamer 1.8.1.

Best Regards,
Henning 

-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Tim Müller
Sent: Friday, June 17, 2016 3:17 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Fakesink crash on mac

On Fri, 2016-06-17 at 13:06 +0000, Henning Riis wrote:

Hi,

> Further debugging the problem seems to me to indicate that as soon as 
> I add a fakesink as the sink property on playbin, the process will 
> crash soon after setting pipeline to playing state, even if no signals 
> are connected on the fakesink.
>  
> Anyone know anything about this? Is using fakesink like this not 
> recommended practice?

That should work fine. Do you have a stack trace? Are you sure your refcounting is right everywhere else?

 Cheers
  -Tim
-- 

Tim Müller, Centricular Ltd - http://www.centricular.com _______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FakeSinkTest.cpp
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160617/b58d940d/attachment-0001.ksh>


More information about the gstreamer-devel mailing list