[Bug 665703] New: some memleaks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 6 14:42:44 PST 2011


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

           Summary: some memleaks
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lists at svrinformatica.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


with the gdp file provided for the bug 665631, using the pipeline:

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

valgrind show the following:

==5249== 9 bytes in 1 blocks are definitely lost in loss record 146 of 2,182
==5249==    at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
==5249==    by 0x55BB682: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x55D1E4D: g_strdup (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x4E7BED0: gst_index_factory_new (gstindexfactory.c:91)
==5249==    by 0xB80F813: gst_mem_index_plugin_init (gstmemindex.c:429)
==5249==    by 0xB80F105: plugin_init (gstindexers.c:31)
==5249==    by 0x4E950A7: gst_plugin_register_func (gstplugin.c:557)
==5249==    by 0x4E9633C: gst_plugin_load_file (gstplugin.c:843)
==5249==    by 0x4E971C2: gst_plugin_load_by_name (gstplugin.c:1297)
==5249==    by 0x4E97BBD: gst_plugin_feature_load (gstpluginfeature.c:111)
==5249==    by 0x4E7C06F: gst_index_factory_create (gstindexfactory.c:158)
==5249==    by 0x4E7C123: gst_index_factory_make (gstindexfactory.c:192)
==5249==    by 0x918E463: gst_base_parse_change_state (gstbaseparse.c:4087)
==5249==    by 0x4E71E3B: gst_element_change_state (gstelement.c:2761)
==5249==    by 0x4E72791: gst_element_set_state_func (gstelement.c:2717)
==5249==    by 0x4E5EE49: gst_bin_change_state_func (gstbin.c:2209)
==5249==    by 0x4E92A04: gst_pipeline_change_state (gstpipeline.c:482)
==5249==    by 0x4E71E3B: gst_element_change_state (gstelement.c:2761)
==5249==    by 0x4E71EBE: gst_element_change_state (gstelement.c:2798)
==5249==    by 0x4E72791: gst_element_set_state_func (gstelement.c:2717)
==5249== 
==5249== 10 bytes in 1 blocks are definitely lost in loss record 166 of 2,182
==5249==    at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
==5249==    by 0x55BB682: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x55D1E4D: g_strdup (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x4E7BED0: gst_index_factory_new (gstindexfactory.c:91)
==5249==    by 0xB8117C2: gst_file_index_plugin_init (gstfileindex.c:974)
==5249==    by 0xB80F10F: plugin_init (gstindexers.c:33)
==5249==    by 0x4E950A7: gst_plugin_register_func (gstplugin.c:557)
==5249==    by 0x4E9633C: gst_plugin_load_file (gstplugin.c:843)
==5249==    by 0x4E971C2: gst_plugin_load_by_name (gstplugin.c:1297)
==5249==    by 0x4E97BBD: gst_plugin_feature_load (gstpluginfeature.c:111)
==5249==    by 0x4E7C06F: gst_index_factory_create (gstindexfactory.c:158)
==5249==    by 0x4E7C123: gst_index_factory_make (gstindexfactory.c:192)
==5249==    by 0x918E463: gst_base_parse_change_state (gstbaseparse.c:4087)
==5249==    by 0x4E71E3B: gst_element_change_state (gstelement.c:2761)
==5249==    by 0x4E72791: gst_element_set_state_func (gstelement.c:2717)
==5249==    by 0x4E5EE49: gst_bin_change_state_func (gstbin.c:2209)
==5249==    by 0x4E92A04: gst_pipeline_change_state (gstpipeline.c:482)
==5249==    by 0x4E71E3B: gst_element_change_state (gstelement.c:2761)
==5249==    by 0x4E71EBE: gst_element_change_state (gstelement.c:2798)
==5249==    by 0x4E72791: gst_element_set_state_func (gstelement.c:2717)
==5249== 
==5249== 724 (56 direct, 668 indirect) bytes in 1 blocks are definitely lost in
loss record 2,138 of 2,182
==5249==    at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
==5249==    by 0x55BB682: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x55D0406: g_slice_alloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x4E6460E: gst_caps_new_empty (gstcaps.c:165)
==5249==    by 0x4E6482C: gst_caps_copy (gstcaps.c:310)
==5249==    by 0x97EEFB3: gst_mpeg4vparse_parse_frame
(gstmpeg4videoparse.c:489)
==5249==    by 0x9191573: gst_base_parse_handle_and_push_frame.isra.9
(gstbaseparse.c:1692)
==5249==    by 0x91926BC: gst_base_parse_chain (gstbaseparse.c:2493)
==5249==    by 0x4E8F159: gst_pad_push (gstpad.c:4710)
==5249==    by 0x93D667E: gst_gdp_depay_chain (gstgdpdepay.c:328)
==5249==    by 0x4E8F159: gst_pad_push (gstpad.c:4710)
==5249==    by 0x91A616B: gst_base_src_loop (gstbasesrc.c:2559)
==5249==    by 0x4EB64F3: gst_task_func (gsttask.c:327)
==5249==    by 0x55DC7D7: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x55DA2B5: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3000.0)
==5249==    by 0x586DEFB: start_thread (pthread_create.c:304)
==5249==    by 0x5B6489C: clone (clone.S:112)

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