AW: memory leaks
keith.thornton at zeiss.com
Wed May 10 05:48:26 UTC 2017
Thanks nicolas, you are quite right, I was missing an unref. The GST_LEAKS_TRACER_STACK_TRACE switch probably won't help much as the application is running on a cerbero built windows :-(
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Nicolas Dufresne
Gesendet: Dienstag, 9. Mai 2017 19:41
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: Re: memory leaks
Le mardi 09 mai 2017 à 12:14 +0000, Thornton, Keith a écrit :
> 0:33:18.507014928 4352 00000000401A3630 TRACE GST_TRACER
> :0:: object-alive, type-name=(string)GstBus,
> address=(gpointer)0000000040189AE0, description=(string)<bus30>, ref-
> count=(uint)1, trace=(string);
> Does anyone know what I have done wrong?
In your code that sets the bus handler, did you forgot to unref the GstBus ? Looks like a GstBus is leaked for every pipeline. Be aware that you can set GST_LEAKS_TRACER_STACK_TRACE=1 to get backtrace of where in your code that GstBus was allocated.
More information about the gstreamer-devel