[ 0:00] | load /var/obj/divine-nightly/semidbg/test/_expand/weakmem/x86-tso/store-transitive.pkg.c/rax0rbx1ry0.c rax0rbx1ry0.c [ 0:00] | expect --result error --location rax0rbx1ry0.c:70 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc -DCHECK=2 rax0rbx1ry0.c [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --relaxed-memory tso testcase.bc [ 0:00] compiling rax0rbx1ry0.c [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:03] states per second: 33.8946 [ 0:17] state count: 463 [ 0:17] mips: 0.48 [ 0:17] relaxed memory: tso [ 0:20] [ 0:20] error found: yes [ 0:20] error trace: | [ 0:20] FAULT: rax0rbx1ry0.c:70: int main() [ 0:20] [0] FATAL: assertion failure in userspace [ 0:20] [ 0:20] active stack: [ 0:42] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:42] location: /dios/sys/fault.hpp:118 [ 0:42] - symbol: __dios_fault [ 0:42] location: /dios/arch/divm/fault.c:12 [ 0:42] - symbol: __assert_fail [ 0:42] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:42] - symbol: main [ 0:42] location: rax0rbx1ry0.c:70 [ 0:42] - symbol: __dios_start [ 0:42] location: /dios/libc/sys/start.cpp:94 [ 0:42] + divine sim --batch --skip-init --load-report verify.out [ 0:42] [ 0:45] ^ —————. —.— . . —.— . . .————— . . [ 0:45] ——— | | | | | | |\ | | | | [ 0:45] —(o)— | | | | | | | \ | |———— '————| [ 0:45] ——————— | | | \ / | | \| | | [ 0:45] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:45] [ 0:45] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:45] traced states: [ 0:51] ▶ state #11 [new] -- active threads: [0:0] -- [ 0:51] T: FAULT: rax0rbx1ry0.c:70: int main() [ 1:05] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 1:05] # NOTE: $frame in __dios_fault [ 1:05] > backtrace [ 1:05] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 1:05] __dios_fault at /dios/arch/divm/fault.c:12 [ 1:05] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 1:05] main at rax0rbx1ry0.c:70 [ 1:05] __dios_start at /dios/libc/sys/start.cpp:94 [ 1:05] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 1:05] # NOTE: $frame in __dios_fault