[Bug 736969] queue2: dead lock when buffering

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 19 17:12:54 PDT 2014


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

Thiago Sousa Santos <thiagossantos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
         OS/Version|Linux                       |All

--- Comment #6 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-09-20 00:12:48 UTC ---
Pushed to master.

commit ecf479e3d1885c41208ca0df7c7d4b6d3e2d2af7
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date:   Fri Sep 19 12:02:46 2014 -0300

    queue2: do not post buffering messages holding the lock

    It might cause deadlocks to post messages while holding the queue2
    lock. To avoid this a new boolean flag is set whenever a new
    buffering percent is found. The message is posted after the lock
    is released.

    To make sure the buffering messages are posted in the right order, messages
    are posted holding another lock. This prevents 2 threads trying to post
    messages at the same time.

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


Waiting for 1.4 freeze period to be over before pushing for 1.4.3 and closing
this bug.

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