IVAS DEC : segmentation fault errors with "-funsafe-math-optimizations" option
We have observed 24 segmentation fault errors in IVAS decoder mode (f9549819) with "-O3 -funsafe-math-optimizations" option.
./IVAS_dec -T $VEC_DIR/testvec/trajectories/rotate_euler_quaternion_30s_delayed.csv -render_config $VEC_DIR/testvec/testv/split_rendering/renderer_configs/split_renderer_config_0dof_256k_default.txt -fr 20 BINAURAL_SPLIT_CODED 48 $VEC_DIR/testvec/testv/split_rendering/ref/7_1_4_128000_SPLIT_CODED_full_cfg_split_renderer_config_0dof_256k_default_fr_pre_20_post_20.192 $VEC_DIR/scripts/CUT_OUTPUTS/split_rendering/7_1_4_128000_SPLIT_CODED_full_cfg_split_renderer_config_0dof_256k_default_fr_pre_20_post_20.splt.bit
All failing commands have following common pattern :
- input multichannel layout (5.1, 5.1.2, 7.1, 7.1.4)
- BINAURAL/BRR or BRIR/ rendering path
- Bitrate switching or fixed bitrate at 48/64/80kbps
Steps to reproduce are listed below :
- Set path for clang 18.1.6
- Append "-funsafe-math-optimizations" in CFLAGS
make -f Makefile all CC=clang OPTIM=3 VERBOSE=1 -j
All failing commands are attached in dec_failing_commands.sh