[Bug 767169] New: adaptivedemux: avoid possible deadlock while destroying old sources

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 2 15:56:11 UTC 2016


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

            Bug ID: 767169
           Summary: adaptivedemux: avoid possible deadlock while
                    destroying old  sources
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m.olbrich at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 328977
  --> https://bugzilla.gnome.org/attachment.cgi?id=328977&action=edit
patch

gst_element_set_state() will lock the stream lock for the source pad of the
element. If the element pushes data at the same time, it may wait for the
manifest lock while holding the stream lock. So calling
gst_element_set_state() while the manifest lock is locked can cause
deadlocks.

-- 
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