[FFmpeg-trac] #9049(avfilter:new): astats undefined behaviour on float pcm having peaks much greater than 1.0
FFmpeg
trac at avcodec.org
Sun Jan 3 23:09:34 EET 2021
#9049: astats undefined behaviour on float pcm having peaks much greater than 1.0
--------------------------------------+------------------------------------
Reporter: danadam | Owner:
Type: defect | Status: new
Priority: important | Component: avfilter
Version: git-master | Resolution:
Keywords: astats crash | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by cus):
It crashes here with GCC 7.5.0.
{{{
0x00000000006b53af <+8399>: mulsd xmm0,xmm8
0x00000000006b53b4 <+8404>: cvttsd2si ebx,xmm0
0x00000000006b53b8 <+8408>: cmp ebx,0x1fff
0x00000000006b53be <+8414>: cmovg ebx,r11d
0x00000000006b53c2 <+8418>: cmp eax,ebx
0x00000000006b53c4 <+8420>: cmovl eax,ebx
0x00000000006b53c7 <+8423>: movsxd rbx,ebx
=> 0x00000000006b53ca <+8426>: add DWORD PTR [r12+rbx*4+0xf8],0x1
}}}
{{{
rax 0x0 0
rbx 0xffffffff80000000 -2147483648
r11 0x1fff 8191
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9049#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list