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

Rémi Denis-Courmont remi at remlab.net
Fri Aug 17 13:25:29 CEST 2018


We already have that: the objects tree dialog (be sure to stop playback first), or equivalent tree command in RC.

There are no ways to add custom run-time infos to assertion failures. It would be nice but it's not feasible in C.

Le 17 août 2018 11:59:25 GMT+03:00, Jean-Baptiste Kempf <jb at videolan.org> a écrit :
>Hello,
>
>On Fri, 17 Aug 2018, at 08:41, Steve Lhomme wrote:
>> No, before we could follow internals->first in the debugger. Now it's
>
>> [...]
>> internals->siblings which just had garbage in it. I tried 
>> vlc_list_foreach(), vlc_list_first_entry_or_null() no luck.
>
>I would argue that we need to be able to have the list of leaked item
>easily, and not only with a debugger, notably for user reports;
>but the vlc_list is fine and a good idea.
>
>
>-- 
>Jean-Baptiste Kempf -  President
>+33 672 704 734
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180817/3d0ac26a/attachment.html>


More information about the vlc-devel mailing list