[Bug 753539] New: subtitleoverlay: reorder creating colorspace elements to fix memory leak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 11 21:20:51 PDT 2015


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

            Bug ID: 753539
           Summary: subtitleoverlay: reorder creating colorspace elements
                    to fix memory leak
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When playing mts files, there is a memory leak while linking post-colorspace
with renderer elements. This happens because this is being done before
pre-colorspace is linked with renderer. Hence creating and linking
pre-colorspace before post-colorspace


==17522== 128 bytes in 2 blocks are definitely lost in loss record 6,337 of
6,644
==17522==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==17522==    by 0x43D4BE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17522==    by 0x43EB281: g_slice_alloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17522==    by 0x43EB79C: g_slice_alloc0 (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17522==    by 0x426B8E5: gst_event_new_custom (gstevent.c:299)
==17522==    by 0x426DE23: gst_event_new_reconfigure (gstevent.c:1376)
==17522==    by 0x4288FA4: gst_pad_link_full (gstpad.c:2432)
==17522==    by 0x428942A: gst_pad_link (gstpad.c:2487)
==17522==    by 0x716A709: _link_renderer (gstsubtitleoverlay.c:848)
==17522==    by 0x716D560: _pad_blocked_cb (gstsubtitleoverlay.c:1258)
==17522==    by 0x427CF9B: probe_hook_marshal (gstpad.c:3340)
==17522==    by 0x43BFBF9: g_hook_list_marshal (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==17522==    by 0x4235F1B: do_probe_callbacks (gstpad.c:3478)
==17522==    by 0x427E6D2: gst_pad_push_event_unchecked (gstpad.c:5034)
==17522==    by 0x427E8D7: push_sticky (gstpad.c:3653)
==17522==    by 0x427C766: events_foreach (gstpad.c:590)
==17522==    by 0x428889A: gst_pad_push_event (gstpad.c:3709)
==17522==    by 0x4288A18: event_forward_func (gstpad.c:2886)
==17522==    by 0x42848D2: gst_pad_forward (gstpad.c:2840)
==17522==    by 0x4284A3A: gst_pad_event_default (gstpad.c:2937)

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