[Bug 750397] CRITICAL: Race condition in GstBus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jun 25 05:59:33 UTC 2016


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

--- Comment #31 from Matt Gruenke <mgruenke at tycoint.com> ---
Created attachment 330346
  --> https://bugzilla.gnome.org/attachment.cgi?id=330346&action=edit
Proposed fix for both Linux and Windows.

The attached patch makes both Linux and Windows block on the signalling of the
control fd/Event.

This solves the race condition, without the addition of any mutex locking or
any assumptions about how quickly writes to the socketpair will propagate to
the read fd.

Needs testing.

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