[Bug 761912] gstpad: Fix race between gst_element_remove_pad and state change

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 24 12:42:11 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 7dd76b626e0dacdba2844243944ec6c14ddf6932
Author: Stian Selnes <stian at pexip.com>
Date:   Wed Jan 27 11:46:06 2016 +0100

    pad: Fix race between gst_element_remove_pad and state change

    When going from READY to NULL all element pads are deactivated. If
    simultaneously the pad is being removed from the element with
    gst_element_remove_pad() and the pad is unparented, there is a race
    where the deactivation will assert (g_critical) if the parent is lost at
    the wrong time.

    The proposed fix will check parent only once and retain it to avoid the
    race.

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

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