[ 0:00] | load /home/xrockai/src/divine/nightly/test/lang-cpp/exception-uncaught.cpp exception-uncaught.cpp [ 0:00] | expect --result error --symbol __terminate [ 0:00] | cc -o testcase.bc -std=c++14 exception-uncaught.cpp [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling exception-uncaught.cpp [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:05] booting … done [ 0:05] states per second: 208 [ 0:06] state count: 26 [ 0:06] mips: 0.28 [ 0:06] [ 0:06] error found: yes [ 0:06] error trace: | [ 0:06] [0] terminating with uncaught exception of type int [ 0:06] FAULT: Uncaught signal. [ 0:06] [0] FATAL: control error in kernel [ 0:06] [ 0:06] active stack: [ 0:08] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:10] location: /dios/sys/fault.hpp:118 [ 0:10] - symbol: __dios_fault [ 0:10] location: /dios/arch/divm/fault.c:12 [ 0:10] - symbol: int __dios::Scheduler<__dios::Clock<__dios::NondetChoose<__dios::Base> > >::_kill<__dios::ProcessManager<__dios::Fault<__dios::Scheduler<__dios::Clock<__dios::NondetChoose<__dios::Base> > > > >::kill(int, int)::'lambda'(auto*)>(int, int, auto) [ 0:10] location: /dios/sys/sched_base.hpp:407 [ 0:10] - symbol: __dios::ProcessManager<__dios::Fault<__dios::Scheduler<__dios::Clock<__dios::NondetChoose<__dios::Base> > > > >::kill(int, int) [ 0:10] location: /dios/sys/procmanager.hpp:275 [ 0:10] - symbol: __dios::SysProxy::kill(int, int) [ 0:10] location: /dios/include/sys/argpad.hpp:53 [ 0:10] - symbol: __libc_kill [ 0:10] location: /dios/include/sys/argpad.hpp:113 [ 0:10] - symbol: raise [ 0:10] location: /dios/libc/_PDCLIB/glue.c:175 [ 0:10] - symbol: abort [ 0:10] location: /dios/libc/stdlib/abort.c:14 [ 0:10] - symbol: abort_message [ 0:10] location: /dios/libcxxabi/src/abort_message.cpp:77 [ 0:10] - symbol: demangling_terminate_handler() [ 0:10] location: /dios/libcxxabi/src/cxa_default_handlers.cpp:68 [ 0:10] + divine sim --batch --skip-init --load-report verify.out [ 0:10] [ 0:14] ^ —————. —.— . . —.— . . .————— . . [ 0:14] ——— | | | | | | |\ | | | | [ 0:14] —(o)— | | | | | | | \ | |———— '————| [ 0:14] ——————— | | | \ / | | \| | | [ 0:14] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:14] [ 0:14] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:14] traced states: [ 0:14] ▶ state #7 [new] -- active threads: [0:0] -- [ 0:14] T: [0] terminating with uncaught exception of type int [ 0:15] T: FAULT: Uncaught signal. [ 0:15] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:15] # NOTE: $frame in __dios_fault [ 0:15] > backtrace [ 0:15] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:15] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:15] int {Scheduler}::_kill<{ProcMan}::kill(int, int)::'lambda'(auto*)>(int, int, auto) at /dios/sys/sched_base.hpp:407 [ 0:15] {ProcMan}::kill(int, int) at /dios/sys/procmanager.hpp:275 [ 0:15] __dios::SysProxy::kill(int, int) at /dios/include/sys/argpad.hpp:53 [ 0:15] __libc_kill at /dios/include/sys/argpad.hpp:113 [ 0:15] raise at /dios/libc/_PDCLIB/glue.c:175 [ 0:15] abort at /dios/libc/stdlib/abort.c:14 [ 0:15] abort_message at /dios/libcxxabi/src/abort_message.cpp:77 [ 0:15] demangling_terminate_handler() at /dios/libcxxabi/src/cxa_default_handlers.cpp:68 [ 0:15] std::__terminate(void (*)()) at /dios/libcxxabi/src/cxa_handlers.cpp:61 [ 0:15] __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) at /dios/libcxxabi/src/cxa_exception.cpp:154 [ 0:15] __cxa_throw at /dios/libcxxabi/src/cxa_exception.cpp:286 [ 0:15] foo() at exception-uncaught.cpp:7 [ 0:15] main at exception-uncaught.cpp:12 [ 0:15] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:15] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:16] # NOTE: $frame in __dios_fault