[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 04:52:00 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

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
             Status|UNCONFIRMED                 |NEEDINFO




------- Comment #1 from Tim-Philipp Müller  2009-01-19 12:51 UTC -------
You will get much more meaningful results if you use something like:

 $ G_SLICE=always-malloc valgrind --num-callers=40 -v --leak-check=full
--show-reachable=no ./helloworld /usr/share/sounds/KDE-Sys-Log-In.ogg

(btw, please *attach* long valgrind logs in future rather than pasting them
into the bug report)

FWIW, we also have valgrind suppression files for various false-positives and
problems in other libraries in our common submodule and in
$gstmodule/tests/check/$gstmodule.supp.

The only leak I can spot in the hello world example is that there's a missing
g_main_loop_unref(loop) at the end.


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