Skip to content

Crash in ISM decoding when bitstream starts with an SID and output_config is not EXT

Using the attached bitstream cut_bs.192, decoding to any other format than EXT results in a crash. The bitstream starts with an SID frame. This happens basically for all ISM modes and bitrates, see here: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/jobs/151655.

./IVAS_dec stereo 48 /tmp/cut_bs.192 out.wav

results in

==================================================================================================
 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:   /tmp/cut_bs.192
Output synthesis file:  out.wav

Output sampling rate:   48000 Hz
Bitrate:                64.00 kbps
Input configuration:    ISM: 1 transport channel(s)
Output configuration:   Stereo

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

fish: Job 1, './IVAS_dec stereo 48 /tmp/cut_b…' terminated by signal SIGSEGV (Address boundary error)