Segmentation fault in ISAR Pre-renderer
Basic info
- Fixed point:
- Encoder (fixed):
- Decoder (fixed): 2cf9027d
Bug description
The ISAR Pre-renderer (IVAS_dec) crashes with:
./IVAS_cod_ref -sba 1 256000 48 scripts/testv/stvFOA48c_cut.wav bit
./IVAS_dec_ref -T scripts/trajectories/rotate_euler_quaternion_30s_delayed.csv -render_config tests/split_rendering/renderer_configs/framing/framing_lcld_0dof_5ms.txt -fr 5 BINAURAL_SPLIT_CODED 48 bit splt.bit
The crash is observed in the first frame with the following call stack:
- IVAS_dec.exe!Scale_sig32(int * x, const short lg, const short exp0) Line 1781
- IVAS_dec.exe!ISAR_PRE_REND_MultiBinToSplitBinaural(SPLIT_REND_WRAPPER * hSplitBin, const IVAS_QUATERNION headPosition, const int SplitRendBitRate, ISAR_SPLIT_REND_CODEC splitCodec, const short isar_frame_size_ms, short codec_frame_size_ms, _ISAR_SPLIT_REND_BITS_DATA * pBits, int *[16] * Cldfb_In_BinReal_fx, int *[16] * Cldfb_In_BinImag_fx, const short max_bands, int * * pOutput_fx, const short low_res_pre_rend_rot, const short cldfb_in_flag, const short pcm_out_flag, const short ro_md_flag, short Q_buff, short * Q_out) Line 396
- IVAS_dec.exe!isar_generate_metadata_and_bitstream(Decoder_Struct * st_ivas, int * * p_head_pose_buf, short nSamples, _ISAR_SPLIT_REND_BITS_DATA * splitRendBits, short * Q_out) Line 1477
- IVAS_dec.exe!IVAS_DEC_GetSplitBinauralBitstream(IVAS_DEC * hIvasDec, short * pcmBuf_out, _ISAR_SPLIT_REND_BITS_DATA * splitRendBits, short * nOutSamples, bool * needNewFrame) Line 1702
- IVAS_dec.exe!decodeG192(DecArguments arg, BS_Reader * hBsReader, IVAS_DEC_HRTF_BINARY_WRAPPER * hHrtfBinary, RotFileReader * headRotReader, RotFileReader * externalOrientationFileReader, RotFileReader * refRotReader, Vector3PairFileReader * referenceVectorReader, ObjectEditFileReader * objectEditFileReader, _ISAR_SPLIT_REND_BITS_DATA * splitRendBits, IVAS_DEC * hIvasDec, short * pcmBuf) Line 2609
- IVAS_dec.exe!main(int argc, char * * argv) Line 749