Skip to content

BASOP Assert in renderLfeToBinaural_fx()

Basic info

  • Fixed point:
    • Encoder (fixed): n/a
    • Decoder (fixed): 7f594642

Bug description

In the renderer-tests, an assert happens:

#3  0x00007ffff7cb96e2 in __GI___assert_fail (assertion=0x555555ec1cd2 "0", file=0x555555ec1cc0 "lib_com/basop32.c", line=1661, function=0x555555ec1d14 <__PRETTY_FUNCTION__.3> "L_add") at assert.c:103
#4  0x000055555584edb8 in L_add (L_var1=-2147483648, L_var2=-121) at lib_com/basop32.c:1661
#5  0x00005555559c657e in v_add_fixed_no_hdrm (x1=0x55555600f190, x2=0x7ffffffadc60, y=0x55555600f190, N=640) at lib_com/tools_fx.c:4616
#6  0x00005555555753ac in renderLfeToBinaural_fx (mcInput=0x555555fbe2a0, outConfig=IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR, outAudio=..., in_q=7, out_q=6) at lib_rend/lib_rend_fx.c:6637
#7  0x0000555555575fbc in renderMcToBinauralRoom (mcInput=0x555555fbe2a0, outConfig=IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR, outAudio=...) at lib_rend/lib_rend_fx.c:6869
#8  0x0000555555577688 in renderInputMc (mcInput=0x555555fbe2a0, outConfig=IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR, outAudio=...) at lib_rend/lib_rend_fx.c:7301
#9  0x000055555557775d in renderActiveInputsMc (hIvasRend=0x555555fbd7d0, outAudio=...) at lib_rend/lib_rend_fx.c:7337
#10 0x000055555557bbbb in getSamplesInternal (hIvasRend=0x555555fbd7d0, outAudio=..., hBits=0x0) at lib_rend/lib_rend_fx.c:8680
#11 0x000055555557c516 in IVAS_REND_GetSamples (hIvasRend=0x555555fbd7d0, outAudio=...) at lib_rend/lib_rend_fx.c:8850
#12 0x0000555555560010 in main (argc=17, argv=0x7fffffffe158) at apps/renderer.c:1911

This occurs in frame 62

Ways to reproduce

IVAS_rend -i scripts/testv/stv51MC32c.wav -if 5_1 -o 5_1_to_BINAURAL_ROOM_IR_full_circle_in_15sNone_20msNone_32kHz.wav -of BINAURAL_ROOM_IR -fs 32 -no_delay_cmp -q -T scripts/trajectories/full_circle_in_15s.csv -fr 20