[Bug 673604] New: Seek without flush flag in paused state cause deadlock

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 5 12:40:22 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673604
  GStreamer | gstreamer (core) | git

           Summary: Seek without flush flag in paused state cause deadlock
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: nicolas.dufresne at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=211427)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=211427)
Sample backtrace with ogg

I found that seeking without the flush flag, while in paused state will cause
deadlock with most demuxer (tested ogg, avi, flv and qt). Found in 0.10, but
reproduce in 0.11 also.

Step to reproduce:
- compile gst-plugins-base examples
- run the seek example with a muxed file (if .11 now in playback folder)
- pause the stream
- uncheck flush flag
- seek

The demuxer will try and stop the task on the pad, which will wait for the
streaming lock to be released. But that never happens because we are not
playing. It seems like seeking without flushing in paused state is not really
possible, but we should probably not deadlock, but handle it correctly.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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