[ 0:00] | load /home/xrockai/src/divine/nightly/test/svcomp/pthread/lazy01.c lazy01.c [ 0:00] | expect --result error --location lazy01.c:28 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc lazy01.c [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling lazy01.c [ 0:00] lazy01.c:14:1: warning: control reaches end of non-void function [ 0:00] } [ 0:00] ^ [ 0:00] lazy01.c:22:1: warning: control reaches end of non-void function [ 0:00] } [ 0:00] ^ [ 0:00] lazy01.c:30:1: warning: control reaches end of non-void function [ 0:00] } [ 0:00] ^ [ 0:00] 3 warnings generated. [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:04] booting … done [ 0:04] states per second: 290.598 [ 0:05] state count: 102 [ 0:05] mips: 0.24 [ 0:05] [ 0:05] error found: yes [ 0:05] error trace: | [ 0:05] FAULT: lazy01.c:28: void *thread3(void *): assertion 'data < 3' failed [ 0:05] [3] FATAL: assertion failure in userspace [ 0:05] [ 0:05] active stack: [ 0:06] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:06] location: /dios/sys/fault.hpp:118 [ 0:06] - symbol: __dios_fault [ 0:06] location: /dios/arch/divm/fault.c:12 [ 0:06] - symbol: __assert_fail [ 0:06] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:06] - symbol: thread3 [ 0:06] location: lazy01.c:28 [ 0:06] - symbol: __pthread_start [ 0:06] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:06] - symbol: __pthread_entry [ 0:06] location: /dios/libc/pthread/pthread-core.cpp:50 [ 0:06] + divine sim --batch --skip-init --load-report verify.out [ 0:06] [ 0:09] ^ —————. —.— . . —.— . . .————— . . [ 0:09] ——— | | | | | | |\ | | | | [ 0:09] —(o)— | | | | | | | \ | |———— '————| [ 0:09] ——————— | | | \ / | | \| | | [ 0:09] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:09] [ 0:09] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:09] traced states: [ 0:10] ▶ state #6 [new] -- active threads: 0:0 0:1 0:2 [0:3] -- [ 0:10] T: FAULT: lazy01.c:28: void *thread3(void *): assertion 'data < 3' failed [ 0:10] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:10] # NOTE: $frame in __dios_fault [ 0:10] > backtrace [ 0:10] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:10] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:10] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:10] thread3 at lazy01.c:28 [ 0:10] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:10] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:10] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:10] # NOTE: $frame in __dios_fault