Crash in basop encoder ISM4/190kbps
Basic info
- Encoder and Decoder (float):
- Encoder (fixed): 8d974424
Bug description
During P800-10, the encoder crashes at 190 kbps. Here is the stack:
> IVAS_cod.exe!L_shl(int L_var1, short var2) Line 2332 C
IVAS_cod.exe!PsychAdaptLowFreqDeemph(int * x, const short * lpcGains, const short * lpcGains_e, short * lf_deemph_factors) Line 1449 C
IVAS_cod.exe!QuantizeTCXSpectrum_fx(enc_core_structure * st, const short frame_cnt, int * x_orig_fx, short x_orig_e, short * gainlpc_fx, short * gainlpc_e, const short * Aqind, const short tnsSize, const short nb_bits, const short vad_hover_flag, short * pL_frameTCX, short * pL_frame, short * pL_spec, short * ptcx_offset, short * pnoiseFillingBorder, int * spectrum_fx, short * spectrum_e, CONTEXT_HM_CONFIG * hm_cfg, short * hm_active, short * lf_deemph_fact_fx, short * nf_seed, int * ener_fx, short * ener_e, short * gain_tcx_fx, short * gain_tcx_e, short * prm) Line 3702 C
IVAS_cod.exe!QuantizeSpectrum_ivas_fx(enc_core_structure * st, const short * A_fx, const short * Aqind, short * gainlpc_fx, short * gainlpc_e, short * synth, const short nb_bits, const short tnsSize, short * prm, const short frame_cnt, CONTEXT_HM_CONFIG * hm_cfg, const short vad_hover_flag) Line 1021 C
IVAS_cod.exe!stereo_tcx_core_enc(enc_core_structure * st, const short * new_samples_12k8, const short * new_samples_16k, const short * Aw_fx, short * lsp_new_fx, short * lsp_mid_fx, short * pitch_buf_fx, const short last_element_mode, const short vad_hover_flag, short Q_new) Line 542 C
IVAS_cod.exe!ivas_core_enc_fx(sce_enc_data_structure * hSCE, cpe_enc_data_structure * hCPE, mct_enc_data_structure * hMCT, const short n_CoreChannels, short[496] * old_inp_12k8_fx, short[880] * old_inp_16k_fx, short * Q_new, int * ener_fx, short[85] * A_fx, short[85] * Aw_fx, int[17] * epsP_fx, short * epsP_fx_q, short[16] * lsp_new_fx, short[16] * lsp_mid_fx, const short * vad_hover_flag, short * attack_flag, int[16][60] * realBuffer_fx, int[16][60] * imagBuffer_fx, short * q_re_im_buf, short[616] * old_wsp_fx, short * e_old_wsp, const short * loc_harm, const short * cor_map_sum_fx, const short * vad_flag_dtx, int[60] * enerBuffer_fx, short * enerBuffer_fx_exp, short[512] * fft_buff_fx, const short tdm_SM_or_LRTD_Pri, const short ivas_format, const short flag_16k_smc) Line 354 C
IVAS_cod.exe!ivas_ism_enc_fx(Encoder_Struct * st_ivas, int * * data, short q_data, const short input_frame, short * nb_bits_metadata, const short flag_omasa_ener_brate) Line 465 C
Ways to reproduce
Box folder: ...\Box_EXTERNAL_IVAS_BASOP_VERIFICATION\issues\issue-1984
-ism 4 k:\cat6_concatenated.wav.0.csv k:\cat6_concatenated.wav.1.csv k:\cat6_concatenated.wav.2.csv k:\cat6_concatenated.wav.3.csv 192000 48 k:\cat6_concatenated.wav bit
Edited by vaillancour