Skip to content

EVS decoder crash with random bitstream

There is a crash for the following command line and attached bitstream (bit.voip.crash):

ivas_dec.exe -voip 48 res/bit.voip.crash res/syn.dec

The crash happens due to an assert:

Assertion failed: 0, file c:\myprojects_ivas\git_3gpp\ivas-codec\lib_com\basop32.c, line 2104

which corresponds to L_shl() called from hq_lr_dec() in section "calculate the the low band/high band energy and the variance/avrage of the envelopes".

The bitstream was generated in IVAS, MASA, VOIP profile 5. In this case the EVS decoder should detect BER (bit-error) and run through. Also note that this was observed in MSVC DEBUG mode where asserts are active.

@multrus, I am not sure who should look at it, so pinging you to discuss it during some call.

Edited by vaclav