[Bug 778035] New: race in gst_base_src_loop() detected by TSan

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 1 14:52:59 UTC 2017


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

            Bug ID: 778035
           Summary: race in  gst_base_src_loop() detected by TSan
    Classification: Platform
           Product: GStreamer
           Version: 1.10.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fabrice at bellet.info
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 344715
  --> https://bugzilla.gnome.org/attachment.cgi?id=344715&action=edit
ThreadSanitizer: data race gstreamer/gst/gstpad.c:5543 in
gst_pad_send_event_unchecked

This case suggested by the ThreadSanitizer occurs when updating the flags of
the GstPad object while holding the object lock in gstpad.c, and when reading
the flags in gst_base_src_loop(), unlocked: 

if (G_UNLIKELY (src->priv->flushing || GST_PAD_IS_FLUSHING (pad)))

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