Opened 4 years ago
Closed 18 months ago
#8965 closed defect (needs_more_info)
ffmpeg crashes with 0xc0000005 and a resolution of 1024x576
Reported by: | mrx1983 | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | git-master | Keywords: | crash |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
so i get a strange bug where ffmpeg crashes from time to time.
this especially happens when i use a resolution of 1024x576.
i have a sample here which includes a bat file with the command, the video file and the ffmpeg version.
https://sharing.rainbowdash.cc/testencode_short.7z
i also have the video file separate here:
https://sharing.rainbowdash.cc/ffmpegbug/input_short.mkv
it crashes just before the credits begin.
i tested it both on a ryzen system and an older intel system, on windows 10 (64bit).
both produce this error. maybe its a problem of my command line, but i think ffmpeg should maybe prevent this command then.
How to reproduce:
ffmpeg -i "input_short.mkv" -map_metadata -1 -map 0:v -map 0:a:1 -c:v libaom-av1 -strict experimental -vf "scale=1024:576" -cpu-used 5 -crf 48 -b:v 700k -maxrate 800k -bufsize 800k -g 48 -pass 1 -sn -an -row-mt 1 -tile-columns 1 -f null /dev/null && ^ ffmpeg -i "input_short.mkv" -map_metadata -1 -map 0:v -map 0:a:1 -c:v libaom-av1 -strict experimental -vf "scale=1024:576" -cpu-used 5 -crf 48 -b:v 700k -maxrate 800k -bufsize 800k -g 48 -pass 2 -sn -c:a libopus -b:a 64k -row-mt 1 -tile-columns 1 "output_av1.webm" ffmpeg-2020-10-31-git-3da35b7cc7-full_build.7z from https://www.gyan.dev/ffmpeg/builds/
Change History (14)
comment:1 by , 4 years ago
Component: | undetermined → ffmpeg |
---|
comment:3 by , 4 years ago
Component: | ffmpeg → undetermined |
---|
As reported by me on Reddit, it doesn't happen with libx264. I also tested with librav1e with the short clip and couldn't reproduce, so this looks related to libaom.
comment:4 by , 4 years ago
Keywords: | crash added |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
$ ffmpeg.exe -i input_short.mkv -map_metadata -1 -map 0:v -map 0:a:1 -c:v libaom-av1 -strict experimental -vf "scale=1024:576" -cpu-used 5 -crf 48 -b:v 700k -maxrate 800k -bufsize 800k -g 48 -pass 1 -sn -an -row-mt 1 -tile-columns 1 -f null - ffmpeg version N-99880-g8fbcc546b8 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7.3-win32 (GCC) 20180312 configuration: --enable-gpl --enable-libaom --enable-libopus --cc=x86_64-w64-mingw32-gcc --target-os=win32 --extra-cflags=-I../include --extra-ldflags=-L../libx64 libavutil 56. 60.100 / 56. 60.100 libavcodec 58.112.101 / 58.112.101 libavformat 58. 64.100 / 58. 64.100 libavdevice 58. 11.102 / 58. 11.102 libavfilter 7. 89.100 / 7. 89.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, matroska,webm, from 'input_short.mkv': Metadata: ENCODER : Lavf58.29.100 Duration: 00:00:08.57, start: 0.043000, bitrate: 7131 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default) Metadata: DURATION : 00:00:08.551000000 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: DURATION : 00:00:08.566000000 Stream #0:2: Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:00:08.556000000 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1)) Press [q] to stop, [?] for help [libaom-av1 @ 0000000005c29480] 2.0.0-999-gf2711d505 Output #0, null, to 'pipe:': 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, 700 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default) Metadata: encoder : Lavc58.112.101 libaom-av1 Side data: cpb: bitrate max/min/avg: 800000/0/700000 buffer size: 800000 vbv_delay: N/A frame= 204 fps= 54 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Output file is empty, nothing was encoded
$ ffmpeg.exe -i input_short.mkv -map_metadata -1 -map 0:v -map 0:a:1 -c:v libaom-av1 -strict experimental -vf "scale=1024:576" -cpu-used 5 -crf 48 -b:v 700k -maxrate 800k -bufsize 800k -g 48 -pass 2 -sn -c:a libopus -b:a 64k -row-mt 1 -tile-columns 1 out.webm ffmpeg version N-99880-g8fbcc546b8 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7.3-win32 (GCC) 20180312 configuration: --enable-gpl --enable-libaom --enable-libopus --cc=x86_64-w64-mingw32-gcc --target-os=win32 --extra-cflags=-I../include --extra-ldflags=-L../libx64 libavutil 56. 60.100 / 56. 60.100 libavcodec 58.112.101 / 58.112.101 libavformat 58. 64.100 / 58. 64.100 libavdevice 58. 11.102 / 58. 11.102 libavfilter 7. 89.100 / 7. 89.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, matroska,webm, from 'input_short.mkv': Metadata: ENCODER : Lavf58.29.100 Duration: 00:00:08.57, start: 0.043000, bitrate: 7131 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default) Metadata: DURATION : 00:00:08.551000000 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: DURATION : 00:00:08.566000000 Stream #0:2: Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:00:08.556000000 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1)) Stream #0:2 -> #0:1 (aac (native) -> opus (libopus)) Press [q] to stop, [?] for help [libaom-av1 @ 0000000006af0840] 2.0.0-999-gf2711d505 Output #0, webm, to 'out.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, 700 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default) Metadata: encoder : Lavc58.112.101 libaom-av1 Side data: cpb: bitrate max/min/avg: 800000/0/700000 buffer size: 800000 vbv_delay: N/A Stream #0:1: Audio: opus (libopus), 48000 Hz, stereo, flt, 64 kb/s (default) Metadata: encoder : Lavc58.112.101 libopus frame= 204 fps=5.6 q=0.0 Lsize= 446kB time=00:00:08.52 bitrate= 429.0kbits/s speed=0.235x video:375kB audio:67kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.043451%
comment:5 by , 4 years ago
this is how it looks for me, i downloaded also now the version N-99880-g8fbcc546b8.
i see that your build was made with a different gcc, could that be the cause of the crash?
"gcc 9.3-win32 (GCC) 20200320" vs "gcc 7.3-win32 (GCC) 20180312" ?
ffmpeg version N-99880-g8fbcc546b8 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.3-win32 (GCC) 20200320 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp libavutil 56. 60.100 / 56. 60.100 libavcodec 58.112.101 / 58.112.101 libavformat 58. 64.100 / 58. 64.100 libavdevice 58. 11.102 / 58. 11.102 libavfilter 7. 89.100 / 7. 89.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, matroska,webm, from 'input_short.mkv': Metadata: ENCODER : Lavf58.29.100 Duration: 00:00:08.57, start: 0.043000, bitrate: 7131 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default) Metadata: DURATION : 00:00:08.551000000 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: DURATION : 00:00:08.566000000 Stream #0:2: Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:00:08.556000000 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1)) Press [q] to stop, [?] for help [libaom-av1 @ 0000023c91c9f040] v2.0.0 Output #0, null, to '/dev/null': 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, 700 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default) Metadata: encoder : Lavc58.112.101 libaom-av1 Side data: cpb: bitrate max/min/avg: 800000/0/700000 buffer size: 800000 vbv_delay: N/A frame= 204 fps=118 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Output file is empty, nothing was encoded ffmpeg version N-99880-g8fbcc546b8 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.3-win32 (GCC) 20200320 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp libavutil 56. 60.100 / 56. 60.100 libavcodec 58.112.101 / 58.112.101 libavformat 58. 64.100 / 58. 64.100 libavdevice 58. 11.102 / 58. 11.102 libavfilter 7. 89.100 / 7. 89.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, matroska,webm, from 'input_short.mkv': Metadata: ENCODER : Lavf58.29.100 Duration: 00:00:08.57, start: 0.043000, bitrate: 7131 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default) Metadata: DURATION : 00:00:08.551000000 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: DURATION : 00:00:08.566000000 Stream #0:2: Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:00:08.556000000 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> av1 (libaom-av1)) Stream #0:2 -> #0:1 (aac (native) -> opus (libopus)) Press [q] to stop, [?] for help [libaom-av1 @ 0000027faac4a2c0] v2.0.0 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, 700 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default) Metadata: encoder : Lavc58.112.101 libaom-av1 Side data: cpb: bitrate max/min/avg: 800000/0/700000 buffer size: 800000 vbv_delay: N/A Stream #0:1: Audio: opus (libopus), 48000 Hz, stereo, flt, 64 kb/s (default) Metadata: encoder : Lavc58.112.101 libopus Drücken Sie eine beliebige Taste . . . kB time=00:00:06.86 bitrate= 305.5kbits/s speed=0.441x
follow-up: 7 comment:6 by , 4 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
so i tried all the binary buildings that are available for windows, including compiling my own with "media autobuild suite" and i not get it to work without crash, i even tried it on a third computer now, and they all crash on a windows 10 64bit system.
this is another sample that not worked for me now:
https://sharing.rainbowdash.cc/ffmpegbug/testencode2.7z
this is a bit bigger, because it crashed only with the full video this time.
it crashes right at the start.
i would like that people take a closer look at this before closing it, because somewhere in the chain there must be some error, and i would like that we can find and fix it.
i basically can't use ffmpeg reliable at the moment. @cehoyos since your version worked, maybe you can provide a solution why all the other binaries including the "auto build suite" not working?
i think that is very important that all this binaries that are out there are working reliable, including the auto build suite.
i also screen recorded my encoding here, so you can see it not works for me.
https://sharing.rainbowdash.cc/ffmpegbug/2020-11-13_18-50-43.mp4
i used the newest version of gyan.dev 2020-11-11-git-89429cf2f2
follow-up: 8 comment:7 by , 4 years ago
Replying to mrx1983:
so i tried all the binary buildings that are available for windows, including compiling my own
Then please provide the minimum information needed for all crash reports, see: https://ffmpeg.org/bugreports.html
comment:8 by , 4 years ago
Replying to cehoyos:
Replying to mrx1983:
so i tried all the binary buildings that are available for windows, including compiling my own
Then please provide the minimum information needed for all crash reports, see: https://ffmpeg.org/bugreports.html
okay hopefully i have done everything right:
i compiled ffmpeg as debug build and used a gdb windows binary with it.
also i added the report and log commands to ffmpeg command line.
here is the ffmpeg "media autobuild suite" build and gdb:
https://sharing.rainbowdash.cc/ffmpegbug/mabs_ffmpeg_build.7z
here is the log for the first video:
https://sharing.rainbowdash.cc/ffmpegbug/testencode_short_logs.7z
here is the log for the second video:
https://sharing.rainbowdash.cc/ffmpegbug/testencode2_logs.7z
i also have a crash with a whole episode, but maybe this is already enough, i think its the same crash for all the videos.
i hope that this will help you, i'm not a pro with ffmpeg debugging, but i try my best to help finding and fixing the issue.
follow-up: 10 comment:9 by , 4 years ago
Please post backtrace, disassembly and register dump here in the ticket, see #8972 for an example.
follow-up: 11 comment:10 by , 4 years ago
Replying to cehoyos:
Please post backtrace, disassembly and register dump here in the ticket, see #8972 for an example.
Summary:
ffmpeg crashes at different positions, especially with a low resolution of 1024x576
How to reproduce:
ffmpeg -i "input.mp4" -map_metadata -1 -c:v libaom-av1 -strict experimental -vf "scale=1024:576" -cpu-used 5 -crf 48 -b:v 650k -maxrate 750k -bufsize 750k -g 48 -pass 1 -sn -an -row-mt 1 -f null /dev/null && ^ ffmpeg -i "input.mp4" -map_metadata -1 -c:v libaom-av1 -strict experimental -vf "scale=1024:576" -cpu-used 5 -crf 48 -b:v 650k -maxrate 750k -bufsize 750k -g 48 -pass 2 -sn -c:a libopus -b:a 64k -row-mt 1 "output_av1.webm"
Output from GDB:
(gdb) bt #0 0x00007ff6b9e519c8 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x7ff6b9e519a8 to 0x7ff6b9e519e8: 0x00007ff6b9e519a8: add %al,(%rax) 0x00007ff6b9e519aa: add %cl,(%rdi) 0x00007ff6b9e519ac: sub %edi,0x90(%rsp) 0x00007ff6b9e519b3: lea 0x946dc6(%rip),%rdi # 0x7ff6ba798780 0x00007ff6b9e519ba: mov 0x110(%rsp),%eax 0x00007ff6b9e519c1: cmpb $0x1,0x3f1c9d(%rcx) => 0x00007ff6b9e519c8: movdqu (%r8),%xmm7 0x00007ff6b9e519cd: mov 0x3ebe5c(%rcx),%r13d 0x00007ff6b9e519d4: mov %eax,0x54(%rsp) 0x00007ff6b9e519d8: mov %rdx,%rbx 0x00007ff6b9e519db: mov %rcx,%r14 0x00007ff6b9e519de: mov %r8,%r12 0x00007ff6b9e519e1: mov 0x120(%rsp),%eax End of assembler dump. (gdb) info all-registers rax 0xb0 176 rbx 0x28071fe6060 2750691565664 rcx 0x28069af8060 2750552178784 rdx 0x28071fe6060 2750691565664 rsi 0xc 12 rdi 0x7ff6ba798780 140697667209088 rbp 0xb0 0xb0 rsp 0xec0a3fa6f0 0xec0a3fa6f0 r8 0x0 0 r9 0x40 64 r10 0x2806f9bd410 2750651552784 r11 0x0 0 r12 0x28069af8060 2750552178784 r13 0x28072dbc5e0 2750706075104 r14 0x0 0 r15 0x2806a2beed0 2750560333520 rip 0x7ff6b9e519c8 0x7ff6b9e519c8 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) ---Type <return> to continue, or q <return> to quit--- st5 -0.99999830457899308 (raw 0xbffeffffe38e38e38e39) st6 1.6954210069444444e-006 (raw 0x3febe38e38e38e38e000) 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, 0x6c, 0xa0, 0x6f, 0x80, 0x2, 0x0, 0x0, 0xb0, 0x1a, 0x9f, 0x6f, 0x80, 0x2, 0x0, 0x0}, v8_int16 = {0x6c10, 0x6fa0, 0x280, 0x0, 0x1ab0, 0x6f9f, 0x280, 0x0}, v4_int32 = {0x6fa06c10, 0x280, 0x6f9f1ab0, 0x280}, v2_int64 = {0x2806fa06c10, 0x2806f9f1ab0}, uint128 = 0x000002806f9f1ab0000002806fa06c10} 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, ---Type <return> to continue, or q <return> to quit--- 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, 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>}, ---Type <return> to continue, or q <return> to quit--- 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)
comment:11 by , 4 years ago
Replying to mrx1983:
(gdb) bt #0 0x00007ff6b9e519c8 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Please test if updating libaom fixes the issue, if not, please test if you can reproduce with --disable-optimizations
which may allow to get a useful backtrace.
comment:12 by , 4 years ago
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.
comment:14 by , 18 months ago
Resolution: | → needs_more_info |
---|---|
Status: | reopened → closed |
As suggested by me on Reddit, it doesn't happen with libx264. I also tested with librav1e with the short clip and couldn't reproduce, so this looks related to libaom.