memory leaks

Nicolas Dufresne nicolas at ndufresne.ca
Tue May 9 17:40:39 UTC 2017


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.

regards,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170509/cd7f5a66/attachment.sig>


More information about the gstreamer-devel mailing list