[Bug 750397] CRITICAL: Race condition in GstBus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 28 02:19:26 UTC 2016


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

Matt Gruenke <mgruenke at tycoint.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #330446|0                           |1
        is obsolete|                            |

--- Comment #47 from Matt Gruenke <mgruenke at tycoint.com> ---
Created attachment 330467
  --> https://bugzilla.gnome.org/attachment.cgi?id=330467&action=edit
Addresses race conditions on both platforms and fixes gst_poll_read_control()
when control_pending == 0.

Updates attachment 330446, by changing release_wakeup() to return TRUE and
decrement control_pending only when > 0.  Furthermore, RELEASE_EVENT() is
called only when control_pending == 1.

Note: this is effectively non-blocking, as it will only attempt to read from
control_read_fd.fd after a byte has been written to control_write_fd.fd.

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