[ 0:01] + divine verify -std=c++11 /home/xrockai/src/divine/nightly/test/demo/1.thread.cpp [ 0:01] + tee report.txt [ 0:01] compiling /home/xrockai/src/divine/nightly/test/demo/1.thread.cpp [ 0:01] states per second: 106.162 [ 0:21] state count: 920 [ 0:21] mips: 0.15 [ 0:21] [ 0:26] error found: yes [ 0:26] error trace: | [ 0:26] [0] starting thread [ 0:26] [0] incrementing [ 0:26] [1] thread started [ 0:26] [0] waiting for the thread [ 0:26] [1] thread done [ 0:26] [0] thread joined [ 0:26] (0) FAULT: Assertion failed: x == 2, file /home/xrockai/src/divine/nightly/test/demo/1.thread.cpp, line 17. [ 0:26] [0] FATAL: assertion failure in userspace [ 0:26] [ 0:26] active stack: [ 0:26] a report was written to 1.thread.report [ 0:26] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:26] location: /divine/include/dios/core/fault.hpp:187 [ 0:26] - symbol: __dios_fault [ 0:26] location: /divine/src/libc/functions/sys/fault.c:25 [ 0:26] - symbol: main [ 0:26] location: /home/xrockai/src/divine/nightly/test/demo/1.thread.cpp:17 [ 0:26] - symbol: _start [ 0:26] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:26] + cat [ 0:27] + ordgrep expected [ 0:27] [0] starting thread | \[0\] starting thread [ 0:27] [0] incrementing | \[0\] incrementing [ 0:27] [1] thread done | \[1\] thread done [ 0:27] + check debris