Crash in acelp_core_dec_ivas_fx() for OMASA JBM rateswitch
# Basic info <!--- Add commit SHA used to reproduce --> - Encoder (float): d18cbee3417bc331630e6dcf214908deacdc8167 - Decoder: 6f1fdf53986358880850c5b34199c6635405696a # Bug description In ISM2 OMASA decoding with JBM and bitrate switching the decoder crashes in frame 3834 with the stack ``` L_mult basop32.c:1133 L_mult basop32.c:1133 L_msu basop32.c:1505 enhancer_ivas_fx2 enhancer_fx.c:771 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](/uploads/228028463e3a1d15877cecffc4f7149a/omasa_2obj_techs_start_32k_20frames.bin). Float encoding: ``` ivas-float-reference/IVAS_cod -ism_masa 2 2 ivas-pc-testfiles/ltv48_OMASA_2ISM_2TC_ISM1.csv ivas-pc-testfiles/ltv48_OMASA_2ISM_2TC_ISM2.csv ivas-pc-testfiles/ltv48_OMASA_2ISM_2TC.met -max_band fb omasa_2obj_techs_start_32k_20frames.bin 48 ivas-pc-testfiles/ltv48_OMASA_2ISM_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 ``` (Clear steps or refer to a failing automated test, e.g. with a pipeline link) <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Add further information to the first row and remove and add labels as necessary. -->
issue