Data race Chimera-8bit
- ./dav1d --framethread 2 --tilethread 2 -i ../../../Downloads/Chimera-AV1-8bit-480x270-552kbps.ivf -o x.y4m
Decoded 133/8929 frames (1.5%)==================
WARNING: ThreadSanitizer: data race (pid=78764)
Write of size 2 at 0x7e800030ad1c by thread T6:
#0 boxsum5 looprestoration.c:273 (libdav1d.0.dylib:x86_64+0xae118)
#1 selfguided_filter looprestoration.c:407 (libdav1d.0.dylib:x86_64+0xac0c6)
#2 selfguided_c looprestoration.c:517 (libdav1d.0.dylib:x86_64+0xab371)
#3 lr_stripe lr_apply.c:168 (libdav1d.0.dylib:x86_64+0xaa8a8)
#4 lr_sbrow lr_apply.c:263 (libdav1d.0.dylib:x86_64+0xa9ff9)
#5 dav1d_lr_sbrow_8bpc lr_apply.c:291 (libdav1d.0.dylib:x86_64+0xa961e)
#6 filter_sbrow_8bpc recon.c:1476 (libdav1d.0.dylib:x86_64+0xc5713)
#7 decode_frame decode.c:2613 (libdav1d.0.dylib:x86_64+0x22ba6)
#8 dav1d_frame_task thread_task.c:53 (libdav1d.0.dylib:x86_64+0x12a5d5)
Previous write of size 8 at 0x7e800030ad18 by thread T5:
#0 recon_b_inter_8bpc recon.c:1046 (libdav1d.0.dylib:x86_64+0xba150)
#1 decode_b decode.c:712 (libdav1d.0.dylib:x86_64+0x29786)
#2 decode_sb decode.c:1943 (libdav1d.0.dylib:x86_64+0x1c23a)
#3 decode_tile_sbrow decode.c:2078 (libdav1d.0.dylib:x86_64+0x1660a)
#4 dav1d_tile_task thread_task.c:124 (libdav1d.0.dylib:x86_64+0x12b02d)
Location is stack of thread T5.
Thread T6 (tid=1007808, running) created by main thread at:
#0 pthread_create <null>:3152544 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x283ed)
#1 dav1d_open lib.c:128 (libdav1d.0.dylib:x86_64+0x128097)
#2 main dav1d.c:105 (dav1d:x86_64+0x100002574)
Thread T5 (tid=1007807, running) created by main thread at:
#0 pthread_create <null>:3152544 (libclang_rt.tsan_osx_dynamic.dylib:x86_64h+0x283ed)
#1 dav1d_open lib.c:121 (libdav1d.0.dylib:x86_64+0x127f0c)
#2 main dav1d.c:105 (dav1d:x86_64+0x100002574)
SUMMARY: ThreadSanitizer: data race looprestoration.c:273 in boxsum5
==================