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