[Bug 740819] New: audiosrc: Base class may deadlock if source stop producing

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 27 10:59:07 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740819
  GStreamer | gst-plugins-base | git

           Summary: audiosrc: Base class may deadlock if source stop
                    producing
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        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=291676)
 View: https://bugzilla.gnome.org/attachment.cgi?id=291676
 Review: https://bugzilla.gnome.org/review?bug=740819&attachment=291676

Check that we are still running before looping on read

Whenever a source stop producing buffers (read returns 0) the AudioSrc base
class ring buffer loop endup in an infinite loop, and deadlock. This was
discovered while stubbing the base class with a read() { return 0; }
implementation.

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