Renderer crash for MC in META input in ivas_mcmasa_param_est_ana_fx
Basic info
- Fixed point:
- Renderer (fixed): 6ab3ac9e
Bug description and Ways to reproduce
While analysing the remaining differences of #1724 (closed) more closely, crashing behaviour is observed for META inputs to the renderer with MASA and MC components.
The crashes occur in ivas_mcmasa_param_est_ana_fx
, but in different locations.
Source content is based on STVs.
For 7.1.4 at 16 kHz with the command line
IVAS_rend -no_delay_cmp -if meta -i scripts/testv/stv16_zeroMASA1_MC7_1_4.txt -fs 16 -of MASA2 -o 0009_stv16_zeroMASA1_MC7_1_4.wav_MASA2-no_delay_cmp.wav
the stack is
L_shl basop32.c:2332
L_shl basop32.c:2332
L_shr basop32.c:2450
computeVerticalDiffuseness_fx ivas_mcmasa_ana_fx.c:1440
ivas_mcmasa_param_est_ana_fx ivas_mcmasa_ana_fx.c:784
ivas_mcmasa_ana_fx ivas_mcmasa_ana_fx.c:487
renderMcToMasa lib_rend_fx.c:6164
renderInputMc lib_rend_fx.c:6225
renderActiveInputsMc lib_rend_fx.c:6249
getSamplesInternal lib_rend_fx.c:7319
IVAS_REND_GetSamples lib_rend_fx.c:7356
main renderer.c:1491
The contents of stv16_zeroMASA1_MC7_1_4.txt
:
stv16_zeroMASA1_MC7_1_4.wav
2
MASA
1
1
stv1MASA1TC48c.met
MC
1
7_1_4
The audio file stv16_zeroMASA1_MC7_1_4.wav
is the file scripts/testv/stv714MC16c.wav
cut to 48000 samples in length and prepended with one channel of zeros (for the MASA component).
For 5.1.4 at 32 kHz with the command line
IVAS_rend -no_delay_cmp -if meta -i scripts/testv/stv32_zeroMASA1_MC5_1_4.txt -fs 32 -of MASA2 -o 0012_stv32_zeroMASA1_MC5_1_4.wav_MASA2-no_delay_cmp.wav
the stack is
L_shl basop32.c:2332
L_shl basop32.c:2332
L_shr basop32.c:2450
computeVerticalDiffuseness_fx ivas_mcmasa_ana_fx.c:1440
ivas_mcmasa_param_est_ana_fx ivas_mcmasa_ana_fx.c:784
ivas_mcmasa_ana_fx ivas_mcmasa_ana_fx.c:487
renderMcToMasa lib_rend_fx.c:6164
renderInputMc lib_rend_fx.c:6225
renderActiveInputsMc lib_rend_fx.c:6249
getSamplesInternal lib_rend_fx.c:7319
IVAS_REND_GetSamples lib_rend_fx.c:7356
main renderer.c:1491
The contents of stv32_zeroMASA1_MC5_1_4.txt
:
stv32_zeroMASA1_MC5_1_4.wav
2
MASA
1
1
stv1MASA1TC48c.met
MC
1
5_1_4
The audio file stv32_zeroMASA1_MC5_1_4.wav
is the file scripts/testv/stv514MC32c.wav
cut to 96000 samples in length and prepended with one channel of zeros (for the MASA component).
For 5.1 at 48 kHz with the command line
IVAS_rend -no_delay_cmp -if meta -i scripts/testv/stv48_zeroMASA1_MC5_1.txt -fs 48 -of MASA2 -o 0014_stv48_zeroMASA1_MC5_1.wav_MASA2-no_delay_cmp.wav
the stack is
L_shl basop32.c:2332
L_shl basop32.c:2332
ivas_mcmasa_param_est_ana_fx ivas_mcmasa_ana_fx.c:1113
ivas_mcmasa_ana_fx ivas_mcmasa_ana_fx.c:487
renderMcToMasa lib_rend_fx.c:6164
renderInputMc lib_rend_fx.c:6225
renderActiveInputsMc lib_rend_fx.c:6249
getSamplesInternal lib_rend_fx.c:7319
IVAS_REND_GetSamples lib_rend_fx.c:7356
main renderer.c:1491
The contents of stv32_zeroMASA1_MC5_1_4.txt
:
stv48_zeroMASA1_MC5_1.wav
2
MASA
1
1
stv1MASA1TC48c.met
MC
1
5_1
The audio file stv48_zeroMASA1_MC5_1.wav
is the file scripts/testv/stv51MC48c.wav
cut to 144000 samples in length and prepended with one channel of zeros (for the MASA component).