[vlc-devel] [PATCH] libvlc: help debug object references remaining in debug builds

Rémi Denis-Courmont remi at remlab.net
Fri Oct 23 18:02:37 CEST 2015

On Friday 23 October 2015 17:31:14 David Fuhrmann wrote:
> Actually, I tried already multiple times to get that information via a
> debugger and failed always (probably because of compiler optimizations).

Everytime I have hit that assert, I was able to walk down the VLC object tree 
in GDB...

> So
> some more debug output would be certainly useful.

The object tree is already available in RC ("tree") and in Qt. If you stop the 
playback, it´s pretty obvious which ones are leaked. I don´t know about MacOS, 
but I don´t see the point in adding a log message that is more likely to get 
lost - given it occurs right before an assertion failure or the process exit.

Rémi Denis-Courmont

More information about the vlc-devel mailing list