[Bug 790312] New: msdk: memory leak always happen when using encoder.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 14 05:55:48 UTC 2017


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

            Bug ID: 790312
           Summary: msdk: memory leak always happen when using encoder.
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: zzoon at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Reproduce step:

# GST_DEBUG="GST_TRACER:7,GST_CALL_TRACE:7" GST_TRACERS="leaks" gst-launch-1.0
videotestsrc num-buffers=100 ! msdkh264enc ! fakesink


Result:
0:00:00.213422022 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fd028241300,
description=(string)buffer: 0x7fd028241300, pts 99:99:99.999999999, dts
99:99:99.999999999, dur 99:99:99.999999999, size 115200, offset none,
offset_end none, flags 0x0, ref-count=(uint)1, trace=(string);
0:00:00.213449373 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fd028241520,
description=(string)buffer: 0x7fd028241520, pts 99:99:99.999999999, dts
99:99:99.999999999, dur 99:99:99.999999999, size 115200, offset none,
offset_end none, flags 0x0, ref-count=(uint)1, trace=(string);
0:00:00.213480031 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fd0282411f0,
description=(string)buffer: 0x7fd0282411f0, pts 99:99:99.999999999, dts
99:99:99.999999999, dur 99:99:99.999999999, size 115200, offset none,
offset_end none, flags 0x0, ref-count=(uint)1, trace=(string);
0:00:00.213505559 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fd028241410,
description=(string)buffer: 0x7fd028241410, pts 99:99:99.999999999, dts
99:99:99.999999999, dur 99:99:99.999999999, size 115200, offset none,
offset_end none, flags 0x0, ref-count=(uint)1, trace=(string);
0:00:00.213516695 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fd0282410e0,
description=(string)buffer: 0x7fd0282410e0, pts 0:00:00.000000000, dts
99:99:99.999999999, dur 0:00:00.033333333, size 115200, offset 0, offset_end 1,
flags 0x40, ref-count=(uint)1, trace=(string);
0:00:00.213525424 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstCaps, address=(gpointer)0x7fd0280028f0,
description=(string)video/x-raw, width=(int)320, height=(int)240,
framerate=(fraction)30/1, format=(string)NV12,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
pixel-aspect-ratio=(fraction)1/1, ref-count=(uint)2, trace=(string);
0:00:00.213552458 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fd0282612a0,
description=(string)0x7fd0282612a0, ref-count=(uint)1, trace=(string);
0:00:00.213561953 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fd028224000,
description=(string)0x7fd028224000, ref-count=(uint)1, trace=(string);
0:00:00.213570038 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fd028245000,
description=(string)0x7fd028245000, ref-count=(uint)1, trace=(string);
0:00:00.213577833 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fd0282997e0,
description=(string)0x7fd0282997e0, ref-count=(uint)1, trace=(string);
0:00:00.213585658 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fd02827d540,
description=(string)0x7fd02827d540, ref-count=(uint)1, trace=(string);
0:00:00.213594623 25428       0xa97230 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstVideoBufferPool,
address=(gpointer)0x7fd0282221d0, description=(string)<videobufferpool0>,
ref-count=(uint)1, trace=(string);

** (gst-launch-1.0:25428): WARNING **: Leaks detected


Tested on CentOS7

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