[gstreamer-bugs] [Bug 601587] New: MiniObject race condition

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 11 09:53:07 PST 2009


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

           Summary: MiniObject race condition
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ole.andre.ravnas at tandberg.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


There's a race condition in MiniObject's gst_mini_object_free() when finalize()
increments the reference count (to prevent destruction), puts the buffer in a
shared pool, and before gst_mini_object_free() executes the g_atomic_int_get()
some other thread may pick up the buffer from the pool and quickly unref it,
which would make both of them try to call g_type_free_instance() on the same
instance.

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