Crash when frame threads > number of frames
./dav1d -i your_favorite_50_frames.ivf --framethreads 51 --tilethreads 1 -o /dev/null.y4m --limit 500
Aborted (core dumped)
Thread 1 "dav1d" received signal SIGABRT, Aborted.
0x00007ffff7752eab in raise () from /lib64/libc.so.6
(gdb) bt full
#0 0x00007ffff7752eab in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff773d5b9 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007ffff77957b7 in __libc_message () from /lib64/libc.so.6
No symbol table info available.
#3 0x00007ffff779bc4c in malloc_printerr () from /lib64/libc.so.6
No symbol table info available.
#4 0x00007ffff779d3dc in _int_free () from /lib64/libc.so.6
No symbol table info available.
#5 0x00007ffff7b63f0f in dav1d_free_aligned (ptr=0x7ffff7395728) at ../include/common/mem.h:57
No locals.
#6 0x00007ffff7b64ac2 in dav1d_close (c=0x6074e0) at ../src/lib.c:224
f = 0x7ffff7390040
n = 0
__PRETTY_FUNCTION__ = "dav1d_close"
#7 0x00000000004016d0 in main (argc=11, argv=0x7fffffffd218) at ../tools/dav1d.c:170
istty = 1
res = 1
cli_settings = {outputfile = 0x7fffffffd68d "/dev/null.y4m",
inputfile = 0x7fffffffd636 "/home/thomas/sandbox/rav1e/minecraft_enormous.ivf", muxer = 0x0, limit = 500,
skip = 0, quiet = 0}
lib_settings = {n_frame_threads = 64, n_tile_threads = 1}
in = 0x606260
out = 0x0
p = {data = {0x0, 0x0, 0x0}, ref = 0x0, stride = {0, 0}, p = {w = 0, h = 0,
layout = DAV1D_PIXEL_LAYOUT_I400, bpc = 0, pri = 0, trc = 0, mtrx = DAV1D_MC_IDENTITY,
chr = DAV1D_CHR_UNKNOWN, fullrange = 0}, poc = 0}
c = 0x6074e0
data = {data = 0x7ffea00ba4ff "", sz = 0, ref = 0xb6bb60}
n_out = 0
total = 50
fps = {3000, 0}
version = 0x7ffff7b8229f "462204a"
Edited by Thomas Daede