[Bug 747610] New: Inconsistent bin children state when a child fails to switch from NULL to READY
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 10 03:29:43 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747610
Bug ID: 747610
Summary: Inconsistent bin children state when a child fails to
switch from NULL to READY
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vincent.penquerch at collabora.co.uk
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I'm putting this in -bad for now as it's triggered by a -bad test case, but it
may be an issue in core if it turns out it's a bug in GstBin.
In -bad, the dtlssrtpdec element is a bin, which has, among others, a funnel
and a dtlsdec.
In the states unit test, the dtlsdec will fail to get from NULL to READY due to
not being set up. The funnel has previously switched from NULL to READY. Due to
the dtlsdec failure, the bin itself will fail its state switch, and keep in
NULL. However, the funnel is in READY, and stays there.
This will cause the funnel to complain it's being deleted while not in NULL. An
attempt to switch the bin to NULL will not switch the funnel to NULL, as the
bin is already in NULL.
The bin code doesn't seem to try to switch back child elements that sucesfully
switched when a subsequent child fails in the same batch. This seems to be the
cause of the problem, but doing this might also bring issues (like what happens
if a failure happens in such a switch back).
--
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