GStreamer Failed To Create Thread Warning

Nicolas Dufresne nicolas at ndufresne.ca
Wed Aug 7 01:47:45 UTC 2019


<Le mardi 06 août 2019 à 05:57 -0400, pisymbol . a écrit :
> On Tue, Aug 6, 2019, 4:07 AM arc <armondcapp at gmail.com> wrote:
> > I have a function that constructs a pipeline and plays back a stream URL.
> > 
> > After several calls (20 or more) to this function I see a warning message
> > 
> > "GStreamer-WARNING **: failed to create thread: Error creating thread:
> > 
> > Resource temporarily unavailable". Once I receive that message the pipeline
> > 
> > never enters the playing state.
> > 
> > 
> > 
> > I'm following the example code to cleanup the pipeline calling
> > 
> > gst_element_set_state GST_NULL on the pipeline followed by gst_object_unref,
> > 
> > but apparently there's a issue somewhere. 
> > 
> > 
> > 
> > Most of the examples show a main program that creates creates a pipeline,
> > 
> > plays for some time, cleans up, and exits main. 
> > 
> > 
> > 
> > Is there an example that shows how to playback any number of URL's, or any
> > 
> > idea how to resolve my resource issue?
> 
> Can you set GST_DEBUG=4 and check the logs to maybe narrow down the issue?

You can also set G_DEBUG=fatal_warnings, run this inside gdb and you can retrieve a backtrace.  Something went quite bad to reach this state.
> 
> _______________________________________________gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190806/ec76cb8f/attachment-0001.html>


More information about the gstreamer-devel mailing list