[Bug 681913] New: gst_init_check cause memory leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 15 06:54:03 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=681913
  GStreamer | gstreamer (core) | 0.10.36

           Summary: gst_init_check cause memory leak
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: dror at jungo.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Steps to Reproduce:
when using the hello world application with the minor change:

 gst_init(&argc, &argv) -> gst_init_check(&argc, &argv, &err)

I recieve in valgrind the following error:
==19907== 8,192 bytes in 1 blocks are definitely lost in loss record 4,381 of
4,501
==19907==    at 0x4028308: malloc (vg_replace_malloc.c:263)
==19907==    by 0x43C73AA: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3200.3)
==19907==    by 0x43C7722: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.3200.3)
==19907==    by 0x43C79CA: g_malloc_n (in
/lib/i386-linux-gnu/libglib-2.0.so.0.3200.3)
==19907==    by 0x43A5D4F: g_quark_from_static_string (in
/lib/i386-linux-gnu/libglib-2.0.so.0.3200.3)
==19907==    by 0x41FE7A3: g_type_init_with_debug_flags (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3)
==19907==    by 0x41FE97A: g_type_init (in
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3)
==19907==    by 0x40FC810: gst_init_check (in
/usr/lib/i386-linux-gnu/libgstreamer-0.10.so.0.30.0)
==19907==    by 0x448CE45: (below main) (libc-start.c:228)

I checked the issue only on Debian Linux 2.6.39-4, gstreamer-0.10.36

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