Skip to content

Basop Assert in tools_fx decoder crash in MC 7_1_4

Basic info

BASOP decoder crashes for a multi-channel long test vector with head tracking and external orientation, BINAURAL output.

Bug description

Assertion failed: fabs( number ) < pow( 2, 31 - Q ), file ~\ivas-basop\lib_com\tools_fx.c, line 76

The crash occurs within ExternalOrientationFileReading function in rotation_file_reader.c Line 198, when the code tries to convert x with the floating point value of 11.7399998 to fixed point value with Q29.

Ways to reproduce

Test file: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-pc-testfiles/-/blob/main/testv/ltv48_MC714.wav?ref_type=heads

head_rot_traj_2_.csv

exof_traj.csv

./IVAS_cod.exe -mc 7_1_4 256000 48 ltv48_MC714.wav bit

./IVAS_dec.exe -t head_rot_traj_2_.csv -exof exof_traj.csv BINAURAL 48 bit out.wav
Edited by Sumeyra Demir Kanik