Skip to content

Decoder crash in core decoder in SBA mode at 16.4 kbps

Basic info

  • Encoder (float): d9fdb374, branch: ivas-float-update
  • Decoder (fixed): 4e097f2f, branch: main

Bug description

IVAS_cod_float.exe -sba 3 16400 48 in.wav bits IVAS_dec_fixed.exe HOA3 48 bits dec_out.wav

================================================================================================== IVAS Codec Baseline

Based on EVS Codec (Floating Point) 3GPP TS26.443 Nov 04, 2021, Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0

Input bitstream file: bits Output synthesis file: dec_out.wav

Output sampling rate: 48000 Hz Output configuration: Ambisonics: Third Order (HOA3)

------ Running the decoder ------

Frames processed: Assertion failed: 0, file c:\projects\ivas\git\basop\ivas-basop\lib_com\basop32.c, line 1786

Call flow ivas_wb_tbe_dec_fx() --> L_mac0() --> L_add()

Following MAC operation in ivas_wb_tbe_dec_fx() leads to overflow/crash in L_add()

    FOR( i = 0; i < L_SHB_LAHEAD / 4; i++ )
    {
        curr_pow = L_mac0( curr_pow, shaped_wb_excitation[i + L_SHB_LAHEAD / 4], shaped_wb_excitation[i + L_SHB_LAHEAD / 4] ); /* Q(2*Q_bwe_exc_ext) */
    }

Ways to reproduce

(Clear steps or refer to a failing automated test, e.g. with a pipeline link)