Crash in OMASA 1TC with 3ISM at 80k
Basic info
- Float reference:
- Encoder (float):
- Decoder (float):
- Fixed point:
Bug description
The fixed point encoder crashes in an assert() in L_add() called through L_mac in convolve_tx_fx().
The h[] called in L_mac has the following values:
L_sum = L_mac( L_sum, g[i], h[n - i] ); /* Qx + 16 */
h[] 0x0018f2dc {16384, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, ...}
At i=16 where it happens h[i] = 32767 and g[i] = 1488
Ways to reproduce
The crash happens on long test files, at frame 4720 when calling:
IVAS_cod -ism_masa 3 1 \ivas-pc-longfiles\ivas-pc-testfiles\ltv48_OMASA_3ISM_1TC_ISM1.csv \ivas-pc-longfiles\ivas-pc-testfiles\ltv48_OMASA_3ISM_1TC_ISM2.csv \ivas-pc-longfiles\ivas-pc-testfiles\ltv48_OMASA_3ISM_1TC_ISM3.csv \ivas-pc-longfiles\ivas-pc-testfiles\ltv48_OMASA_3ISM_1TC.met 80000 48 \ivas-pc-longfiles\ivas-pc-testfiles\ltv48_OMASA_3ISM_1TC.wav bit
Edited by vasilache