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