[Bug 794316] New: Gst.Pipeline never disposes Gst.Bus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 14 07:47:52 UTC 2018


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

            Bug ID: 794316
           Summary: Gst.Pipeline never disposes Gst.Bus
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-sharp
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: justin.joy.9to5 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

To explain leakages, I created unit tests in my personal repository.

https://github.com/justinjoy/Gst.Tests/blob/master/Gst.Tests/PipelineTests.cs

There are 4 tests;

 - TestPipelineDispose: disposing of pipeline instance only (Test failed)
 - TestPieplineParseAndDispose: same as above, but the pipeline is created by
Parser.Launch (Test failed)
 - TestPipelineDisposeManually: Explictly calling 'Dispose' for all exising
element (Test passed)
 - TestPieplineUriDecodebinForcedlyDispose: Almost same as above, but disposing
of child elements in 'deep-element-removed' callback. (Test passed)


So what I found is that the binding causes leakages as long as a programmer
doesn't manage Gst.Element, currently. But, still I am not sure if they should
be managed in gstreamer-sharp, or application.

I'll add some patches to make my unit tests pass successfully.

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