[Bug 777212] New: urisourcebin: Fix crash during EOS handling

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 13 10:45:25 UTC 2017


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

            Bug ID: 777212
           Summary: urisourcebin: Fix crash during EOS handling
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sh.yang at lge.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Slot has two cases to receive fake EOS.
  a) actual EOS from demuxer's pad
  b) demuxer's pad-removed.
When a) happened, slot is still marked as linked.
And when b) happend, slot will be marked as unlinked.

Sometimes, following sequence is possible, and it causes crash
* demuxer pushed EOS (fake-eos-A)
* Then, the demuxer's pad was removed (fake-eos-A)
* slot's srcpad got "fake-eos-A" but it was already marked as unlinked by
  pad-removed. So, urisourcebin will throw the slot to threadpool to remove it.
* "fake-eos-B" reached to slot's src pad and trying to free the slot again.

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