Skip to content

oss-fuzz: Add a test case for failed submit induced hang

==747== ERROR: libFuzzer: timeout after 61 seconds
    #0 0x4b9340 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/ubsan/ubsan_diag_standalone.cpp:33:3
    #1 0x464278 in fuzzer::PrintStackTrace()
    #2 0x4484d9 in fuzzer::Fuzzer::AlarmCallback()
    #3 0x7f9f2cbeb3bf in libpthread.so.0
    #4 0x7f9f2cbe6375 in futex_wait_cancelable /build/glibc-eX1tMB/glibc-2.31/sysdeps/nptl/futex-internal.h:183:13
    #5 0x7f9f2cbe6375 in __pthread_cond_wait_common /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_cond_wait.c:508:14
    #6 0x7f9f2cbe6375 in pthread_cond_wait@@GLIBC_2.3.2 /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_cond_wait.c:638:10
    #7 0x4bbe94 in drain_picture /src/dav1d/src/lib.c:353:13
    #8 0x4bb942 in dav1d_get_picture /src/dav1d/src/lib.c:447:16
    #9 0x4baf71 in LLVMFuzzerTestOneInput /src/dav1d/tests/libfuzzer/dav1d_fuzzer.c:182:16
    #10 0x449d03 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long)
    #11 0x435472 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:323:6
    #12 0x43b13e in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long))
    #13 0x464a12 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    #14 0x7f9f2c9e50b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/libc-start.c:308:16
    #15 0x41071d in _start
Edited by Victorien Le Couviour--Tuffet

Merge request reports