[Bug 796452] New: avdemux:fix memory leak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 30 09:26:43 UTC 2018


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

            Bug ID: 796452
           Summary: avdemux:fix memory leak
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-libav
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: rlandjon at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 372475
  --> https://bugzilla.gnome.org/attachment.cgi?id=372475&action=edit
valgrind_result

Run:
valgrind -v --tool=memcheck  --track-fds=yes  --leak-check=full
--show-reachable=yes --time-stamp=yes --undef-value-errors=no --malloc-fill=0xc
--free-fill=0xd --freelist-vol=100000000 --trace-children=yes --num-callers=50 
--suppressions=/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/linux_x86_64/gstreamer-1.0-1.14.0/common/gst.supp
 --log-file=valgrind_gst gst-play-1.0 '/home/shakin/Desktop/test.ape'


definitely lost:
-------
==00:00:00:37.858 11101== 728 (88 direct, 640 indirect) bytes in 1 blocks are
definitely lost in loss record 6,434 of 6,701
==00:00:00:37.858 11101==    at 0x4C2DB8F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==00:00:00:37.858 11101==    by 0x5E368FC: g_malloc (gmem.c:94)
==00:00:00:37.858 11101==    by 0x5E51721: g_slice_alloc (gslice.c:1025)
==00:00:00:37.858 11101==    by 0x5E19D0C: g_hash_table_new_full (ghash.c:717)
==00:00:00:37.858 11101==    by 0x5E19CE8: g_hash_table_new (ghash.c:680)
==00:00:00:37.858 11101==    by 0xC2011E5: gst_ffmpeg_metadata_to_tag_list
(gstavdemux.c:1093)
==00:00:00:37.858 11101==    by 0xC200F59: gst_ffmpegdemux_get_stream
(gstavdemux.c:1035)
==00:00:00:37.858 11101==    by 0xC201AEB: gst_ffmpegdemux_open
(gstavdemux.c:1245)
==00:00:00:37.858 11101==    by 0xC2026C5: gst_ffmpegdemux_loop
(gstavdemux.c:1406)
==00:00:00:37.858 11101==    by 0x58EBFD3: gst_task_func (gsttask.c:332)
==00:00:00:37.858 11101==    by 0x58ED1BB: default_func (gsttaskpool.c:69)
==00:00:00:37.858 11101==    by 0x5E60278: g_thread_pool_thread_proxy
(gthreadpool.c:307)
==00:00:00:37.858 11101==    by 0x5E5FC7B: g_thread_proxy (gthread.c:784)
==00:00:00:37.858 11101==    by 0x645B6B9: start_thread (pthread_create.c:333)

...

==00:00:00:37.858 11101== 728 (88 direct, 640 indirect) bytes in 1 blocks are
definitely lost in loss record 6,435 of 6,701
==00:00:00:37.858 11101==    at 0x4C2DB8F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==00:00:00:37.858 11101==    by 0x5E368FC: g_malloc (gmem.c:94)
==00:00:00:37.858 11101==    by 0x5E51721: g_slice_alloc (gslice.c:1025)
==00:00:00:37.858 11101==    by 0x5E19D0C: g_hash_table_new_full (ghash.c:717)
==00:00:00:37.858 11101==    by 0x5E19CE8: g_hash_table_new (ghash.c:680)
==00:00:00:37.858 11101==    by 0xC2011E5: gst_ffmpeg_metadata_to_tag_list
(gstavdemux.c:1093)
==00:00:00:37.858 11101==    by 0xC202102: gst_ffmpegdemux_open
(gstavdemux.c:1292)
==00:00:00:37.858 11101==    by 0xC2026C5: gst_ffmpegdemux_loop
(gstavdemux.c:1406)
==00:00:00:37.858 11101==    by 0x58EBFD3: gst_task_func (gsttask.c:332)
==00:00:00:37.858 11101==    by 0x58ED1BB: default_func (gsttaskpool.c:69)
==00:00:00:37.858 11101==    by 0x5E60278: g_thread_pool_thread_proxy
(gthreadpool.c:307)
==00:00:00:37.858 11101==    by 0x5E5FC7B: g_thread_proxy (gthread.c:784)
==00:00:00:37.858 11101==    by 0x645B6B9: start_thread (pthread_create.c:333)

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