Skip to content

Segfault when decoding OSBA planar FOA 3 ISM to BINAURAL

Basic info

Bug description

Running

IVAS_dec -t head_rot_traj.csv -exof exof_traj.csv -otr avg -VOIP BINAURAL 48 ltv48_OSBA_3ISM_FOA_OSBA_ISM3_PlanarFOA_ball_fb_rs_jbm_dly_profile_dat.192 out.wav

with these bitstream and trajectory files:

exof_traj.csv

head_rot_traj.csv

bitstream.zip

results in a segfault due to nullpointer access:


==================================================================================================
 IVAS Codec Baseline

 Based on EVS Codec (Floating Point) 3GPP TS26.443 Nov 04, 2021,
 Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
==================================================================================================

Input bitstream file:   /ivas-codec/CLANG2/enc/ltv48_OSBA_3ISM_FOA_OSBA_ISM3_PlanarFOA_ball_fb_rs_jbm_dly_profile_dat.192
Output synthesis file:  /ivas-codec/CLANG2/dec/ltv48_OSBA_3ISM_FOA_OSBA_ISM3_PlanarFOA_ball_fb_rs_jbm_dly_profile_dat.dec.BINAURAL.wav

Output sampling rate:   48000 Hz
Output configuration:   Binaural: no room
Render framesize:       20ms
Head rotation:          ON
External orientation:   ON
Orientation tracking:   AVG
TSM mode:               ON
JBM trace file:         /ivas-codec/CLANG2/dec/ltv48_OSBA_3ISM_FOA_OSBA_ISM3_PlanarFOA_ball_fb_rs_jbm_dly_profile_dat.dec.BINAURAL.wav.tracefile_dec

------ Running the decoder ------

Frames processed:       1022    Segmentation fault (core dumped)

This was found by the sanitizer pipeline: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/jobs/342773