[ 0:01] | load /home/xrockai/src/divine/nightly/test/dios/monitor/multiple-monitors-a.cpp multiple-monitors-a.cpp [ 0:01] | expect --result error --location multiple-monitors-a.cpp:26 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc -std=c++14 multiple-monitors-a.cpp [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit -o nofail:malloc testcase.bc [ 0:01] compiling multiple-monitors-a.cpp [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:05] booting … done [ 0:05] states per second: 307.692 [ 0:05] state count: 4 [ 0:05] mips: 0.14 [ 0:05] [ 0:05] error found: yes [ 0:05] error trace: | [ 0:05] FAULT: glob is not zero [ 0:05] [ 0:05] stack 1: [ 0:06] - symbol: main [ 0:06] location: multiple-monitors-a.cpp:41 [ 0:06] - symbol: __dios_start [ 0:06] location: /dios/libc/sys/start.cpp:94 [ 0:06] active stack: [ 0:06] - symbol: flag(char const*) [ 0:07] location: multiple-monitors-a.cpp:11 [ 0:07] - symbol: GlobMon::step() [ 0:07] location: multiple-monitors-a.cpp:26 [ 0:07] - symbol: __dios::MonitorManager<__dios::BaseContext>::runMonitors() [ 0:07] location: /dios/include/sys/monitor.h:33 [ 0:07] - symbol: void __dios::Scheduler<__dios::Clock<__dios::NondetChoose<__dios::Base> > >::run_scheduler<__dios::Context>() [ 0:07] location: /dios/sys/sched_base.hpp:442 [ 0:07] + divine sim --batch --skip-init --load-report verify.out [ 0:07] [ 0:11] ^ —————. —.— . . —.— . . .————— . . [ 0:11] ——— | | | | | | |\ | | | | [ 0:11] —(o)— | | | | | | | \ | |———— '————| [ 0:11] ——————— | | | \ / | | \| | | [ 0:11] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:11] [ 0:11] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:11] traced states: [ 0:11] ▶ state #3 [new] -- active threads: [0:0] -- [ 0:12] T: FAULT: glob is not zero [ 0:12] # executing flag(char const*) at multiple-monitors-a.cpp:12 [ 0:12] # NOTE: $frame in GlobMon::step() [ 0:12] > backtrace [ 0:12] flag(char const*) at multiple-monitors-a.cpp:12 [ 0:12] GlobMon::step() at multiple-monitors-a.cpp:26 [ 0:12] {Monitor}::runMonitors() at /dios/include/sys/monitor.h:33 [ 0:12] void {Scheduler}::run_scheduler<{Context}>() at /dios/sys/sched_base.hpp:442 [ 0:12] # backtrace 1: [ 0:12] main at multiple-monitors-a.cpp:41 [ 0:12] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:12] # executing flag(char const*) at multiple-monitors-a.cpp:12 [ 0:12] # NOTE: $frame in GlobMon::step()