IVAS_rend 5ms BINAURAL_ROOM_REVERB: Assert in ivas_rend_crendProcessSubframe()
Basic info
- Float reference:
- Encoder (float): n/a
- Decoder (float): n/a
- Fixed point:
- Encoder (fixed): n/a
- Decoder (fixed): 450d5b92
Bug description
IVAS rend crashes for a number of configurations with BINAURAL_ROOM_REVERB and 5ms rendering. For this case, the assert occurs in frame 16384.
Stack trace:
#3 0x00007ffff7cb96e2 in __GI___assert_fail (assertion=0x555555ec19c2 "0", file=0x555555ec19b0 "lib_com/basop32.c", line=488, function=0x555555ec19f0 <__PRETTY_FUNCTION__.6> "saturate") at assert.c:103
#4 0x000055555584d7d3 in saturate (L_var1=-32770) at lib_com/basop32.c:488
#5 0x000055555584d8f6 in sub (var1=-32768, var2=2) at lib_com/basop32.c:622
#6 0x0000555555595bff in ivas_rend_crendProcessSubframe (pCrend=0x555555fe59e0, inConfig=IVAS_AUDIO_CONFIG_7_1_4, outConfig=IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB, hDecoderConfig=0x0, hCombinedOrientationData=0x0, hIntSetup=0x0,
hEFAPdata=0x0, hTcBuffer=0x0, input_f=0x7ffffffaec80, output=0x7ffffffaec80, n_samples_to_render=240, output_Fs=48000, pos_idx=0) at lib_rend/ivas_crend_fx.c:2290
#7 0x0000555555578128 in renderSbaToBinauralRoom (sbaInput=0x555555fc07b0, outConfig=IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB, outAudio=...) at lib_rend/lib_rend_fx.c:7657
#8 0x00005555555784af in renderInputSba (sbaInput=0x555555fc07b0, outConfig=IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB, outAudio=...) at lib_rend/lib_rend_fx.c:7743
#9 0x000055555557855d in renderActiveInputsSba (hIvasRend=0x555555fbd580, outAudio=...) at lib_rend/lib_rend_fx.c:7775
#10 0x000055555557b0fe in getSamplesInternal (hIvasRend=0x555555fbd580, outAudio=..., hBits=0x0) at lib_rend/lib_rend_fx.c:8576
#11 0x000055555557ba1b in IVAS_REND_GetSamples (hIvasRend=0x555555fbd580, outAudio=...) at lib_rend/lib_rend_fx.c:8742
#12 0x000055555555fdf2 in main (argc=15, argv=0x7fffffffe1f8) at apps/renderer.c:1844
Ways to reproduce
IVAS_rend -i ltv48_HOA2.wav -if HOA2 -o out.wav -of BINAURAL_ROOM_REVERB -fs 48 -no_delay_cmp -q -fr 5