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