Assert in hq_core_dec_fx() --> preecho_sb_fx()
Basic info
- Fixed point:
- Encoder (fixed): n/a
- Decoder (fixed): 8ff889f8
Bug description
The attached stereo bitstream triggers an assert in hq_core_dec_fx() --> preecho_sb_fx():
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007ffff7d3f9ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
#2 0x00007ffff7ceacc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff7cd34ac in __GI_abort () at ./stdlib/abort.c:77
#4 0x00007ffff7cd3420 in __assert_fail_base (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=1661, function=<optimized out>) at ./assert/assert.c:118
#5 0x00005555555681ad in L_add (L_var1=244920025, L_var2=2113197679) at lib_basop/basop32.c:1661
#6 0x00005555559a3505 in preecho_sb_fx (core_brate=21500, wtda_audio_fx=0x7ffffffe9b90, q_sig32=0, rec_sig_fx=0x7ffffffeede0, q_sig16=4, framelength=960, memfilt_lb_fx=0x555555db69a2, mean_prev_hb_fx=0x555555db69a4, smoothmem_fx=0x555555db69a8,
mean_prev_fx=0x555555db69ac, mean_prev_nc_fx=0x555555db69b0, wmold_hb_fx=0x555555db69b4, prevflag=0x555555db69b6, pastpre=0x555555db69b8, bwidth=2) at lib_com/trans_inv_fx.c:749
#7 0x00005555555fcf8c in hq_core_dec_fx (st_fx=0x555555dabfb0, synth=0x7ffffffeede0, Q_synth=0x7fffffff0bee, output_frame=960, hq_core_type=0, core_switching_flag=0, output_32_fx=0x555555de0e20) at lib_dec/hq_core_dec_fx.c:558
#8 0x000055555580093d in ivas_core_dec_fx (st_ivas=0x0, hSCE=0x0, hCPE=0x555555da8d90, hMCT=0x0, n_channels=1, output_32_fx=0x7fffffff78a0, hb_synth_32_fx=0x7fffffff5a00, DFT_fx=0x7fffffff1d70, sba_dirac_stereo_flag=0) at lib_dec/ivas_core_dec_fx.c:589
#9 0x0000555555808ba8 in stereo_dft_dec_main (hCPE=0x555555da8d90, ivas_total_brate=24400, n_channels=1, p_res_buf_fx=0x7fffffff5a00, output=0x7fffffff78a0, outputHB_fx=0x7fffffff5a00, output_frame=960, output_Fs=48000) at lib_dec/ivas_cpe_dec_fx.c:757
#10 0x0000555555808594 in ivas_cpe_dec_fx (st_ivas=0x555555da5300, cpe_id=0, output=0x7fffffff78a0, output_frame=960, nb_bits_metadata=0) at lib_dec/ivas_cpe_dec_fx.c:602
#11 0x0000555555605ea5 in ivas_dec_fx (st_ivas=0x555555da5300) at lib_dec/ivas_dec_fx.c:102
#12 0x000055555557138a in IVAS_DEC_GetSamplesDecoder (hIvasDec=0x555555da52a0, splitRendBits=0x0) at lib_dec/lib_dec_fx.c:4085
#13 0x0000555555562b4e in decodeG192 (arg=..., hBsReader=0x555555da5820, hHrtfBinary=0x7fffffffd7e0, headRotReader=0x0, externalOrientationFileReader=0x0, refRotReader=0x0, referenceVectorReader=0x0, objectEditFileReader=0x0, splitRendBits=0x0,
phIvasDec=0x7fffffffd848, pcmBuf=0x555555da5e70) at apps/decoder.c:2377
#14 0x000055555555dd39 in main (argc=5, argv=0x7fffffffe288) at apps/decoder.c:686
Ways to reproduce
Bitstream:
IVAS_dec stereo 48 crash.192 out.wav