[Bug 755342] New: element: state_change may fail because of release_request_pad (racy)
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Sep 21 04:55:52 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=755342
Bug ID: 755342
Summary: element: state_change may fail because of
release_request_pad (racy)
Classification: Platform
Product: GStreamer
Version: 1.5.2
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: stian.selnes at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
CC: gstreamer at pexip.com
GNOME version: ---
gst_element_state_change() may unexpectedly fail if the element is releasing a
request pad simultaneously.
gst_element_state_change() will iterate over the pads and activate/deactivate.
If the timing is unfortunate and the pad is deactivated and removed (from
release_pad function) after the iterator is created and while activate_pads()
is called, gst_pad_set_active() may be called from activate_pads() on a pad
with no parent causing gst_element_state_change() to return
GST_STATE_CHANGE_FAILURE.
This may happen on both activation and deactivation from
gst_element_state_change().
This behavior has changed since 0.10 since no parent was needed then.
--
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