10ms Rendering: Assert in ivas_jbm_dec_render_fx() -> scale_sig32
# Basic info <!--- Add commit SHA used to reproduce--> - Float reference: - Encoder (float): db364042fba738d5d0f9823c047e75edea62bae7 - Decoder (float): n/a - Fixed point: - Encoder (fixed): n/a - Decoder (fixed): 4cdfe14b3fa7bdb9b6150de7922b8ae5f411ad4c # Bug description Decoding a 512 kbit/s 7.1+4 STV bitstream with early reflections and 10ms output causes the BASOP decoder to abort with an assert in ivas_jbm_dec_render_fx() -\> scale_sig32: ``` #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=0x555555e3b562 "0", file=0x555555e3b550 "lib_com/basop32.c", line=2340, function=<optimized out>) at assert.c:94 #3 0x00007ffff7cb96e2 in __GI___assert_fail (assertion=0x555555e3b562 "0", file=0x555555e3b550 "lib_com/basop32.c", line=2340, function=0x555555e3b5b0 <__PRETTY_FUNCTION__.1> "L_shl") at assert.c:103 #4 0x0000555555828e69 in L_shl (L_var1=-1088851840, var2=1) at lib_com/basop32.c:2340 #5 0x000055555594686b in scale_sig32 (x=0x555556057bd0, lg=480, exp0=8) at lib_com/scale_mem_fx.c:308 #6 0x00005555555dc9b3 in ivas_jbm_dec_render_fx (st_ivas=0x555555f08300, nSamplesAsked=480, nSamplesRendered=0x7fffffff850a, nSamplesAvailableNext=0x555555f082dc, data=0x555555f09c40) at lib_dec/ivas_jbm_dec_fx.c:2269 #7 0x000055555556375a in IVAS_DEC_GetRenderedSamples (hIvasDec=0x555555f082a0, nSamplesForRendering=480, nSamplesRendered=0x7fffffff850a, nSamplesAvailableNext=0x555555f082dc, pcmBuf=0x555555f09c40) at lib_dec/lib_dec_fx.c:1563 #8 0x000055555556269d in IVAS_DEC_GetSamples (hIvasDec=0x555555f082a0, nSamplesAsked=480, pcmBuf=0x555555f09c40, nOutSamples=0x7fffffff8748, needNewFrame=0x7fffffff874b) at lib_dec/lib_dec_fx.c:1167 #9 0x000055555555dc1a in decodeG192 (arg=..., hBsReader=0x555555f087b0, headRotReader=0x0, externalOrientationFileReader=0x0, refRotReader=0x0, referenceVectorReader=0x0, hIvasDec=0x555555f082a0, pcmBuf=0x555555f09c40) at apps/decoder.c:1684 #10 0x000055555555a9a2 in main (argc=9, argv=0x7fffffffe1f8) at apps/decoder.c:577 ``` # Ways to reproduce * IVAS_dec -fr 10 -render_config ivas-codec/scripts/testv/rend_config_ER_v1.cfg BINAURAL_ROOM_REVERB 48 stv714MC48c_512kbps.192 out.wav The bitstream is attached (zipped): [stv714MC48c_512kbps.192.zip](/uploads/e820f839aa6161bf15136c539c62a63d/stv714MC48c_512kbps.192.zip) <!--Commandline or script--> <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Add further information to the first row and remove and add labels as necessary.-->
issue