[gstreamer-bugs] [Bug 541087] New: [mpegtsparse] memory leaks on tables parsing

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 1 07:23:56 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=541087

  GStreamer | gst-plugins-bad | Ver: HEAD CVS
           Summary: [mpegtsparse] memory leaks on tables parsing
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mutex at runbox.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Numerous leaks exists in mpegtspacketizer table parsing.

Here is some outputs from valgrind:

==15575== 22,646 (1,592 direct, 21,054 indirect) bytes in 94 blocks are
definitely lost in loss record 18 of 24
==15575==    at 0x4022765: malloc (vg_replace_malloc.c:149)
==15575==    by 0x415CAF5: g_malloc (in /usr/lib/libglib-2.0.so.0.1400.1)
==15575==    by 0x417150A: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.1400.1)
==15575==    by 0x4137578: g_array_sized_new (in
/usr/lib/libglib-2.0.so.0.1400.1)
==15575==    by 0x4137686: g_array_new (in /usr/lib/libglib-2.0.so.0.1400.1)
==15575==    by 0x40971ED: gst_value_init_list_or_array (gstvalue.c:171)
==15575==    by 0x4109644: g_value_init (in
/usr/lib/libgobject-2.0.so.0.1400.1)
==15575==    by 0x47427FF: mpegts_packetizer_parse_eit
(mpegtspacketizer.c:1475)
==15575==    by 0x473DC54: mpegts_parse_handle_psi (mpegtsparse.c:1153)
==15575==    by 0x473DE29: mpegts_parse_chain (mpegtsparse.c:1219)
==15575==    by 0x4072698: gst_pad_chain_unchecked (gstpad.c:3503)
==15575==    by 0x4072D51: gst_pad_push (gstpad.c:3671)
==15575== 

==18704== 12,207 (760 direct, 11,447 indirect) bytes in 38 blocks are
definitely lost in loss record 21 of 25
==18704==    at 0x4021AA4: calloc (vg_replace_malloc.c:279)
==18704==    by 0x415CA5D: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1400.1)
==18704==    by 0x408613A: gst_structure_id_empty_new_with_size
(gststructure.c:116)
==18704==    by 0x4086735: gst_structure_new_valist (gststructure.c:238)
==18704==    by 0x40867B1: gst_structure_new (gststructure.c:209)
==18704==    by 0x47402F0: mpegts_packetizer_parse_nit (mpegtspacketizer.c:785)
==18704==    by 0x473DBB6: mpegts_parse_handle_psi (mpegtsparse.c:1092)
==18704==    by 0x473DE29: mpegts_parse_chain (mpegtsparse.c:1219)
==18704==    by 0x4072698: gst_pad_chain_unchecked (gstpad.c:3503)
==18704==    by 0x4072D51: gst_pad_push (gstpad.c:3671)
==18704==    by 0x4725550: gst_base_src_loop (gstbasesrc.c:2051)
==18704==    by 0x408C895: gst_task_func (gsttask.c:192)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=541087.




More information about the Gstreamer-bugs mailing list