Segmentation fault with monochrome sample
$ gdb dav1d
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dav1d...done.
(gdb) r -i mono.ivf --muxer yuv -o NUL
Starting program: F:\msys\mingw64\bin\dav1d.exe -i mono.ivf --muxer yuv -o NUL
[New Thread 7828.0x618]
[New Thread 7828.0x316c]
[New Thread 7828.0x724]
[New Thread 7828.0x1548]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ffd2c9944da in msvcrt!memmove () from C:\WINDOWS\System32\msvcrt.dll
(gdb) bt
#0 0x00007ffd2c9944da in msvcrt!memmove ()
from C:\WINDOWS\System32\msvcrt.dll
#1 0x00000000677fff75 in backup_ipred_edge_8bpc (t=0x2701220)
at ../src/recon.c:1505
#2 0x00000000677d1de7 in decode_tile_sbrow (t=t@entry=0x2701220)
at ../src/decode.c:2218
#3 0x00000000677d32af in decode_frame (f=f@entry=0x787c60)
at ../src/decode.c:2550
#4 0x00000000677d41ad in submit_frame (c=c@entry=0x26f00a0)
at ../src/decode.c:2900
#5 0x00000000677c431d in parse_obus (c=<optimized out>, c@entry=0x26f00a0,
in=in@entry=0x6afd60) at ../src/obu.c:1065
#6 0x000000006781d659 in dav1d_decode (c=0x26f00a0, in=in@entry=0x6afd60,
out=out@entry=0x6afdb0) at ../src/lib.c:189
#7 0x000000000040a45e in main (argc=<optimized out>, argv=<optimized out>)
at ../tools/dav1d.c:108
Edited by James Almer