Skip to content

MemorySanitizer: use-of-uninitialized-value in checked_decode_b third_party/dav1d/src/decode.c:2042:21

using dav1d 0.6.0-73-g604d93c5 Compiling it using msan

Running command line and get a MemorySanitizer: use-of-uninitialized-value

dav1d  -i /tmp/crash.ivf  --muxer md5 -o - 
dav1d 0.6.0-73-g604d93c5f - by VideoLAN
B[0](0, 0) w4:4, h4:4, row:0
Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x734000000000, 16)
==113844==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x56043c235f91 in checked_decode_b third_party/dav1d/src/decode.c:2042:21
    #1 0x56043c228e20 in decode_sb third_party/dav1d/src/decode.c:2104:17
    #2 0x56043c22913f in decode_sb third_party/dav1d/src/decode.c:2145:21
    #3 0x56043c22913f in decode_sb third_party/dav1d/src/decode.c:2145:21
    #4 0x56043c227cbc in dav1d_decode_tile_sbrow third_party/dav1d/src/decode.c:2629:13
    #5 0x56043c231178 in dav1d_decode_frame third_party/dav1d/src/decode.c:3115:29
    #6 0x56043c234ecb in dav1d_submit_frame third_party/dav1d/src/decode.c:3591:20
    #7 0x56043c2885c0 in dav1d_parse_obus third_party/dav1d/src/obu.c:1546:24
    #8 0x56043c2a95b1 in gen_picture third_party/dav1d/src/lib.c:370:15
    #9 0x56043c2a91ca in dav1d_send_data third_party/dav1d/src/lib.c:400:15
    #10 0x56043c20ee9e in main third_party/dav1d/tools/dav1d.c:220:20
    #11 0x7f9a3fb87bbc in __libc_start_main (/usr/grte/v4/lib64/libc.so.6+0x38bbc)
    #12 0x56043c19e828 in _start /usr/grte/v4/debug-src/src/csu/../sysdeps/x86_64/start.S:108

crash.ivf

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information