[FFmpeg-trac] #8965(undetermined:reopened): ffmpeg crashes with 0xc0000005 and a resolution of 1024x576
FFmpeg
trac at avcodec.org
Sun Nov 15 20:18:33 EET 2020
#8965: ffmpeg crashes with 0xc0000005 and a resolution of 1024x576
-------------------------------------+-------------------------------------
Reporter: mrx1983 | Owner:
Type: defect | Status: reopened
Priority: important | Component:
| undetermined
Version: git-master | Resolution:
Keywords: crash | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mrx1983):
i let media autobuild suite compile a new version where i used "--disable-
optimizations".
its still on the newest libaom 2.0.0-1023-gd198b8e9f, which was not
updated to a newer version yet.
i still have the same error without much backtrace info:
startpart
{{{
[New Thread 3664.0x1d48]
[New Thread 3664.0x2924]
[New Thread 3664.0x1c30]
[New Thread 3664.0x109c]
ffmpeg version N-99922-ga918a3addf-g9f20e5d281+1 Copyright (c) 2000-2020
the FFmpeg developers
built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
configuration: --cc='ccache gcc' --cxx='ccache g++' --enable-gmp
--enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d
--enable-libaom --disable-optimizations --enable-schannel --enable-gpl
--enable-version3 --disable-stripping
libavutil 56. 60.100 / 56. 60.100
libavcodec 58.112.103 / 58.112.103
libavformat 58. 64.100 / 58. 64.100
libavdevice 58. 11.102 / 58. 11.102
libavfilter 7. 90.100 / 7. 90.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.20.100
Duration: 00:06:20.07, start: 0.000000, bitrate: 2102 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 1969 kb/s, 24 fps, 24 tbr, 90k tbn,
48 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 127 kb/s (default)
Metadata:
handler_name : SoundHandler
[New Thread 3664.0x3a34]
[New Thread 3664.0x3054]
[New Thread 3664.0x23dc]
[New Thread 3664.0x2468]
[New Thread 3664.0x3bd4]
[New Thread 3664.0x908]
[New Thread 3664.0x304c]
[New Thread 3664.0x2dc4]
[New Thread 3664.0x40fc]
[New Thread 3664.0x44c]
[New Thread 3664.0x2908]
[New Thread 3664.0x3a6c]
[New Thread 3664.0x3890]
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1))
Stream #0:1 -> #0:1 (aac (native) -> opus (libopus))
Press [q] to stop, [?] for help
[New Thread 3664.0x36dc]
[New Thread 3664.0x36f4]
[New Thread 3664.0x1b50]
[New Thread 3664.0x1d38]
[New Thread 3664.0x3d60]
[New Thread 3664.0x28fc]
[New Thread 3664.0x1e30]
[New Thread 3664.0x24e8]
[New Thread 3664.0x3960]
[New Thread 3664.0x1ce4]
[New Thread 3664.0x16bc]
[New Thread 3664.0x1d2c]
[New Thread 3664.0x2cf4]
[New Thread 3664.0x2fc0]
[New Thread 3664.0x356c]
[New Thread 3664.0x24c]
[New Thread 3664.0x1420]
[New Thread 3664.0x3168]
[New Thread 3664.0x3a38]
[New Thread 3664.0xed8]
[New Thread 3664.0x3638]
[New Thread 3664.0x409c]
[New Thread 3664.0x3b90]
[New Thread 3664.0x20a0]
[libaom-av1 @ 000001dd82d97e80] 2.0.0-1023-gd198b8e9f
Output #0, webm, to 'output_av1.webm':
Metadata:
encoder : Lavf58.64.100
Stream #0:0: Video: av1 (libaom-av1), yuv420p(tv, bt709, progressive),
1024x576 [SAR 1:1 DAR 16:9], q=-1--1, 650 kb/s, 24 fps, 1k tbn, 24 tbc
(default)
Metadata:
encoder : Lavc58.112.103 libaom-av1
Side data:
cpb: bitrate max/min/avg: 750000/0/650000 buffer size: 750000
vbv_delay: N/A
Stream #0:1: Audio: opus (libopus), 48000 Hz, stereo, flt, 64 kb/s
(default)
Metadata:
encoder : Lavc58.112.103 libopus
[New Thread 3664.0x62c]
[New Thread 3664.0x2980]
[New Thread 3664.0x10e4]
frame= 53 fps=8.6 q=0.0 size= 1kB time=00:00:02.67 bitrate=
2.2kbits/s speed=0.433x
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3664.0x2980]
0x00007ff796ff4598 in ?? ()
}}}
backtrace, disassembly and register part
{{{
(gdb) bt
#0 0x00007ff796ff4598 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x7ff796ff4578 to 0x7ff796ff45b8:
0x00007ff796ff4578: add %al,(%rax)
0x00007ff796ff457a: add %cl,(%rdi)
0x00007ff796ff457c: sub %edi,0x90(%rsp)
0x00007ff796ff4583: lea 0x8e4ef6(%rip),%rdi # 0x7ff7978d9480
0x00007ff796ff458a: mov 0x110(%rsp),%eax
0x00007ff796ff4591: cmpb $0x1,0x3f1c9d(%rcx)
=> 0x00007ff796ff4598: movdqu (%r8),%xmm7
0x00007ff796ff459d: mov 0x3ebe5c(%rcx),%r13d
0x00007ff796ff45a4: mov %eax,0x54(%rsp)
0x00007ff796ff45a8: mov %rdx,%rbx
0x00007ff796ff45ab: mov %rcx,%r14
0x00007ff796ff45ae: mov %r8,%r12
0x00007ff796ff45b1: mov 0x120(%rsp),%eax
End of assembler dump.
(gdb) info all-registers
rax 0xb0 176
rbx 0x1dd91009060 2051132133472
rcx 0x1dd88f8f060 2050997416032
rdx 0x1dd91009060 2051132133472
rsi 0xc 12
rdi 0x7ff7978d9480 140701376287872
rbp 0xb0 0xb0
rsp 0x457c1fa300 0x457c1fa300
r8 0x0 0
r9 0x40 64
r10 0x1dd8ee0b410 2051096491024
r11 0x0 0
r12 0x1dd88f8f060 2050997416032
r13 0x1dd921dda40 2051150830144
r14 0x0 0
r15 0x1dd8975bed0 2051005595344
rip 0x7ff796ff4598 0x7ff796ff4598
eflags 0x10297 [ CF PF AF SF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
st0 -inf (raw 0xffff0000000000000000)
st1 -nan(0x9f80bd806880a880) (raw 0xffff9f80bd806880a880)
st2 -inf (raw 0xffff0000000000000000)
st3 -nan(0x9f80bd806880a880) (raw 0xffff9f80bd806880a880)
st4 0.99999830457899308 (raw 0x3ffeffffe38e38e38e39)
st5 -0.99999830457899308 (raw 0xbffeffffe38e38e38e39)
st6 1.6954210069444444e-006 (raw 0x3febe38e38e38e38e000)
---Type <return> to continue, or q <return> to quit---
st7 -19.169925001442312 (raw 0xc003995c01a39fbd68a8)
fctrl 0x20037f 2098047
fstat 0xff0020 16711712
ftag 0xff 255
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x10, 0x4c, 0xe5, 0x8e, 0xdd, 0x1, 0x0, 0x0, 0xb0,
0xfa, 0xe3, 0x8e, 0xdd, 0x1, 0x0, 0x0}, v8_int16 = {0x4c10, 0x8ee5,
0x1dd, 0x0, 0xfab0, 0x8ee3, 0x1dd, 0x0}, v4_int32 = {
0x8ee54c10, 0x1dd, 0x8ee3fab0, 0x1dd}, v2_int64 = {0x1dd8ee54c10,
0x1dd8ee3fab0}, uint128 = 0x000001dd8ee3fab0000001dd8ee54c10}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0xb0, 0x0 <repeats 15 times>}, v8_int16 = {0xb0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xb0, 0x0, 0x0, 0x0},
v2_int64 = {0xb0, 0x0},
uint128 = 0x000000000000000000000000000000b0}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x1, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x90, 0x0, 0x0,
0x0, 0x100, 0x0}, v4_int32 = {0x0, 0x90, 0x0, 0x100},
v2_int64 = {0x9000000000, 0x10000000000}, uint128 =
0x00000100000000000000009000000000}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0xff, 0x7f, 0x0 <repeats 14 times>}, v8_int16 = {
0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x7fff, 0x0,
0x0, 0x0}, v2_int64 = {0x7fff, 0x0},
uint128 = 0x00000000000000000000000000007fff}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x27, 0x1, 0x27, 0x1, 0x27, 0x1, 0x27, 0x1, 0x27,
0x1, 0x27, 0x1, 0x27, 0x1, 0x27, 0x1}, v8_int16 = {0x127, 0x127,
0x127, 0x127, 0x127, 0x127, 0x127, 0x127}, v4_int32 = {0x1270127,
0x1270127, 0x1270127, 0x1270127}, v2_int64 = {0x127012701270127,
0x127012701270127}, uint128 = 0x01270127012701270127012701270127}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0x7f}, v8_int16 = {0xffff, 0xffff, 0xffff, 0x7fff, 0xffff,
0xffff, 0xffff, 0x7fff}, v4_int32 = {0xffffffff, 0x7fffffff,
0xffffffff, 0x7fffffff}, v2_int64 = {0x7fffffffffffffff,
0x7fffffffffffffff}, uint128 = 0x7fffffffffffffff7fffffffffffffff}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
---Type <return> to continue, or q <return> to quit---
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0},
v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
(gdb)
}}}
i also found out that the july version and probably earlier versions from
zeranoe also not has this crash, i was able to run it through with
ffmpeg-20200716-d11cc74-win64-static.
that was the version before the huge speed changes.
also running it through with "-cpuflags none" also worked. i think it
disables sse an similar stuff.
maybe that helps somehow.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8965#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list