[ 0:00] | load /home/xrockai/src/divine/nightly/test/lang-cpp/nounwind.cpp nounwind.cpp [ 0:00] | expect --result error --symbol _Unwind_RaiseException [ 0:00] | cc -o testcase.bc -std=c++14 nounwind.cpp [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling nounwind.cpp [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:05] booting … done [ 0:06] states per second: 10.8696 [ 0:06] state count: 2 [ 0:06] mips: 0.3 [ 0:06] [ 0:06] error found: yes [ 0:06] error trace: | [ 0:06] (-1) unexpected nounwind function: _Z3foov [ 0:06] FAULT: Exception thrown out of nounwind function [ 0:06] [0] FATAL: control error in userspace [ 0:06] [ 0:06] active stack: [ 0:07] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:07] location: /dios/sys/fault.hpp:118 [ 0:07] - symbol: __dios_fault.1297 [ 0:07] location: /dios/arch/divm/fault.c:12 [ 0:07] - symbol: _Unwind_RaiseException [ 0:07] location: /dios/arch/divm/unwind.cpp:227 [ 0:07] - symbol: __cxa_throw [ 0:07] location: /dios/libcxxabi/src/cxa_exception.cpp:282 [ 0:07] - symbol: bar() [ 0:07] location: nounwind.cpp:4 [ 0:07] - symbol: foo() [ 0:07] location: nounwind.cpp:6 [ 0:07] - symbol: main [ 0:07] location: nounwind.cpp:10 [ 0:07] - symbol: __dios_start [ 0:07] location: /dios/libc/sys/start.cpp:94 [ 0:07] + divine sim --batch --skip-init --load-report verify.out [ 0:07] [ 0:12] ^ —————. —.— . . —.— . . .————— . . [ 0:12] ——— | | | | | | |\ | | | | [ 0:12] —(o)— | | | | | | | \ | |———— '————| [ 0:12] ——————— | | | \ / | | \| | | [ 0:12] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:12] [ 0:12] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:12] traced states: [ 0:12] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:12] T: (-1) unexpected nounwind function: _Z3foov [ 0:12] T: FAULT: Exception thrown out of nounwind function [ 0:12] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:12] # NOTE: $frame in __dios_fault.1297 [ 0:12] > backtrace [ 0:12] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:12] __dios_fault.1297 at /dios/arch/divm/fault.c:12 [ 0:12] _Unwind_RaiseException at /dios/arch/divm/unwind.cpp:227 [ 0:12] __cxa_throw at /dios/libcxxabi/src/cxa_exception.cpp:282 [ 0:12] bar() at nounwind.cpp:4 [ 0:12] foo() at nounwind.cpp:6 [ 0:12] main at nounwind.cpp:10 [ 0:12] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:12] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:12] # NOTE: $frame in __dios_fault.1297