GNOME Bugzilla – Bug 778032
race in gstclock detected by TSan
Last modified: 2018-11-03 12:39:04 UTC
Created attachment 344711 [details] ThreadSanitizer: data race gstreamer/gst/gstclock.c:927 in gst_clock_adjust_unlocked ThreadSanitizer reports a race in gst_clock_adjust_unlocked(), because priv->last_time is written while being in a reader seqlock sequence in gst_clock_get_time()
Indeed. Taking the write seqlock there would make that a bit awkward though, all main users of the seqlock would take the write version then... not sure how to best solve this.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/216.