I have an app that uses fakesink to access pixel data from video. This works fine on windows. When running on mac I will get a segmentation fault. 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? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Henning Riis
On Fr, 2016-06-17 at 13:06 +0000, Henning Riis wrote:
> I have an app that uses fakesink to access pixel data from video. > > This works fine on windows. When running on mac I will get a > segmentation fault. > > 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? want to use sync=true on the fakesink, which should be unrelated to your problem. How does it crash? Please get a backtrace and provide more information. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
In reply to this post by Tim Müller
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:[hidden email]] On Behalf Of Tim Müller Sent: Friday, June 17, 2016 3:17 PM To: [hidden email] 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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel FakeSinkTest.cpp (3K) Download Attachment |
On Fr, 2016-06-17 at 13:35 +0000, Henning Riis wrote:
> 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. Maybe it helps, maybe not. If it doesn't help, please file a bug here with all this information: https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Free forum by Nabble | Edit this page |