Gstreamer possibly lost memory leak

Tim Müller tim at centricular.com
Tue Oct 9 09:19:15 UTC 2018


On Tue, 2018-10-09 at 03:51 -0500, vittalprasad wrote:

Hi,

> I'm new to Gstreamer frame-work. i have written sample program to
> check memory leaks.
>   (..)
> When i run above program with valgrind for leaks, it throws possibly
> lost and still reachable errors.
> 
> Is those leaks are major one or i can ignore?

You can ignore them, they are one-time allocations by the GObject type
system.

This is one of the suppression files we use in GStreamer when running
unit tests through valgrind, you might find it useful:

 https://cgit.freedesktop.org/gstreamer/common/tree/gst.supp

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference! 25-26 October 2018 in Edinburgh,
Scotland



More information about the gstreamer-devel mailing list