Skip to content

IVAS_rend crashes when built with WMC tool instrumentation

Basic info

Bug description

IVAS_rend crashes when built with WMC tool instrumentation

Ways to reproduce

Instrument code with WMC tool and build (as described here: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/Complexity-and-Memory-Measurement).

Then run the following command:

scripts/c-code_instrument/IVAS_rend -q -i /Users/sgi/src/ivas/scripts/testv/stv1ISM48s.wav -if ISM1 -im scripts/testv/stvISM1.csv -o /dev/null -of SBA1

Output:

-- Start the renderer (quiet mode) --



Rendering of 1500 frames finished

IVAS_rend(43244,0x1f30bdb40) malloc: *** error for object 0x123e06844: pointer being freed was not allocated
IVAS_rend(43244,0x1f30bdb40) malloc: *** set a breakpoint in malloc_error_break to debug