[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-bugs
Subject: [Bug 750397] CRITICAL: Race condition in GstBus
From: "GStreamer" (GNOME Bugzilla) <bugzilla () gnome ! org>
Date: 2015-10-31 1:10:08
Message-ID: bug-750397-6437-HQ3Q6S4QZw () https ! bugzilla ! gnome ! org/
[Download RAW message or body]
https://bugzilla.gnome.org/show_bug.cgi?id=750397
--- Comment #10 from Matt Gruenke <mgruenke@tycoint.com> ---
(In reply to Jan Schmidt from comment #5)
> it's not safe to write_control and read_control simultaneously from
> different threads when read_control can successfully decrement the
> control_pending atomic int to 0 and then fail to read a byte.
It's plausible even writing and reading from the same thread could leave
GstPoll in a bad state, depending on how a given platform implements
socketpair(). Clearing O_NONBLOCK on control_read_fd.fd fixes this.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
gstreamer-bugs mailing list
gstreamer-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic