Skip to content

Memory leak in OMASA to BINAURAL with HRTF with bitrate switching

Basic info

Bug description

There is a memory leak in OMASA BINAURAL output with HRTF file with bitrate switching causing the fails observed in the HRTF tests of !1454 (merged).

Ways to reproduce

cmake . -Bbuild-asan -DCMAKE_C_COMPILER=clang -DCLANG=asan
cmake --build build-asan -- -j
cd build-asan

./IVAS_cod -ism_masa 3 2 ../scripts/testv/stvOMASA_3ISM_1MASA1TC48c_ISM1.csv ../scripts/testv/stvOMASA_3ISM_1MASA1TC48c_ISM2.csv ../scripts/testv/stvOMASA_3ISM_1MASA1TC48c_ISM3.csv ../scripts/testv/stvOMASA_1ISM_1MASA2TC48c.met -max_band wb ../scripts/switchPaths/sw_13k2_512k.bin 16 ../scripts/testv/stvOMASA_3ISM_1MASA2TC16c.wav omasa.bs

./IVAS_dec -hrtf ../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_16kHz.bin BINAURAL 16 omasa.bs omasa.wav

This should result into the following leak report:

==509640==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1080 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xad6c85 in ivas_HRTF_binary_open ivas-codec/lib_rend/ivas_hrtf.c:52:44
    #2 0x5d4de5 in ivas_init_decoder_front ivas-codec/lib_dec/ivas_init_dec.c:1065:24
    #3 0x51626d in IVAS_DEC_Configure ivas-codec/lib_dec/lib_dec.c:466:20
    #4 0x4fcf66 in main ivas-codec/apps/decoder.c:435:20
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Direct leak of 172 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaedce1 in BSplineModelEvalAlloc ivas-codec/lib_rend/ivas_objectRenderer_mix.c:360:43
    #2 0xaed3f6 in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:539:20
    #3 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #4 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #5 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #6 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #7 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #8 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #9 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #10 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #11 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #12 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Direct leak of 172 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaedd86 in BSplineModelEvalAlloc ivas-codec/lib_rend/ivas_objectRenderer_mix.c:365:43
    #2 0xaed3f6 in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:539:20
    #3 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #4 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #5 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #6 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #7 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #8 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #9 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #10 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #11 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #12 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Direct leak of 144 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaeb78b in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:432:41
    #2 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #3 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #4 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #5 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #6 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #7 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #8 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #9 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #10 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #11 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaeb6a8 in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:426:50
    #2 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #3 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #4 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #5 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #6 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #7 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #8 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #9 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #10 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #11 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 80840 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1c8b4 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:371:35
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 80840 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1caf8 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:374:35
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 5640 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1e168 in HRTF_energy_sections_precalc ivas-codec/lib_util/hrtf_file_reader.c:718:35
    #2 0xa1dde5 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:424:5
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 5640 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1e1b2 in HRTF_energy_sections_precalc ivas-codec/lib_util/hrtf_file_reader.c:719:35
    #2 0xa1dde5 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:424:5
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 3848 byte(s) in 13 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaebea2 in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:451:47
    #2 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #3 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #4 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #5 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #6 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #7 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #8 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #9 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #10 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #11 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 2632 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1edcd in LoadBSplineBinaryITD ivas-codec/lib_util/hrtf_file_reader.c:264:33
    #2 0xa1e021 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:432:9
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 1940 byte(s) in 15 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1c5ec in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:366:40
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 336 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1ef7a in LoadBSplineBinaryITD ivas-codec/lib_util/hrtf_file_reader.c:273:43
    #2 0xa1e021 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:432:9
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 172 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1df71 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:428:48
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 172 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1dedc in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:427:48
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 144 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1d504 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:399:40
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 120 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1c359 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:360:34
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 112 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1f14c in LoadBSplineBinaryITD ivas-codec/lib_util/hrtf_file_reader.c:284:43
    #2 0xa1e021 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:432:9
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 84 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1cf92 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:385:47
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 76 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1ec47 in LoadBSplineBinaryITD ivas-codec/lib_util/hrtf_file_reader.c:260:40
    #2 0xa1e021 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:432:9
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1ea8c in LoadBSplineBinaryITD ivas-codec/lib_util/hrtf_file_reader.c:255:40
    #2 0xa1e021 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:432:9
    #3 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #4 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #5 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #6 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 52 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1bfdc in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:355:37
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1d348 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:392:50
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1d1e0 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:390:43
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1c2a9 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:359:45
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1c1f9 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:358:39
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 30 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1c149 in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:357:39
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaeb89b in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:440:61
    #2 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #3 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #4 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #5 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #6 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #7 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #8 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #9 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #10 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #11 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xaeb7fc in DefaultBSplineModel ivas-codec/lib_rend/ivas_objectRenderer_mix.c:436:43
    #2 0xaeac1c in TDREND_MIX_Init ivas-codec/lib_rend/ivas_objectRenderer_mix.c:236:24
    #3 0xadcb09 in ivas_td_binaural_open_unwrap ivas-codec/lib_rend/ivas_objectRenderer.c:114:20
    #4 0x6958b2 in ivas_td_binaural_open ivas-codec/lib_dec/ivas_objectRenderer_internal.c:64:12
    #5 0x69a3c2 in ivas_omasa_dec_config ivas-codec/lib_dec/ivas_omasa_dec.c:381:32
    #6 0x5c23f9 in ivas_dec_setup ivas-codec/lib_dec/ivas_init_dec.c:458:36
    #7 0x51acdd in IVAS_DEC_Setup ivas-codec/lib_dec/lib_dec.c:1250:28
    #8 0x5198ef in IVAS_DEC_GetSamples ivas-codec/lib_dec/lib_dec.c:926:28
    #9 0x50ca63 in decodeG192 ivas-codec/apps/decoder.c:2366:28
    #10 0x4ff492 in main ivas-codec/apps/decoder.c:836:17
    #11 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1cd9f in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:380:41
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1ccef in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:379:43
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16

Indirect leak of 2 byte(s) in 1 object(s) allocated from:
    #0 0x4c8d4d in __interceptor_malloc (ivas-codec/build-asan/IVAS_dec+0x4c8d4d)
    #1 0xa1ce4f in LoadBSplineBinary ivas-codec/lib_util/hrtf_file_reader.c:381:45
    #2 0xa128a9 in TDREND_MIX_LoadHRTF ivas-codec/lib_util/hrtf_file_reader.c:664:35
    #3 0xa120d5 in load_HRTF_binary ivas-codec/lib_util/hrtf_file_reader.c:690:13
    #4 0x4fe34d in main ivas-codec/apps/decoder.c:718:24
    #5 0x7f13dfd32082 in __libc_start_main /build/glibc-wuryBv/glibc-2.31/csu/../csu/libc-start.c:308:16
Edited by Jouni Paulus