GNOME Bugzilla – Bug 789844
adaptivedemux: deadlock on task stop
Last modified: 2018-11-03 14:14:59 UTC
Created attachment 362871 [details] [review] if the streams are not cancelled during task stop and we are in prerolling then unblock the data push thread. The deadlock is observed when we quickly do start-stop pipeline. The other use case if you push new mpd buffer to adaptivedemux and then shutdown the pipeline.
Thanks for the patch, but could you please provide a git format-patch formatted patch with author info and commit message?
Ravi: ping? Also: the preroll_cond is g_cond_broadcast() right after this for loop inside of which you add the additional g_cond_broadcast, and there is nothing inside the loop that should block/hang as far as I can tell, other than the lock (but your addition is inside the lock taken, so that can't be a problem). Are both really needed? What is the stack trace when it hangs?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/627.