[Bug 778079] race in gstpoll detected by TSan
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Feb 2 15:05:22 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=778079
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slomo at coaxion.net
--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Yes, it seems not thread-safe to use the same GstPoll from two different
threads at the same time... although it tries to allow that (see mutex). And
the docs also allow it for ones that are created with gst_poll_new_timer() like
here (but not for others).
They share the same array for the fds, but this array can be changed by each
call at any time, including reallocation.
--
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