[Bug 687493] Huge memory leak using Python, Gtk+, GStreamer and vp8enc

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 21 10:17:21 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=687493
  GStreamer | don't know | git

Alexandre Quessy <alexandre> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexandre at quessy.net

--- Comment #20 from Alexandre Quessy <alexandre at quessy.net> 2013-06-21 17:17:12 UTC ---
Here is the proper way to build the test case in C above if one has a local
version of GStreamer built from Git:

libtool --mode=link gcc testcase_leak_vp8enc.c -Wall `pkg-config --cflags
--libs gstreamer-1.0` -o testcase

Then, here are the details for the definitely lost bytes reported:

==7339== 2,640 (1,360 direct, 1,280 indirect) bytes in 5 blocks are definitely
lost in loss record 2,299 of 2,356
==7339==    at 0x4C2CD7B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==7339==    by 0x5BADCF0: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0)
==7339==    by 0x5BC2EF2: g_slice_alloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0)
==7339==    by 0x4E6705E: gst_buffer_new (in
/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.6.0)
==7339==    by 0x7692E86: ??? (in
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstximagesrc.so)
==7339==    by 0x76919D2: ??? (in
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstximagesrc.so)
==7339==    by 0x7B003C1: ??? (in
/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.6.0)
==7339==    by 0x7B01C1A: ??? (in
/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.6.0)
==7339==    by 0x4EBFA70: ??? (in
/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.6.0)
==7339==    by 0x5BCC6F1: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0)
==7339==    by 0x5BCBEB4: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0)
==7339==    by 0x512EF8D: start_thread (pthread_create.c:311)

I ran this on Ubuntu 13.04 64 bit on an Intel Core 2 Duo CPU.

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