[gstreamer-bugs] [Bug 568289] memoryleaks when running example code (and all others as well).

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jan 19 07:17:43 PST 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=568289

  GStreamer | gstreamer (core) | Ver: 0.10.x

magnus persson changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #3 from magnus persson  2009-01-19 15:17 UTC -------
Thanks for informing me about the G_SLICE environment-variable.
I added the fix you mentioned. 
It still does not solve the errors I get from valgrind.
How could this not be a bug (there are more): ?

27,134 (888 direct, 26,246 indirect) bytes in 6 blocks are definitely lost in
loss record 28 of 39
==26543==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==26543==    by 0x4185D63: g_malloc (gmem.c:131)
==26543==    by 0x419C8E2: g_slice_alloc (gslice.c:824)
==26543==    by 0x4075CAE: gst_caps_new_empty (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x4B10878: gst_riff_create_audio_template_caps
(riff-media.c:1566)
==26543==    by 0x4B04854: gst_ogm_audio_parse_base_init (gstogmparse.c:290)
==26543==    by 0x4126AC9: g_type_class_ref (gtype.c:1925)
==26543==    by 0x4083D24: gst_element_register (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x4B022FA: gst_ogm_parse_plugin_init (gstogmparse.c:956)
==26543==    by 0x4AF1BE1: plugin_init (gstogg.c:37)
==26543==    by 0x40A1D68: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40A2F63: gst_plugin_load_file (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40A36FD: gst_plugin_load_by_name (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40A407C: gst_plugin_feature_load (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40838F1: gst_element_factory_create (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40842AB: gst_element_factory_make (in
/usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x8048CED: main (helloworld.c:87)

It's inside libgstreamer.

Best regards, Magnus 


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




More information about the Gstreamer-bugs mailing list