Skip to content

Crash in ivas_hq_core_dec_fx() for MC 5.1 at 32kbps JBM 16kHz out

Basic info

Bug description

Decoder crashes in core with the stack

L_add basop32.c:1786
L_add basop32.c:1786
round_fx basop32.c:1346
preecho_sb_fx trans_inv_fx.c:534
ivas_hq_core_dec_fx hq_core_dec_fx.c:1116
ivas_core_dec_fx ivas_core_dec.c:667
ivas_sce_dec_fx ivas_sce_dec_fx.c:301
ivas_jbm_dec_tc_fx ivas_jbm_dec.c:1407
IVAS_DEC_GetTcSamples lib_dec_fx.c:1431
IVAS_DEC_GetSamples lib_dec_fx.c:1076
IVAS_DEC_VoIP_GetSamples lib_dec_fx.c:2934
decodeVoIP decoder.c:2392
main decoder.c:600

Ways to reproduce

  • Item from Selection test, scaled down by 8dB. (will be uploaded to Box under the issue number)
  • Delay profile from IVAS float main
  • The decoder output mode does not seem to be critical, but the same crash is observed with 5_1 and STEREO.

Encoder:

ivas-float-reference/IVAS_cod -q -mc 5_1 -max_band fb  32000 48 BS1534-2a_5.1/gain_-8dB/am2ba1s13.wav test_0211.bs

Netsim:

networkSimulator_g192 main/scripts/dly_error_profiles/dly_error_profile_5.dat test_0211.bs test_0211.bs_netsim tracefile_sim 2 0

Decoder:

ivas-basop/IVAS_dec -Tracefile tracefile_dec -VOIP BINAURAL 16 test_0211.bs_netsim test_0211.wav