Skip to content

Renderer crash with assert for OMASA to MASA output (ivas_omasa_param_est_ana_fx)

Basic info

  • Float reference:
  • Fixed point:

Bug description

BASOP renderer crashes in frame 2631 in an assertion error with the stack

L_add basop32.c:1661
L_add basop32.c:1661
v_multc_acc_32_16 ivas_tools_fx.c:1958
ivas_omasa_param_est_ana_fx ivas_omasa_ana_fx.c:577
ivas_omasa_ana_fx ivas_omasa_ana_fx.c:297
renderIsmToMasa lib_rend_fx.c:5577
renderInputIsm lib_rend_fx.c:5646
renderActiveInputsIsm lib_rend_fx.c:5691
getSamplesInternal lib_rend_fx.c:7343
IVAS_REND_GetSamples lib_rend_fx.c:7384
main renderer.c:1491

Ways to reproduce

Using LTV data with the file ltv48_OMASA_3ISM_1TC.txt being placed in the LTV directory and having the content

ltv48_OMASA_3ISM_1TC.wav
4
ISM
1
ltv48_OMASA_3ISM_1TC_ISM1.csv
ISM
2
ltv48_OMASA_3ISM_1TC_ISM2.csv
ISM
3
ltv48_OMASA_3ISM_1TC_ISM3.csv
MASA
4
1
ltv48_OMASA_3ISM_1TC.met

Command line:

IVAS_rend -q -if meta -i ltv48_OMASA_3ISM_1TC.txt -fs 48 -of MASA2 -o 0119_ltv48_OMASA_3ISM_1TC.wav_MASA2.wav