[Bug 665703] mpeg4videoparse: memory leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 12 07:46:58 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=665703
  GStreamer | gst-plugins-bad | git

--- Comment #2 from Nicola <lists at svrinformatica.it> 2011-12-12 15:46:51 UTC ---
the mpeg4videoparse leak doesn't seems fixed:  

using this file:

http://77.43.75.110/temp/test-mp4_1.gdp

and this pipeline:

filesrc location=/tmp/test-mp4_1.gdp ! gdpdepay ! mpeg4videoparse ! mp4mux !
filesink location=/tmp/test.mp

I have:

==5320== LEAK SUMMARY:
==5320==    definitely lost: 0 bytes in 0 blocks
==5320==    indirectly lost: 240 bytes in 10 blocks
==5320==      possibly lost: 322 bytes in 3 blocks
==5320==    still reachable: 423,643 bytes in 922 blocks
==5320==         suppressed: 125,947 bytes in 1,664 blocks

with the last bad release while the current git show this:

==5522== 
==5522== HEAP SUMMARY:
==5522==     in use at exit: 569,261 bytes in 2,784 blocks
==5522==   total heap usage: 139,716 allocs, 136,932 frees, 37,992,286 bytes
allocated
==5522== 
==5522== Searching for pointers to 2,784 not-freed blocks
==5522== Checked 9,224,768 bytes
==5522== 
==5522== 724 (56 direct, 668 indirect) bytes in 1 blocks are definitely lost in
loss record 2,136 of 2,182
==5522==    at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
==5522==    by 0x55BB682: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5522==    by 0x55D0406: g_slice_alloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5522==    by 0x4E6466E: gst_caps_new_empty (gstcaps.c:165)
==5522==    by 0x4E6488C: gst_caps_copy (gstcaps.c:310)
==5522==    by 0x9BF0FB3: gst_mpeg4vparse_parse_frame
(gstmpeg4videoparse.c:489)
==5522==    by 0x95928B3: gst_base_parse_handle_and_push_frame.isra.9
(gstbaseparse.c:1692)
==5522==    by 0x95939FC: gst_base_parse_chain (gstbaseparse.c:2493)
==5522==    by 0x4E8F1A9: gst_pad_push (gstpad.c:4710)
==5522==    by 0x97D867E: gst_gdp_depay_chain (gstgdpdepay.c:328)
==5522==    by 0x4E8F1A9: gst_pad_push (gstpad.c:4710)
==5522==    by 0x95A74AB: gst_base_src_loop (gstbasesrc.c:2559)
==5522==    by 0x4EB6683: gst_task_func (gsttask.c:327)
==5522==    by 0x55DC7D7: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5522==    by 0x55DA2B5: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5522==    by 0x586DEFB: start_thread (pthread_create.c:304)
==5522==    by 0x5B6489C: clone (clone.S:112)
==5522== 
==5522== LEAK SUMMARY:
==5522==    definitely lost: 56 bytes in 1 blocks
==5522==    indirectly lost: 908 bytes in 17 blocks
==5522==      possibly lost: 0 bytes in 0 blocks
==5522==    still reachable: 39,773 bytes in 809 blocks
==5522==         suppressed: 528,524 bytes in 1,957 blocks
==5522== Reachable blocks (those to which a pointer was found) are not shown.
==5522== To see them, rerun with: --leak-check=full --show-reachable=yes

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