[ 0:01] | load /home/xrockai/src/divine/nightly/test/lang-cpp/exception-uncaught-handler.cpp exception-uncaught-handler.cpp [ 0:01] | expect --result error --location exception-uncaught-handler.cpp:11 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc -std=c++14 exception-uncaught-handler.cpp [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:01] compiling exception-uncaught-handler.cpp [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:06] booting … done [ 0:07] states per second: 206.349 [ 0:07] state count: 26 [ 0:07] mips: 0.24 [ 0:07] [ 0:07] error found: yes [ 0:07] error trace: | [ 0:07] FAULT: exception-uncaught-handler.cpp:11: auto main()::(anonymous class)::operator()() const: assertion 'false' failed [ 0:07] [0] FATAL: assertion failure in userspace [ 0:07] [ 0:07] active stack: [ 0:08] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:08] location: /dios/sys/fault.hpp:118 [ 0:08] - symbol: __dios_fault [ 0:08] location: /dios/arch/divm/fault.c:12 [ 0:08] - symbol: __assert_fail [ 0:08] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:08] - symbol: main::$_0::operator()() const [ 0:08] location: exception-uncaught-handler.cpp:11 [ 0:08] - symbol: main::$_0::__invoke() [ 0:08] location: exception-uncaught-handler.cpp:10 [ 0:08] - symbol: std::__terminate(void (*)()) [ 0:08] location: /dios/libcxxabi/src/cxa_handlers.cpp:61 [ 0:08] - symbol: __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) [ 0:08] location: /dios/libcxxabi/src/cxa_exception.cpp:154 [ 0:08] - symbol: __cxa_throw [ 0:08] location: /dios/libcxxabi/src/cxa_exception.cpp:286 [ 0:08] - symbol: foo() [ 0:08] location: exception-uncaught-handler.cpp:6 [ 0:08] - symbol: main [ 0:08] location: exception-uncaught-handler.cpp:14 [ 0:08] + divine sim --batch --skip-init --load-report verify.out [ 0:08] [ 0:13] ^ —————. —.— . . —.— . . .————— . . [ 0:13] ——— | | | | | | |\ | | | | [ 0:13] —(o)— | | | | | | | \ | |———— '————| [ 0:13] ——————— | | | \ / | | \| | | [ 0:13] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:13] [ 0:13] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:13] traced states: [ 0:13] ▶ state #7 [new] -- active threads: [0:0] -- [ 0:13] T: FAULT: exception-uncaught-handler.cpp:11: auto main()::(anonymous class)::operator()() const: assertion 'false' failed [ 0:13] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:13] # NOTE: $frame in __dios_fault [ 0:13] > backtrace [ 0:13] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:13] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:13] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:13] main::$_0::operator()() const at exception-uncaught-handler.cpp:11 [ 0:13] main::$_0::__invoke() at exception-uncaught-handler.cpp:10 [ 0:13] std::__terminate(void (*)()) at /dios/libcxxabi/src/cxa_handlers.cpp:61 [ 0:13] __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) at /dios/libcxxabi/src/cxa_exception.cpp:154 [ 0:13] __cxa_throw at /dios/libcxxabi/src/cxa_exception.cpp:286 [ 0:13] foo() at exception-uncaught-handler.cpp:6 [ 0:13] main at exception-uncaught-handler.cpp:14 [ 0:13] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:13] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:13] # NOTE: $frame in __dios_fault