[ 0:01] | load /var/obj/xrockai-divine-next-staging/semidbg/test/_expand/dios/fairness.pkg.cpp/unfair.cpp unfair.cpp [ 0:01] | expect --result error --location unfair.cpp:37 [ 0:01] | cc -o testcase.bc -std=c++14 unfair.cpp [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit --dios-config default --liveness -o nofail:malloc testcase.bc [ 0:01] compiling unfair.cpp [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:08] booting … done [ 0:08] states per second: 473.684 [ 0:08] state count: 18 [ 0:08] mips: 0.33 [ 0:08] [ 0:08] error found: yes [ 0:08] error trace: | [ 0:08] (0) Monitor registered [ 0:08] W: pointer-dependent operation with [heap* 65fbc4d5 0 ddp] and [heap* ce719923 0 ddp] in debug mode (abandoned) [ 0:08] W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:08] W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:08] W: pointer-dependent operation with [heap* 65fbc4d5 0 ddp] and [heap* ce719923 0 ddp] in debug mode (abandoned) [ 0:08] W: pointer-dependent operation with [heap* 65fbc4d5 0 ddp] and [heap* ce719923 0 ddp] in debug mode (abandoned) [ 0:08] W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:08] W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:08] [ 0:08] stack 1: [ 0:09] - symbol: main [ 0:09] location: /dios/libcxx/include/atomic:957 [ 0:09] - symbol: __dios_start [ 0:09] location: /dios/libc/sys/start.cpp:94 [ 0:09] stack 2: [ 0:09] - symbol: main::$_0::operator()() const [ 0:09] location: unfair.cpp:70 [ 0:09] - symbol: void* std::__2::__thread_proxy >, main::$_0> >(void*) [ 0:09] location: /dios/libcxx/include/type_traits:3530 [ 0:09] - symbol: __pthread_start [ 0:09] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:09] - symbol: __pthread_entry [ 0:09] location: /dios/libc/pthread/pthread-core.cpp:50 [ 0:09] active stack: [ 0:09] - symbol: __buchi_accept() [ 0:10] location: unfair.cpp:54 [ 0:10] - symbol: BuchiAutomaton::step() [ 0:10] location: unfair.cpp:37 [ 0:10] - symbol: __dios::MonitorManager<__dios::BaseContext>::runMonitors() [ 0:10] location: /dios/include/sys/monitor.h:33 [ 0:10] - symbol: void __dios::Scheduler<__dios::Clock<__dios::NondetChoose<__dios::Base> > >::run_scheduler<__dios::Context>() [ 0:10] location: /dios/sys/sched_base.hpp:442 [ 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:15] trace: [ 0:15] T: (0) Monitor registered [ 0:15] T: W: pointer-dependent operation with [heap* 65fbc4d5 0 ddp] and [heap* ce719923 0 ddp] in debug mode (abandoned) [ 0:15] T: W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:15] T: W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:15] T: W: pointer-dependent operation with [heap* 65fbc4d5 0 ddp] and [heap* ce719923 0 ddp] in debug mode (abandoned) [ 0:15] T: W: pointer-dependent operation with [heap* 65fbc4d5 0 ddp] and [heap* ce719923 0 ddp] in debug mode (abandoned) [ 0:15] T: W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:15] T: W: pointer-dependent operation with [heap* ce719923 0 ddp] and [heap* 65fbc4d5 0 ddp] in debug mode (abandoned) [ 0:15] ▶ state #11 [new] -- active threads: [0:0] 0:1 -- [ 0:15] # executing __buchi_accept() at unfair.cpp:55 [ 0:15] # NOTE: $frame in BuchiAutomaton::step() [ 0:15] > backtrace [ 0:15] __buchi_accept() at unfair.cpp:55 [ 0:15] BuchiAutomaton::step() at unfair.cpp:37 [ 0:15] {Monitor}::runMonitors() at /dios/include/sys/monitor.h:33 [ 0:15] void {Scheduler}::run_scheduler<{Context}>() at /dios/sys/sched_base.hpp:442 [ 0:15] # backtrace 1: [ 0:15] main at /dios/libcxx/include/atomic:957 [ 0:15] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:15] # backtrace 2: [ 0:15] main::$_0::operator()() const at unfair.cpp:70 [ 0:15] void* std::__2::__thread_proxy >, main::$_0> >(void*) at /dios/libcxx/include/type_traits:3530 [ 0:15] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:15] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:15] # executing __buchi_accept() at unfair.cpp:55 [ 0:15] # NOTE: $frame in BuchiAutomaton::step()