Skip to content

Memory leaks when enabling postproc

./vlc --hw-dec --postproc-q 6 --video-filter postproc ../oNBT.mp4

Results in

=================================================================
==82739==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 5348 byte(s) in 255 object(s) allocated from:
    #0 0x7f629ffa5319 in __interceptor_strdup /usr/src/debug/gcc/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x7f62553035f3  (<unknown module>)

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7f62a00001b2 in __interceptor_realloc /usr/src/debug/gcc/libsanitizer/asan/asan_malloc_linux.cpp:164
    #1 0x7f625390c5ea  (<unknown module>)

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x7f62a0001811 in operator new(unsigned long) /usr/src/debug/gcc/libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x7f62538eb4bd  (<unknown module>)

Direct leak of 52 byte(s) in 1 object(s) allocated from:
    #0 0x7f62a0000b36 in __interceptor_posix_memalign /usr/src/debug/gcc/libsanitizer/asan/asan_malloc_linux.cpp:226
    #1 0x7f627edcccf5 in av_malloc (/usr/lib/libavutil.so.57+0x38cf5)
    #2 0x7f629f463f50 in generic_start ../../src/modules/modules.c:275
    #3 0x7f629f465980 in vlc_module_load ../../src/modules/modules.c:243
    #4 0x7f629f465d83 in module_need ../../src/modules/modules.c:286
    #5 0x7f629f7814c5 in filter_chain_AppendInner ../../src/misc/filter_chain.c:256
    #6 0x7f6240742cc7 in BuildFilterChain ../../modules/video_chroma/chain.c:407
    #7 0x7f624074496a in Activate ../../modules/video_chroma/chain.c:195
    #8 0x7f62407456b6 in ActivateFilter ../../modules/video_chroma/chain.c:248
    #9 0x7f629f463f50 in generic_start ../../src/modules/modules.c:275
    #10 0x7f629f465980 in vlc_module_load ../../src/modules/modules.c:243
    #11 0x7f629f465d83 in module_need ../../src/modules/modules.c:286
    #12 0x7f629f7814c5 in filter_chain_AppendInner ../../src/misc/filter_chain.c:256
    #13 0x7f629f65d33f in ChangeFilters ../../src/video_output/video_output.c:820
    #14 0x7f629f65e5f4 in UpdateDeinterlaceFilter ../../src/video_output/video_output.c:1312
    #15 0x7f629f66820f in DisplayPicture ../../src/video_output/video_output.c:1343
    #16 0x7f629f66820f in Thread ../../src/video_output/video_output.c:1734
    #17 0x7f629e2a15c1 in start_thread (/usr/lib/libc.so.6+0x8d5c1)

SUMMARY: AddressSanitizer: 5720 byte(s) leaked in 258 allocation(s).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information