Crash in acelp_core_dec_ivas_fx() for OMASA JBM rateswitch pt2
Basic info
- Encoder (float): d18cbee3
- Decoder: 6f1fdf53
- Related issue #989 (closed)
Bug description
In ISM3 OMASA decoding with JBM and bitrate switching the decoder crashes in frame 2494 with the stack
L_sub basop32.c:1877
L_sub basop32.c:1877
L_msu basop32.c:1506
enhancer_ivas_fx2 enhancer_fx.c:772
decod_gen_voic_ivas_fx dec_gen_voic_fx.c:869
acelp_core_dec_ivas_fx acelp_core_dec_ivas_fx.c:1108
ivas_core_dec_fx ivas_core_dec.c:542
ivas_sce_dec_fx ivas_sce_dec_fx.c:301
ivas_jbm_dec_tc_fx ivas_jbm_dec.c:806
IVAS_DEC_GetTcSamples lib_dec_fx.c:1440
IVAS_DEC_GetSamples lib_dec_fx.c:1076
IVAS_DEC_VoIP_GetSamples lib_dec_fx.c:2943
decodeVoIP decoder.c:2392
main decoder.c:600
Ways to reproduce
Item is from LTV. Bitrate switching sequence is omasa_2obj_techs_start_32k_20frames.bin omasa_3obj_techs_start_64k_20frames.bin
Float encoding:
ivas-float-reference/IVAS_cod -ism_masa 3 2 ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC_ISM1.csv ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC_ISM2.csv ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC_ISM3.csv ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC.met -max_band fb omasa_3obj_techs_start_64k_20frames.bin 48 ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC.wav test.bs
Network simulator using the delay profile from float main:
scripts/tools/Darwin/networkSimulator_g192 scripts/dly_error_profiles/dly_error_profile_5.dat test.bs test.bs_netsim tracefile_sim 2 0
BASOP decoder:
ivas-basop/IVAS_dec -Tracefile tracefile_dec -VOIP BINAURAL 48 test.bs_netsim test.wav
Edited by Jouni Paulus