[Bug 757974] New: glcolorconver: Fix frag_prog and frag_body memory leak
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 11 23:02:39 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=757974
Bug ID: 757974
Summary: glcolorconver: Fix frag_prog and frag_body memory leak
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vineeth.tm at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
While running gstglcolorconvert tests using valgrind found the below memory
leaks
==5542== 8,550 bytes in 90 blocks are definitely lost in loss record 1,666 of
1,675
==5542== at 0x402E324: realloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5542== by 0x4481285: __vasprintf_chk (vasprintf_chk.c:88)
==5542== by 0x42E8689: g_vasprintf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42C1FF2: g_strdup_vprintf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42C2022: g_strdup_printf (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x405AFC9: _do_convert (gstglcolorconvert.c:1039)
==5542== by 0x404713F: _gst_gl_context_thread_run_generic
(gstglcontext.c:1456)
==5542== by 0x40601EA: _run_message_sync (gstglwindow.c:628)
==5542== by 0x4060151: _run_message_async (gstglwindow.c:697)
==5542== by 0x42A0C4F: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42A40A6: g_main_context_dispatch (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42A4467: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42A476A: g_main_loop_run (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x4060263: gst_gl_window_default_run (gstglwindow.c:537)
==5542== by 0x4060968: gst_gl_window_run (gstglwindow.c:558)
==5542== by 0x4049D97: gst_gl_context_create_thread (gstglcontext.c:1224)
==5542== by 0x42CA9A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x4370F6F: start_thread (pthread_create.c:312)
==5542== by 0x4471BED: clone (clone.S:129)
==5542==
==5542== 46,080 bytes in 90 blocks are definitely lost in loss record 1,671 of
1,675
==5542== at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5542== by 0x402E3AF: realloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5542== by 0x42A9CB8: g_realloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42C42F6: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42C4346: g_string_sized_new (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42B8EA1: g_regex_replace_eval (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42B922D: g_regex_replace_literal (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x4058FF5: _mangle_shader (gstglcolorconvert.c:1525)
==5542== by 0x405A3F8: _do_convert (gstglcolorconvert.c:1654)
==5542== by 0x404713F: _gst_gl_context_thread_run_generic
(gstglcontext.c:1456)
==5542== by 0x40601EA: _run_message_sync (gstglwindow.c:628)
==5542== by 0x4060151: _run_message_async (gstglwindow.c:697)
==5542== by 0x42A0C4F: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42A40A6: g_main_context_dispatch (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42A4467: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x42A476A: g_main_loop_run (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==5542== by 0x4060263: gst_gl_window_default_run (gstglwindow.c:537)
==5542== by 0x4060968: gst_gl_window_run (gstglwindow.c:558)
==5542== by 0x4049D97: gst_gl_context_create_thread (gstglcontext.c:1224)
==5542== by 0x42CA9A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
--
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