Open ThomasTNO opened 13 hours ago
Describe the bug After pressing ctrl+c we sometimes trigger a todo!() in our code.
Versions:
To Reproduce Run the fuzzer, press ctrl+c.
Expected behavior The fuzzer should gracefully exit.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Stacktrace:
thread 'main' panicked at src/state.rs:118:9: not yet implemented: Stopping not implemented note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [2024-11-08T12:14:21Z ERROR libafl::executors::hooks::unix::unix_signal_handler] Crashed with SIGABRT [2024-11-08T12:14:21Z ERROR libafl::executors::hooks::unix::unix_signal_handler] Double crash [2024-11-08T12:14:21Z ERROR libafl::executors::hooks::unix::unix_signal_handler] We crashed at addr 0x3e800007e7e, but are not in the target... Bug in the fuzzer? Exiting. [2024-11-08T12:14:21Z ERROR libafl::executors::hooks::unix::unix_signal_handler] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CRASH ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Received signal SIGABRT at 0x007f5d1018100b, fault address: 0x00000000000000 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ REGISTERS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ r8 : 0x00000000000000, r9 : 0x007ffdb04dab00, r10: 0x00000000000008, r11: 0x00000000000246, r12: 0x0055f2cdc871c8, r13: 0x8000000000000000, r14: 0x0055f2cdcb0820, r15: 0x00000000000000, rdi: 0x00000000000002, rsi: 0x007ffdb04dab00, rbp: 0x007ffdb04dad50, rbx: 0x007f5d101398c0, rdx: 0x00000000000000, rax: 0x00000000000000, rcx: 0x007f5d1018100b, rsp: 0x007ffdb04dab00, rip: 0x007f5d1018100b, efl: 0x00000000000246, ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0: libafl_bolts::minibsod::generate_minibsod at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libafl_bolts-0.13.2/src/minibsod.rs:1081:30 1: libafl::executors::hooks::unix::unix_signal_handler::inproc_crash_handler at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libafl-0.13.2/src/executors/hooks/unix.rs:249:36 2: libafl::executors::hooks::unix::unix_signal_handler::<impl libafl_bolts::os::unix_signals::Handler for libafl::executors::hooks::inprocess::InProcessExecutorHandlerData>::handle 3: libafl_bolts::os::unix_signals::handle_signal at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libafl_bolts-0.13.2/src/os/unix_signals.rs:436:5 4: <unknown> 5: __libc_signal_restore_set at /build/glibc-wuryBv/glibc-2.31/signal/../sysdeps/unix/sysv/linux/internal-signals.h:86:3 __GI_raise at /build/glibc-wuryBv/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:48:3 6: __GI_abort at /build/glibc-wuryBv/glibc-2.31/stdlib/abort.c:79:7 7: panic_abort::__rust_start_panic::abort at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/panic_abort/src/lib.rs:48:17 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ MAPS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55f2ccd65000-55f2cce83000 r--p 00000000 08:20 2017289 /home/thomas/.cargo/bin/wuppiefuzz 55f2cce83000-55f2cd8e0000 r-xp 0011e000 08:20 2017289 /home/thomas/.cargo/bin/wuppiefuzz 55f2cd8e0000-55f2cdbd7000 r--p 00b7b000 08:20 2017289 /home/thomas/.cargo/bin/wuppiefuzz 55f2cdbd7000-55f2cdca5000 r--p 00e71000 08:20 2017289 /home/thomas/.cargo/bin/wuppiefuzz 55f2cdca5000-55f2cdcb1000 rw-p 00f3f000 08:20 2017289 /home/thomas/.cargo/bin/wuppiefuzz 55f2cdcb1000-55f2cdcb4000 rw-p 00000000 00:00 0 55f2ce4e7000-55f2d2883000 rw-p 00000000 00:00 0 [heap] 7f5cf705f000-7f5d00000000 r--p 00000000 08:20 2017289 /home/thomas/.cargo/bin/wuppiefuzz 7f5d00000000-7f5d00021000 rw-p 00000000 00:00 0 7f5d00021000-7f5d04000000 ---p 00000000 00:00 0 7f5d08000000-7f5d08275000 rw-p 00000000 00:00 0 7f5d08275000-7f5d0c000000 ---p 00000000 00:00 0 7f5d0cf96000-7f5d0d070000 rw-p 00000000 00:00 0 7f5d0d0a3000-7f5d0e031000 rw-p 00000000 00:00 0 7f5d0e031000-7f5d0e562000 r--p 00000000 08:20 30153 /usr/lib/debug/.build-id/ee/be5d5f4b608b8a53ec446b63981bba373ca0ca.debug 7f5d0e752000-7f5d0e9c6000 r--p 00000000 08:20 29841 /usr/lib/debug/.build-id/0c/044ba611aeeeaebb8374e660061f341ebc0bac.debug 7f5d0e9c6000-7f5d0ea7e000 rw-p 00000000 00:00 0 7f5d0eac7000-7f5d0eb71000 rw-p 00000000 00:00 0 7f5d0ec13000-7f5d0ecd4000 rw-p 00000000 00:00 0 7f5d0ed35000-7f5d0ed36000 ---p 00000000 00:00 0 7f5d0ed36000-7f5d0f737000 rw-p 00000000 00:00 0 7f5d0f737000-7f5d0f738000 ---p 00000000 00:00 0 7f5d0f738000-7f5d1013e000 rw-p 00000000 00:00 0 7f5d1013e000-7f5d10160000 r--p 00000000 08:20 87963 /lib/x86_64-linux-gnu/libc-2.31.so 7f5d10160000-7f5d102d8000 r-xp 00022000 08:20 87963 /lib/x86_64-linux-gnu/libc-2.31.so 7f5d102d8000-7f5d10326000 r--p 0019a000 08:20 87963 /lib/x86_64-linux-gnu/libc-2.31.so 7f5d10326000-7f5d1032a000 r--p 001e7000 08:20 87963 /lib/x86_64-linux-gnu/libc-2.31.so 7f5d1032a000-7f5d1032c000 rw-p 001eb000 08:20 87963 /lib/x86_64-linux-gnu/libc-2.31.so 7f5d1032c000-7f5d10330000 rw-p 00000000 00:00 0 7f5d10330000-7f5d10331000 r--p 00000000 08:20 88032 /lib/x86_64-linux-gnu/libdl-2.31.so 7f5d10331000-7f5d10333000 r-xp 00001000 08:20 88032 /lib/x86_64-linux-gnu/libdl-2.31.so 7f5d10333000-7f5d10334000 r--p 00003000 08:20 88032 /lib/x86_64-linux-gnu/libdl-2.31.so 7f5d10334000-7f5d10335000 r--p 00003000 08:20 88032 /lib/x86_64-linux-gnu/libdl-2.31.so 7f5d10335000-7f5d10336000 rw-p 00004000 08:20 88032 /lib/x86_64-linux-gnu/libdl-2.31.so 7f5d10336000-7f5d10343000 r--p 00000000 08:20 88040 /lib/x86_64-linux-gnu/libm-2.31.so 7f5d10343000-7f5d103ea000 r-xp 0000d000 08:20 88040 /lib/x86_64-linux-gnu/libm-2.31.so 7f5d103ea000-7f5d10483000 r--p 000b4000 08:20 88040 /lib/x86_64-linux-gnu/libm-2.31.so 7f5d10483000-7f5d10484000 r--p 0014c000 08:20 88040 /lib/x86_64-linux-gnu/libm-2.31.so 7f5d10484000-7f5d10485000 rw-p 0014d000 08:20 88040 /lib/x86_64-linux-gnu/libm-2.31.so 7f5d10485000-7f5d1048b000 r--p 00000000 08:20 98858 /lib/x86_64-linux-gnu/libpthread-2.31.so 7f5d1048b000-7f5d1049c000 r-xp 00006000 08:20 98858 /lib/x86_64-linux-gnu/libpthread-2.31.so 7f5d1049c000-7f5d104a2000 r--p 00017000 08:20 98858 /lib/x86_64-linux-gnu/libpthread-2.31.so 7f5d104a2000-7f5d104a3000 r--p 0001c000 08:20 98858 /lib/x86_64-linux-gnu/libpthread-2.31.so 7f5d104a3000-7f5d104a4000 rw-p 0001d000 08:20 98858 /lib/x86_64-linux-gnu/libpthread-2.31.so 7f5d104a4000-7f5d104a8000 rw-p 00000000 00:00 0 7f5d104a8000-7f5d104aa000 r--p 00000000 08:20 98863 /lib/x86_64-linux-gnu/librt-2.31.so 7f5d104aa000-7f5d104ae000 r-xp 00002000 08:20 98863 /lib/x86_64-linux-gnu/librt-2.31.so 7f5d104ae000-7f5d104b0000 r--p 00006000 08:20 98863 /lib/x86_64-linux-gnu/librt-2.31.so 7f5d104b0000-7f5d104b1000 r--p 00007000 08:20 98863 /lib/x86_64-linux-gnu/librt-2.31.so 7f5d104b1000-7f5d104b2000 rw-p 00008000 08:20 98863 /lib/x86_64-linux-gnu/librt-2.31.so 7f5d104b2000-7f5d104b5000 r--p 00000000 08:20 29524 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f5d104b5000-7f5d104c7000 r-xp 00003000 08:20 29524 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f5d104c7000-7f5d104cb000 r--p 00015000 08:20 29524 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f5d104cb000-7f5d104cc000 r--p 00018000 08:20 29524 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f5d104cc000-7f5d104cd000 rw-p 00019000 08:20 29524 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f5d104cd000-7f5d104cf000 rw-p 00000000 00:00 0 7f5d104ea000-7f5d104eb000 ---p 00000000 00:00 0 7f5d104eb000-7f5d104ed000 rw-p 00000000 00:00 0 7f5d104ed000-7f5d104ee000 ---p 00000000 00:00 0 7f5d104ee000-7f5d104f0000 rw-p 00000000 00:00 0 7f5d104f0000-7f5d104f1000 ---p 00000000 00:00 0 7f5d104f1000-7f5d104f3000 rw-p 00000000 00:00 0 7f5d104f3000-7f5d104f4000 r--p 00000000 08:20 58560 /lib/x86_64-linux-gnu/ld-2.31.so 7f5d104f4000-7f5d10517000 r-xp 00001000 08:20 58560 /lib/x86_64-linux-gnu/ld-2.31.so 7f5d10517000-7f5d1051f000 r--p 00024000 08:20 58560 /lib/x86_64-linux-gnu/ld-2.31.so 7f5d10520000-7f5d10521000 r--p 0002c000 08:20 58560 /lib/x86_64-linux-gnu/ld-2.31.so 7f5d10521000-7f5d10522000 rw-p 0002d000 08:20 58560 /lib/x86_64-linux-gnu/ld-2.31.so 7f5d10522000-7f5d10523000 rw-p 00000000 00:00 0 7ffdb04b8000-7ffdb0500000 rw-p 00000000 00:00 0 [stack] 7ffdb0518000-7ffdb051c000 r--p 00000000 00:00 0 [vvar] 7ffdb051c000-7ffdb051e000 r-xp 00000000 00:00 0 [vdso] [2024-11-08T12:14:21Z ERROR libafl::executors::hooks::unix::unix_signal_handler] Type QUIT to restart the child
Describe the bug After pressing ctrl+c we sometimes trigger a todo!() in our code.
Versions:
To Reproduce Run the fuzzer, press ctrl+c.
Expected behavior The fuzzer should gracefully exit.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Stacktrace: