[ 0:01] | load /home/xrockai/src/divine/next-staging/test/dios/options/simfail-malloc-a.c simfail-malloc-a.c [ 0:01] | expect --result error --location simfail-malloc-a.c:6 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc simfail-malloc-a.c [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:01] compiling simfail-malloc-a.c [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:03] states per second: 83.3333 [ 0:03] state count: 2 [ 0:03] mips: 0.34 [ 0:03] [ 0:03] error found: yes [ 0:03] error trace: | [ 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: simfail-malloc-a.c:6 [ 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:05] ^ —————. —.— . . —.— . . .————— . . [ 0:05] ——— | | | | | | |\ | | | | [ 0:05] —(o)— | | | | | | | \ | |———— '————| [ 0:05] ——————— | | | \ / | | \| | | [ 0:05] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:05] [ 0:05] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:05] traced states: [ 0:05] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:05] T: FAULT: null pointer dereference: [global* 0 0 ddn] [ 0:05] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:05] # NOTE: $frame in main [ 0:05] > backtrace [ 0:05] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:05] main at simfail-malloc-a.c:6 [ 0:05] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:05] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:05] # NOTE: $frame in main