[ 0:00] | load /home/xrockai/src/divine/nightly/test/dios/api/fault-config-fault-b.c fault-config-fault-b.c [ 0:00] | expect --result error --location fault-config-fault-b.c:26 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc fault-config-fault-b.c [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling fault-config-fault-b.c [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:03] states per second: 117.647 [ 0:03] state count: 2 [ 0:03] mips: 0.19 [ 0:03] [ 0:03] error found: yes [ 0:03] error trace: | [ 0:03] (0) 3 3 [ 0:03] FAULT: null pointer dereference: [global* 0 0 ddn] [ 0:03] [0] FATAL: memory error in userspace [ 0:03] [ 0:03] active stack: [ 0:03] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:03] location: /dios/sys/fault.hpp:118 [ 0:03] - symbol: main [ 0:03] location: fault-config-fault-b.c:26 [ 0:03] - symbol: __dios_start [ 0:03] location: /dios/libc/sys/start.cpp:94 [ 0:03] + divine sim --batch --skip-init --load-report verify.out [ 0:03] [ 0:06] ^ —————. —.— . . —.— . . .————— . . [ 0:06] ——— | | | | | | |\ | | | | [ 0:06] —(o)— | | | | | | | \ | |———— '————| [ 0:06] ——————— | | | \ / | | \| | | [ 0:06] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:06] [ 0:06] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:06] traced states: [ 0:06] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:06] T: (0) 3 3 [ 0:06] T: FAULT: null pointer dereference: [global* 0 0 ddn] [ 0:06] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:06] # NOTE: $frame in main [ 0:06] > backtrace [ 0:06] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:06] main at fault-config-fault-b.c:26 [ 0:06] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:06] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:06] # NOTE: $frame in main