[gstreamer-bugs] [Bug 591045] New: [basesrc] Leaking GstTask instances

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Aug 7 03:45:03 PDT 2009


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

  GStreamer | gstreamer (core) | Ver: git
           Summary: [basesrc] Leaking GstTask instances
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
basesrc is leaking GstTask instances with current GIT. This can be reproduced
by running the core or base unit tests in valgrind.

Examples of failing tests are core/fakesrc, core/simple-launch-lines,
base/adder, base/audioresample, ......

Call stack of the instantiation looks like:
==3707== 351 (256 direct, 95 indirect) bytes in 1 blocks are definitely lost in
loss record 2,050 of 2,167
==3707==    at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==3707==    by 0x6182562: g_malloc (gmem.c:131)
==3707==    by 0x61984D7: g_slice_alloc (gslice.c:824)
==3707==    by 0x6198805: g_slice_alloc0 (gslice.c:833)
==3707==    by 0x55BFC9F: g_type_create_instance (gtype.c:1654)
==3707==    by 0x55A3C7A: g_object_constructor (gobject.c:1338)
==3707==    by 0x55A432B: g_object_newv (gobject.c:1215)
==3707==    by 0x55A4EA6: g_object_new_valist (gobject.c:1278)
==3707==    by 0x55A4FEB: g_object_new (gobject.c:1060)
==3707==    by 0x50B6B49: gst_task_create (gsttask.c:326)
==3707==    by 0x508FD21: gst_pad_start_task (gstpad.c:5110)
==3707==    by 0x77EFB9F: gst_base_src_perform_seek (gstbasesrc.c:1356)
==3707==    by 0x77F00B3: gst_base_src_activate_push (gstbasesrc.c:2755)
==3707==    by 0x5095C8A: gst_pad_activate_push (gstpad.c:904)
==3707==    by 0x5096836: gst_pad_set_active (gstpad.c:660)
==3707==    by 0x507886A: activate_pads (gstelement.c:2631)
==3707==    by 0x5089A6D: gst_iterator_fold (gstiterator.c:545)
==3707==    by 0x50787D5: iterator_activate_fold_with_resync
(gstelement.c:2663)
==3707==    by 0x507AB6E: gst_element_pads_activate (gstelement.c:2700)
==3707==    by 0x507CD3E: gst_element_change_state_func (gstelement.c:2777)


-- 
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=591045.




More information about the Gstreamer-bugs mailing list