[Bug 705142] New: Memory leak with flvdemux plugin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 30 05:55:25 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=705142
  GStreamer | gst-plugins-good | 1.0.7

           Summary: Memory leak with flvdemux plugin
    Classification: Platform
           Product: GStreamer
           Version: 1.0.7
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: urchikkamath at yahoo.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hello,
I found memory leak with flvdemux plugin (71 bytes in 1 blocks are definitely
lost). Memory leak testing performed using Valgrind(Valgrind-3.7.0).  
Command used for testing:
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck
--leak-check=full --track-origins=yes --suppressions=gst.supp
--log-file=valgrind_gst.log gst-launch-1.0 filesrc location=Input.flv !
flvdemux name=demux demux.audio ! queue ! 'audio/mpeg,mpegversion=4' ! flvmux
name=mux ! filesink location="dummy.flv" demux.video ! queue ! mux.video

Snap shot of memory leak:
==9428== 71 bytes in 1 blocks are definitely lost in loss record 1,326 of 1,900
==9428==    at 0x4C2B6CD: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9428==    by 0x53C1A78: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==9428==    by 0x53D65F4: g_strconcat (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==9428==    by 0x4EC8E36: gst_pad_create_stream_id_printf_valist
(gstutils.c:3633)
==9428==    by 0x4EC9041: gst_pad_create_stream_id_printf (gstutils.c:3675)
==9428==    by 0x8952268: gst_flv_demux_video_negotiate (gstflvdemux.c:1238)
==9428==    by 0x8952F6A: gst_flv_demux_parse_tag_video (gstflvdemux.c:1443)
==9428==    by 0x89570BB: gst_flv_demux_loop (gstflvdemux.c:2162)
==9428==    by 0x4EBDA9E: gst_task_func (gsttask.c:316)
==9428==    by 0x53DE247: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==9428==    by 0x53DD9E4: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==9428==    by 0x5670E99: start_thread (pthread_create.c:308)

Thanks.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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