[Bug 755773] New: gdkpixbufoverlay memleak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 29 01:45:54 PDT 2015


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

            Bug ID: 755773
           Summary: gdkpixbufoverlay memleak
    Classification: Platform
           Product: GStreamer
           Version: 1.6.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: lists at svrinformatica.it
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

valgrind show some leaks for gdkpixbufoverlay when a new pixbuf is set, for
example:

gst-launch-1.0 videotestsrc num-buffers=10 ! gdkpixbufoverlay
location=/tmp/logo_0.png ! xvimagesink

==6779== 59,305 (136 direct, 59,169 indirect) bytes in 1 blocks are definitely
lost in loss record 2,019 of 2,020
==6779==    at 0x4C29E6F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6779==    by 0x5AF91A9: g_malloc (gmem.c:97)
==6779==    by 0x5B0FF82: g_slice_alloc (gslice.c:1007)
==6779==    by 0x4E6B6B1: gst_buffer_add_meta (gstbuffer.c:2082)
==6779==    by 0x87F882E: gst_buffer_add_video_meta_full (gstvideometa.c:287)
==6779==    by 0x87F897B: gst_buffer_add_video_meta (gstvideometa.c:256)
==6779==    by 0x8F2C6C5: gst_gdk_pixbuf_overlay_set_pixbuf
(gstgdkpixbufoverlay.c:471)
==6779==    by 0x8F2CA14: gst_gdk_pixbuf_overlay_set_property
(gstgdkpixbufoverlay.c:301)
==6779==    by 0x54658B2: object_set_property (gobject.c:1415)
==6779==    by 0x54658B2: g_object_set_property (gobject.c:2362)
==6779==    by 0x4EEAA73: gst_parse_element_set.isra.8 (grammar.y:440)
==6779==    by 0x4EEC0E1: priv_gst_parse_yyparse (grammar.y:695)
==6779==    by 0x4EED5FD: priv_gst_parse_launch (grammar.y:1050)
==6779==    by 0x4EE4D4E: gst_parse_launch_full (gstparse.c:325)
==6779==    by 0x4EE4FEB: gst_parse_launchv_full (gstparse.c:262)
==6779==    by 0x40339B: main (gst-launch.c:995)

gst-launch-1.0 v4l2src num-buffers=10 ! gdkpixbufoverlay
location=/tmp/logo_0.png ! xvimagesink

==6797== 59,305 (272 direct, 59,033 indirect) bytes in 1 blocks are definitely
lost in loss record 2,188 of 2,189
==6797==    at 0x4C29E6F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6797==    by 0x5AF91A9: g_malloc (gmem.c:97)
==6797==    by 0x5B0FF82: g_slice_alloc (gslice.c:1007)
==6797==    by 0x4E686AA: gst_buffer_new (gstbuffer.c:714)
==6797==    by 0x4E69714: gst_buffer_new_wrapped_full (gstbuffer.c:857)
==6797==    by 0xA60E6A8: gst_gdk_pixbuf_overlay_set_pixbuf
(gstgdkpixbufoverlay.c:467)
==6797==    by 0xA60EA14: gst_gdk_pixbuf_overlay_set_property
(gstgdkpixbufoverlay.c:301)
==6797==    by 0x54658B2: object_set_property (gobject.c:1415)
==6797==    by 0x54658B2: g_object_set_property (gobject.c:2362)
==6797==    by 0x4EEAA73: gst_parse_element_set.isra.8 (grammar.y:440)
==6797==    by 0x4EEC0E1: priv_gst_parse_yyparse (grammar.y:695)
==6797==    by 0x4EED5FD: priv_gst_parse_launch (grammar.y:1050)
==6797==    by 0x4EE4D4E: gst_parse_launch_full (gstparse.c:325)
==6797==    by 0x4EE4FEB: gst_parse_launchv_full (gstparse.c:262)
==6797==    by 0x40339B: main (gst-launch.c:995)

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