Skip to content

Encoder crash in IGFUpdateInfo with MASA, DTX, BW-switching

Commit: 1889d14f

Using the bandwidth switching sequence ivas_bws_17fr_start_FB.txt the encoding

IVAS_cod -masa 2 ../scripts/testv/stv1MASA2TC48c.met -max_band ivas_bws_17fr_start_FB.txt -dtx 24400 48 ../scripts/testv/stv1MASA2TC48c.wav 0672.bs

crashes in frame 239 with the stack

IGF_UpdateInfo igf_enc.c:1584
IGFSaveSpectrumForITF igf_enc.c:2002
ProcessIGF tcx_utils_enc.c:1470
core_signal_analysis_high_bitrate ext_sig_ana.c:444
stereo_tcx_core_enc ivas_tcx_core_enc.c:304
ivas_core_enc ivas_core_enc.c:254
ivas_cpe_enc ivas_cpe_enc.c:716
ivas_enc ivas_enc.c:262
IVAS_ENC_EncodeFrameToSerial lib_enc.c:1342
main encoder.c:886

The handle hIGFEnc is NULL and it is still accessed.

  • Using the transport signal as stereo mode input doesn't trigger the crash.
  • Running the same command without DTX doesn't trigger the crash.

The same crash is present in BASOP and it's float reference.