how to enable gstreamer leaks tracker?

Guillaume Desmottes guillaume.desmottes at collabora.com
Thu Nov 26 15:30:37 UTC 2020


It's supposed to be part of gstreamer core.

Where does you gstreamer install come from?


On 26/11/20 16:00, Jovic, Vladimir wrote:
>
> Hi
>
>
> yes, it tells it is not there:
>
> gst-inspect-1.0 leaks
>
> No such element or plugin 'leaks'
>
> So, how to get it? Do I need to put some option when configuring 
> gstreamer? Which repository needs to be reoconfigured? etc
>
>
> Cheers,
>
> Vladimir
>
> ------------------------------------------------------------------------
> *From:* Jovic, Vladimir
> *Sent:* 26 November 2020 15:25:48
> *To:* gstreamer-devel at lists.freedesktop.org
> *Subject:* Re: how to enable gstreamer leaks tracker?
>
> 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/adcfcd89/attachment.htm>


More information about the gstreamer-devel mailing list