[vlc-devel] libvlc / valgrind : Invalid free() / delete / delete[]

Sébastien Escudier sebastien-devel at celeos.eu
Fri Aug 1 09:31:35 CEST 2008


I am debugging a program linked against libvlc (-lvlc)
And as soon as I put the -lvlc link, valgrind complains with the error bellow.
Even when I don't use any libvlc function or variable or .h include in my

==10058== Invalid free() / delete / delete[]
==10058==    at 0x402265C: free (vg_replace_malloc.c:323)
==10058==    by 0x430DD7B: (within /lib/tls/i686/cmov/libc-2.7.so)
==10058==    by 0x430D8A3: __libc_freeres (in /lib/tls/i686/cmov/libc-2.7.so)
==10058==    by 0x401E216: _vgnU_freeres (vg_preloaded.c:60)
==10058==    by 0x428C053: _Exit (in /lib/tls/i686/cmov/libc-2.7.so)
==10058==    by 0x420C457: (below main) (in /lib/tls/i686/cmov/libc-2.7.so)
==10058==  Address 0x4345088 is not stack'd, malloc'd or (recently) free'd

More information about the vlc-devel mailing list