Skip to content

Decoder crash in td_binaural_renderer_sf ivas_objectRenderer_internal for OMASA + JBM + rateswitch into BINAURAL

Basic info

Bug description

There is a decoder crash with 1ISM OMASA + JBM + rateswitch both in BASOP and float-ref. Float-main does not have this problem.

The crash occurs in frame 98.

Call stack for BASOP:

ivas_td_binaural_renderer_sf_fx ivas_objectRenderer_internal_fx.c:204
ivas_omasa_dirac_td_binaural_jbm_fx ivas_omasa_dec_fx.c:1250
ivas_jbm_dec_flush_renderer_fx ivas_jbm_dec_fx.c:2965
IVAS_DEC_ReadFormat lib_dec_fx.c:3739
decodeVoIP decoder.c:3058
main decoder.c:741

Call stack for float-ref:

ivas_td_binaural_renderer_sf ivas_objectRenderer_internal.c:178
ivas_omasa_dirac_td_binaural_jbm ivas_omasa_dec.c:802
ivas_jbm_dec_flush_renderer ivas_jbm_dec.c:1733
IVAS_DEC_ReadFormat lib_dec.c:1234
decodeVoIP decoder.c:3497
main decoder.c:871

Ways to reproduce

Using STVs and the bitrate switching file omasa_1obj_techs_start_13k2_2frames.bin

./IVAS_cod -no_delay_cmp -ism_masa 1 2  scripts/testv/stvOMASA_1ISM_2MASA2TC48c_ISM1.csv scripts/testv/stvOMASA_1ISM_2MASA2TC48c.met -max_band swb  omasa_1obj_techs_start_13k2_2frames.bin 48 scripts/testv/stvOMASA_1ISM_2MASA2TC48c.wav test_0111.bs

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

./IVAS_dec -no_delay_cmp -Tracefile tracefile_test_0111 -VOIP BINAURAL 48 test_0111.bs_netsim 0111.wav