[ 0:00] + divine verify -std=c++11 /home/xrockai/src/divine/next-staging/test/demo/thread.cpp [ 0:00] + tee report.txt [ 0:00] compiling /home/xrockai/src/divine/next-staging/test/demo/thread.cpp [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:05] booting … done [ 0:06] states per second: 349.268 [ 0:07] state count: 358 [ 0:07] mips: 0.88 [ 0:07] [ 0:07] error found: yes [ 0:07] error trace: | [ 0:07] [0] starting thread [ 0:07] [1] thread started [ 0:07] [0] incrementing [ 0:07] [1] thread done [ 0:07] [0] waiting for the thread [ 0:07] [0] thread joined [ 0:07] FAULT: /home/xrockai/src/divine/next-staging/test/demo/thread.cpp:18: int main(): assertion 'x == 2' failed [ 0:07] [0] FATAL: assertion failure in userspace [ 0:07] [ 0:07] active stack: [ 0:08] a report was written to thread.report [ 0:08] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:08] location: /dios/sys/fault.hpp:118 [ 0:08] - symbol: __dios_fault [ 0:08] location: /dios/arch/divm/fault.c:12 [ 0:08] - symbol: __assert_fail [ 0:08] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:08] - symbol: main [ 0:08] location: /home/xrockai/src/divine/next-staging/test/demo/thread.cpp:18 [ 0:08] - symbol: __dios_start [ 0:08] location: /dios/libc/sys/start.cpp:94 [ 0:08] + cat [ 0:08] + ordgrep expected [ 0:08] [0] starting thread | \[0\] starting thread [ 0:08] [0] incrementing | \[0\] incrementing [ 0:08] [1] thread done | \[1\] thread done [ 0:08] + check debris [ 0:08] + test -e warning