[ 0:01] | load /home/xrockai/src/divine/next-staging/test/weakmem/tso-sb3.cpp tso-sb3.cpp [ 0:01] | expect --result error --location tso-sb3.cpp:29 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc -std=c++14 tso-sb3.cpp [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out -o nofail:malloc --relaxed-memory tso:3 testcase.bc [ 0:01] compiling tso-sb3.cpp [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:04] states per second: 27.5124 [ 0:06] state count: 72 [ 0:06] mips: 0.37 [ 0:06] relaxed memory: tso:3 [ 0:08] [ 0:08] error found: yes [ 0:08] error trace: | [ 0:08] FAULT: tso-sb3.cpp:29: int main(): assertion 'rx == 1 || ry == 1' failed [ 0:08] [0] FATAL: assertion failure in userspace [ 0:08] [ 0:08] active stack: [ 0:16] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:17] location: /dios/sys/fault.hpp:118 [ 0:17] - symbol: __dios_fault [ 0:17] location: /dios/arch/divm/fault.c:12 [ 0:17] - symbol: __assert_fail [ 0:17] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:17] - symbol: main [ 0:17] location: tso-sb3.cpp:29 [ 0:17] - symbol: __dios_start [ 0:17] location: /dios/libc/sys/start.cpp:94 [ 0:17] + divine sim --batch --skip-init --load-report verify.out [ 0:17] [ 0:19] ^ —————. —.— . . —.— . . .————— . . [ 0:19] ——— | | | | | | |\ | | | | [ 0:19] —(o)— | | | | | | | \ | |———— '————| [ 0:19] ——————— | | | \ / | | \| | | [ 0:19] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:19] [ 0:19] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:19] traced states: [ 0:26] ▶ state #8 [new] -- active threads: [0:0] -- [ 0:26] T: FAULT: tso-sb3.cpp:29: int main(): assertion 'rx == 1 || ry == 1' failed [ 0:34] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:34] # NOTE: $frame in __dios_fault [ 0:34] > backtrace [ 0:34] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:34] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:34] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:34] main at tso-sb3.cpp:29 [ 0:34] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:34] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:34] # NOTE: $frame in __dios_fault