how to enable gstreamer leaks tracker?

Guillaume Desmottes guillaume.desmottes at collabora.com
Thu Nov 26 14:30:47 UTC 2020


That's really strange, it should work.

Are you sure have the leaks tracer build? You can check using:

gst-inspect-1.0 leaks


On 26/11/20 15:25, Jovic, Vladimir wrote:
>
> Hi,
>
>
> I tried modifying my program to end after some time and call 
> gst_deinit(), but that didn't do anything. I still don't get any output.
>
> Even gst-launch-1.0 is not doing anything:
>
>
> root at pdm3:/home# GST_TRACERS="leaks"  GST_DEBUG="*TRACER:7" 
> gst-launch-1.0 videotestsrc num-buffers=10 ! fakesink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Got EOS from element "pipeline0".
> Execution ended after 0:00:00.010384134
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
> root at pdm3:/home#
>
> I am having a custom linux image built with yocto, and it runs on arm.
>
> I still don't get it, do I need to configure gstreamer to get the leak 
> tracer?
>
>
>
>
> ------------------------------------------------------------------------
> *From:* Jovic, Vladimir
> *Sent:* 26 November 2020 13:40
> *To:* gstreamer-devel at lists.freedesktop.org
> *Subject:* how to enable gstreamer leaks tracker?
>
> Hi,
>
>
> I would like to track a leak in my application, which uses gstreamer 
> libraries to display ip camera image.
>
> Reading online documentation, I set next environment variables and 
> then I run my program:
>
> GST_TRACERS="leaks"
>
> GST_DEBUG="GST_TRACER:7"
> but it didn't print anything.
>
> So, I was wondering - do I need to somehow configure gstreamer 
> libraries to enable leaks tracer? I use yocto to build, and the 
> version is 1.16.2.
>
>
> Cheers,
>
> Vladimir Jovic
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201126/197646e4/attachment-0001.htm>


More information about the gstreamer-devel mailing list