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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 13 02:47:01 PST 2009


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.26

--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2009-11-13 10:46:55 UTC ---
commit 73f2d464b7e7bc94ea0fd6159483a925743ef9c9
Author: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg.com>
Date:   Fri Nov 13 11:42:02 2009 +0100

    miniobject: avoid race when recycling buffers

    Avoid a race where a miniobject is recycled and quickly freed, which causes
the
    g_type_free_instance() to be called on the same object twice.

    Ref the object before calling the finalize method and check if we still
need to
    free it afterward.

    Also add a unit test for this case.

    Fixes #601587

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