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