Skip to content

ISAR Post Renderer crash for full chain ISM4 3DoF with LCLD at 384/768kbps

Basic info

  • Float reference:
  • Fixed point:
    • Decoder + ISAR post renderer (fixed): 2e715f2e

Bug description

The ISAR post renderer crashes with an assert:

ISAR_post_rend: lib_com/basop32.c:2334: L_shl: Assertion `0' failed.

grafik

Ways to reproduce

#!/bin/bash
./IVAS_cod_ref -ism 4 ./scripts/testv/stvISM{1,2,3,4}.csv 128000 48 ./scripts/testv/stv4ISM48s.wav sr_enc.192

# 384kbps
./IVAS_dec -T ./scripts/trajectories/rotate_euler_quaternion_5s_delayed.csv -render_config ./tests/split_rendering/renderer_configs/split_renderer_config_3dof_384k_lcld.txt -fr 20 BINAURAL_SPLIT_CODED 48 sr_enc.192 sr_dec.bit
./ISAR_post_rend -fs 48 -i sr_dec.bit -if BINAURAL_SPLIT_CODED -o split_post.wav -T ./scripts/trajectories/rotate_euler_quaternion_5s.csv -fr 20

# 768 kbps
./IVAS_dec -T ./scripts/trajectories/rotate_euler_quaternion_5s_delayed.csv -render_config ./tests/split_rendering/renderer_configs/split_renderer_config_3dof_768k_lcld.txt -fr 20 BINAURAL_SPLIT_CODED 48 sr_enc.192 sr_dec.bit
./ISAR_post_rend -fs 48 -i sr_dec.bit -if BINAURAL_SPLIT_CODED -o split_post.wav -T ./scripts/trajectories/rotate_euler_quaternion_5s.csv -fr 20

# alternatively with pytest (see patchfile below)
python3 -m pytest tests/split_rendering/test_split_rendering.py --create_ref -k "test_ism_full_chain_split[ISM4-128000-split_renderer_config_3dof_384k_lcld-rotate_euler_quaternion_5s]"
python3 -m pytest tests/split_rendering/test_split_rendering.py --create_cut -k "test_ism_full_chain_split[ISM4-128000-split_renderer_config_3dof_384k_lcld-rotate_euler_quaternion_5s]"

python3 -m pytest tests/split_rendering/test_split_rendering.py --create_ref -k "test_ism_full_chain_split[ISM4-128000-split_renderer_config_3dof_768k_lcld-rotate_euler_quaternion_5s]"
python3 -m pytest tests/split_rendering/test_split_rendering.py --create_cut -k "test_ism_full_chain_split[ISM4-128000-split_renderer_config_3dof_768k_lcld-rotate_euler_quaternion_5s]"

⚠️ Split rendering tests need be patched to use full-length files to reproduce this crash with pytest: sr_utils.patch

Edited by Archit Tamarapu