[ 0:01] | load /var/obj/xrockai-divine-next-staging/semidbg/test/_expand/weakmem/store-grouping-2.pkg.c/z3y3x3.c z3y3x3.c [ 0:01] | expect --result error --location z3y3x3.c:77 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc -DCHECK=7 z3y3x3.c [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --relaxed-memory tso:5 testcase.bc [ 0:01] compiling z3y3x3.c [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:04] states per second: 8.58004 [ 0:17] state count: 111 [ 0:17] mips: 0.29 [ 0:17] relaxed memory: tso:5 [ 0:20] [ 0:20] error found: yes [ 0:20] error trace: | [ 0:20] FAULT: z3y3x3.c:77: int main(): assertion '!(z == 3 && y == 3 && x == 3) [ 0:20] [0] FATAL: assertion failure in userspace [ 0:20] [ 0:20] active stack: [ 0:30] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:30] location: /dios/sys/fault.hpp:118 [ 0:30] - symbol: __dios_fault [ 0:30] location: /dios/arch/divm/fault.c:12 [ 0:30] - symbol: __assert_fail [ 0:30] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:30] - symbol: main [ 0:30] location: z3y3x3.c:77 [ 0:30] - symbol: __dios_start [ 0:30] location: /dios/libc/sys/start.cpp:94 [ 0:30] + divine sim --batch --skip-init --load-report verify.out [ 0:30] [ 0:33] ^ —————. —.— . . —.— . . .————— . . [ 0:33] ——— | | | | | | |\ | | | | [ 0:33] —(o)— | | | | | | | \ | |———— '————| [ 0:33] ——————— | | | \ / | | \| | | [ 0:33] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:33] [ 0:33] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:33] traced states: [ 0:39] ▶ state #12 [new] -- active threads: [0:0] -- [ 0:39] T: FAULT: z3y3x3.c:77: int main(): assertion '!(z == 3 && y == 3 && x == 3) [ 0:48] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:48] # NOTE: $frame in __dios_fault [ 0:48] > backtrace [ 0:48] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:48] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:48] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:48] main at z3y3x3.c:77 [ 0:48] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:48] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:48] # NOTE: $frame in __dios_fault