Decoder crash for HOA3 at 80kbps in ivas_dirac_dec_binaural_internal_fx()
Basic info
Bug description
The fixed point decoder crashes with an assert:
lib_com/basop32.c:2590: L_shl: Assertion `0' failed.
It seems like heap corruption since the decoder crashes with SIGABRT and the issue is not easily debuggable on macOS or Linux:
==610007== Process terminating with default action of signal 6 (SIGABRT)
==610007== at 0x49E0E3C: __pthread_kill_implementation (pthread_kill.c:44)
==610007== by 0x4991FB1: raise (raise.c:26)
==610007== by 0x497C471: abort (abort.c:79)
==610007== by 0x497C394: __assert_fail_base.cold (assert.c:92)
==610007== by 0x498AEB1: __assert_fail (assert.c:101)
==610007== by 0x3EF3B4: L_shl (basop32.c:2590)
==610007== by 0x55CE75: scale_sig32 (scale_mem_fx.c:308)
==610007== by 0x2846B4: ivas_dirac_dec_binaural_internal_fx (ivas_dirac_dec_binaural_functions.c:1661)
==610007== by 0x281A88: ivas_dirac_dec_binaural_render_fx (ivas_dirac_dec_binaural_functions.c:873)
==610007== by 0x197188: ivas_jbm_dec_render_fx (ivas_jbm_dec.c:2963)
==610007== by 0x118B20: IVAS_DEC_GetRenderedSamples (lib_dec_fx.c:1547)
==610007== by 0x117A5D: IVAS_DEC_GetSamples (lib_dec_fx.c:1151)
Ways to reproduce
Bitstream has been uploaded.
./IVAS_cod_flt_ref -sba 3 -max_band FB 80000 48 experiments/basop-verification/HOA3/proc_input/am4aa1s10.wav out/HOA3--am4aa1s10--80000.192
./IVAS_dec_fx BINAURAL_ROOM_REVERB 48 out/HOA3--am4aa1s10--80000.192 out/HOA3--am4aa1s10--80000.clean.dec.BINAURAL_ROOM_REVERB.fx.wav
(Clear steps or refer to a failing automated test, e.g. with a pipeline link)