Skip to content

Decoder: Assert in fft30_with_cmplx_data()

Basic info

  • Float reference:
    • Encoder (float): 05f58f72
    • Decoder (float): n/a
  • Fixed point:
    • Encoder (fixed): n/a
    • Decoder (fixed): 12778592

Bug description

The BASOP decoder crashes with an assert in the CLDFB filterbank for an HOA3 bitstream:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7caa537 in __GI_abort () at abort.c:79
#2  0x00007ffff7caa40f in __assert_fail_base (fmt=0x7ffff7e21688 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x555555e54152 "0", file=0x555555e54140 "lib_com/basop32.c", line=1784, function=<optimized out>) at assert.c:92
#3  0x00007ffff7cb96d2 in __GI___assert_fail (assertion=0x555555e54152 "0", file=0x555555e54140 "lib_com/basop32.c", line=1784, function=0x555555e54194 <__PRETTY_FUNCTION__.3> "L_add") at assert.c:101
#4  0x000055555583a55c in L_add (L_var1=1126319704, L_var2=1126667958) at lib_com/basop32.c:1784
#5  0x000055555586e18b in CL_add (inp1=..., inp2=...) at lib_com/complex_basop.c:49
#6  0x000055555588c130 in fft30_with_cmplx_data (inp=0x7ffffffcf460) at lib_com/fft_cldfb_fx.c:887
#7  0x000055555588c92b in fft_cldfb_fx (data=0x7ffffffcf460, size=30) at lib_com/fft_cldfb_fx.c:1038
#8  0x000055555585e1d7 in cldfbAnalysis_ts_fx_fixed_q (timeIn_fx=0x555555f78d90, realBuffer_fx=0x7ffffffd1af0, imagBuffer_fx=0x7ffffffd0470, samplesToProcess=60, h_cldfb=0x555555f74610, q_cldfb=0x7ffffffd2932) at lib_com/cldfb.c:1041
#9  0x00005555556c2443 in ivas_dirac_dec_binaural_internal_fx (st_ivas=0x555555f20300, hCombinedOrientationData=0x0, output_fx=0x7ffffffe1a00, nchan_transport=1, subframe=0) at lib_rend/ivas_dirac_dec_binaural_functions.c:805
#10 0x00005555556c0c4d in ivas_dirac_dec_binaural_render_fx (st_ivas=0x555555f20300, nSamplesAsked=960, nSamplesRendered=0x7fffffff855a, nSamplesAvailable=0x555555f202e4, nchan_transport=1, output_f=0x7ffffffe1ba0)
    at lib_rend/ivas_dirac_dec_binaural_functions.c:492
#11 0x00005555555d7b3d in ivas_jbm_dec_render_fx (st_ivas=0x555555f20300, nSamplesAsked=960, nSamplesRendered=0x7fffffff855a, nSamplesAvailableNext=0x555555f202e4, data=0x555555f21480) at lib_dec/ivas_jbm_dec.c:2113
#12 0x0000555555563400 in IVAS_DEC_GetRenderedSamples (hIvasDec=0x555555f202a0, nSamplesForRendering=960, nSamplesRendered=0x7fffffff855a, nSamplesAvailableNext=0x555555f202e4, pcmBuf=0x555555f21480) at lib_dec/lib_dec_fx.c:1538
#13 0x0000555555562343 in IVAS_DEC_GetSamples (hIvasDec=0x555555f202a0, nSamplesAsked=960, pcmBuf=0x555555f21480, nOutSamples=0x7fffffff8798, needNewFrame=0x7fffffff879b) at lib_dec/lib_dec_fx.c:1142
#14 0x000055555555dc6a in decodeG192 (arg=..., hBsReader=0x555555f207b0, headRotReader=0x0, externalOrientationFileReader=0x0, refRotReader=0x0, referenceVectorReader=0x0, hIvasDec=0x555555f202a0, pcmBuf=0x555555f21480) at apps/decoder.c:1684
#15 0x000055555555a9f2 in main (argc=5, argv=0x7fffffffe248) at apps/decoder.c:577

Ways to reproduce

Commandline:

  • IVAS_dec binaural 48 HOA3.am4aa1s16_10dB.enc_48kHz-SWB-32000-dtx-flt.192 out.wav

Bitstream will be shared via box.com

Box folder: ...\Box_EXTERNAL_IVAS_BASOP_VERIFICATION\issues\issue-1185

Edited by multrus