[gstreamer-bugs] [Bug 623589] New: Fix races/refcounting bugs with slave clocks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 5 04:26:12 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623589
  GStreamer | gstreamer (core) | git

           Summary: Fix races/refcounting bugs with slave clocks
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: alessandro.d at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=165271)
 View: https://bugzilla.gnome.org/attachment.cgi?id=165271
 Review: https://bugzilla.gnome.org/review?bug=623589&attachment=165271

add gst_clock_id_wait_async_full

I found a race and a refcounting bug using slaved clocks. I'm attacching
patches here for review.

I added a new gst_clock_id_wait_async_full function which is now used by
gst_clock_set_master. The function is needed to avoid a race between the
master's slave_callback and the slave being deallocated.

Also in gst_clock_set_master we were possibly deallocating a clock (the master)
before unreffing one of its entries. I fixed that.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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