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