[Bug 796893] New: splitmuxsink: Reference cycle between queue/queue pads if not explicitly removing pads

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 30 13:39:03 UTC 2018


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

            Bug ID: 796893
           Summary: splitmuxsink: Reference cycle between queue/queue pads
                    if not explicitly removing pads
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Problem is that the multiqueue context has a strong reference to the queue and
its pads, while at the same time both pads have a reference to the multiqueue
context via the pad probe data.

If pads are explictly removed from splitmuxsink the pad probes are removed and
the cycle is broken, but if it's all just unreffed then the cycle stays and
things are leaked.

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