[Bug 766064] basesink: deadlock waiting prerolling while pipeline goes to NULL state

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 6 09:28:15 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #11 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
The state change should've first shut down the fakesink, then deactivated the
fakesink sink pad, and only then went on to deactivate the ghostpad. The first
steps would've unblocked wait_preroll() (and returned FLUSHING) so that the
stream lock is unlocked all the way upstream.

It's expected that you will deadlock if you just shut down elements upstream
while downstream their streaming threads are waiting for something. Something
first has to unlock downstream, or you have to wait until downstream is
finished waiting for whatever it is waiting for.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list