"GStreamer" (GNOME Bugzilla)
2016-12-09 15:16:40 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=775887
Bug ID: 775887
Summary: qtdemux/xmptag: memory leak in
gst_tag_list_from_xmp_buffer
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@hboeck.de
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
This file causes a memory leak:
http://samples.mplayerhq.hu/ffmpeg-bugs/trac/ticket5624/2_8bv_4444_int.mov
ASAN error:
==3135==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 4 byte(s) in 1 object(s) allocated from:
#0 0x4d4e38 in malloc (/usr/bin/gst-discoverer-1.0+0x4d4e38)
#1 0x7f1a58727c98 in g_malloc
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gmem.c:94
#2 0x7f1a587417fe in g_strdup
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gstrfuncs.c:363
#3 0x7f1a5a19d3a6 in gst_tag_list_from_xmp_buffer
/f/gstreamer/gst-plugins-base/gst-libs/gst/tag/gstxmptag.c:1316:46
#4 0x7f1a4c1fd66c in qtdemux_parse_udta
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:12531:18
#5 0x7f1a4c1c44d1 in qtdemux_parse_tree
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:12875:5
#6 0x7f1a4c1b4d4a in gst_qtdemux_loop_state_header
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:4228:7
#7 0x7f1a4c1b4d4a in gst_qtdemux_loop
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:5765
#8 0x7f1a5954ca03 in gst_task_func
/f/gstreamer/gstreamer/gst/gsttask.c:334:5
#9 0x7f1a5874a857 in g_thread_pool_thread_proxy
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gthreadpool.c:307
#10 0x7f1a58749ec4 in g_thread_proxy
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gthread.c:784
#11 0x7f1a581c6453 in start_thread (/lib64/libpthread.so.0+0x7453)
#12 0x7f1a57cf65dc in clone (/lib64/libc.so.6+0xe75dc)
SUMMARY: AddressSanitizer: 4 byte(s) leaked in 1 allocation(s).
Bug ID: 775887
Summary: qtdemux/xmptag: memory leak in
gst_tag_list_from_xmp_buffer
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@hboeck.de
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---
This file causes a memory leak:
http://samples.mplayerhq.hu/ffmpeg-bugs/trac/ticket5624/2_8bv_4444_int.mov
ASAN error:
==3135==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 4 byte(s) in 1 object(s) allocated from:
#0 0x4d4e38 in malloc (/usr/bin/gst-discoverer-1.0+0x4d4e38)
#1 0x7f1a58727c98 in g_malloc
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gmem.c:94
#2 0x7f1a587417fe in g_strdup
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gstrfuncs.c:363
#3 0x7f1a5a19d3a6 in gst_tag_list_from_xmp_buffer
/f/gstreamer/gst-plugins-base/gst-libs/gst/tag/gstxmptag.c:1316:46
#4 0x7f1a4c1fd66c in qtdemux_parse_udta
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:12531:18
#5 0x7f1a4c1c44d1 in qtdemux_parse_tree
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:12875:5
#6 0x7f1a4c1b4d4a in gst_qtdemux_loop_state_header
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:4228:7
#7 0x7f1a4c1b4d4a in gst_qtdemux_loop
/f/gstreamer/gst-plugins-good/gst/isomp4/qtdemux.c:5765
#8 0x7f1a5954ca03 in gst_task_func
/f/gstreamer/gstreamer/gst/gsttask.c:334:5
#9 0x7f1a5874a857 in g_thread_pool_thread_proxy
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gthreadpool.c:307
#10 0x7f1a58749ec4 in g_thread_proxy
/var/tmp/portage/dev-libs/glib-2.50.2/work/glib-2.50.2/glib/gthread.c:784
#11 0x7f1a581c6453 in start_thread (/lib64/libpthread.so.0+0x7453)
#12 0x7f1a57cf65dc in clone (/lib64/libc.so.6+0xe75dc)
SUMMARY: AddressSanitizer: 4 byte(s) leaked in 1 allocation(s).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.