[ 0:00] | load /home/xrockai/src/divine/next-staging/test/demo/undef.c undef.c [ 0:00] | load /home/xrockai/src/divine/next-staging/test/demo/demo.h demo.h [ 0:00] | expect --result error --location undef.c:7 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc undef.c [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling undef.c [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:02] booting … done [ 0:03] states per second: 100.529 [ 0:03] state count: 19 [ 0:03] mips: 0.39 [ 0:03] [ 0:03] error found: yes [ 0:03] error trace: | [ 0:03] [0] entering main [ 0:03] [0] going to create thread [ 0:03] [1] thread is running [ 0:03] FAULT: conditional jump depends on an undefined value [ 0:03] [1] FATAL: control 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: thread [ 0:03] location: undef.c:7 [ 0:03] - symbol: __pthread_start [ 0:03] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:03] - symbol: __pthread_entry [ 0:03] location: /dios/libc/pthread/pthread-core.cpp:50 [ 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] trace: [ 0:06] T: [0] entering main [ 0:06] T: [0] going to create thread [ 0:06] ▶ state #5 [new] -- active threads: 0:0 [0:1] -- [ 0:06] T: [1] thread is running [ 0:06] T: FAULT: conditional jump depends on an undefined value [ 0:06] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:06] # NOTE: $frame in thread [ 0:06] > backtrace [ 0:06] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:06] thread at undef.c:7 [ 0:06] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:06] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:06] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:06] # NOTE: $frame in thread