[ 0:01] | load /home/xrockai/src/divine/nightly/test/dios/trace-noleak.c trace-noleak.c [ 0:01] | expect --trace non-zero --symbol _Exit --result error [ 0:01] | cc -o testcase.bc trace-noleak.c [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:01] compiling trace-noleak.c [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:03] states per second: 46.5116 [ 0:04] state count: 2 [ 0:04] mips: 0.21 [ 0:04] [ 0:04] error found: yes [ 0:04] error trace: | [ 0:04] [0] foobar: 0 [ 0:04] (0) Non-zero exit code: 1 [ 0:04] FAULT: exit called with non-zero value [ 0:04] [0] FATAL: unknown in userspace [ 0:04] [ 0:04] active stack: [ 0:04] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:05] location: /dios/sys/fault.hpp:118 [ 0:05] - symbol: __dios_fault [ 0:05] location: /dios/arch/divm/fault.c:12 [ 0:05] - symbol: _exit [ 0:05] location: /dios/libc/sys/start.cpp:62 [ 0:05] - symbol: _Exit [ 0:05] location: /dios/libc/stdlib/_Exit.c:19 [ 0:05] - symbol: exit [ 0:05] location: /dios/libc/stdlib/exit.c:6 [ 0:05] - symbol: __dios_start [ 0:05] location: /dios/libc/sys/start.cpp:113 [ 0:05] + divine sim --batch --skip-init --load-report verify.out [ 0:05] [ 0:07] ^ —————. —.— . . —.— . . .————— . . [ 0:07] ——— | | | | | | |\ | | | | [ 0:07] —(o)— | | | | | | | \ | |———— '————| [ 0:07] ——————— | | | \ / | | \| | | [ 0:07] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:07] [ 0:07] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:07] traced states: [ 0:07] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:07] T: [0] foobar: 0 [ 0:07] T: (0) Non-zero exit code: 1 [ 0:07] T: FAULT: exit called with non-zero value [ 0:07] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:07] # NOTE: $frame in __dios_fault [ 0:07] > backtrace [ 0:07] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:07] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:07] _exit at /dios/libc/sys/start.cpp:62 [ 0:07] _Exit at /dios/libc/stdlib/_Exit.c:19 [ 0:08] exit at /dios/libc/stdlib/exit.c:6 [ 0:08] __dios_start at /dios/libc/sys/start.cpp:113 [ 0:08] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:08] # NOTE: $frame in __dios_fault