[ 0:00] | load /var/obj/divine-nightly/semidbg/test/_expand/sym/pthread-a.pkg.cpp/v.O1.cpp v.O1.cpp [ 0:00] | expect --result error --location v.O1.cpp:49 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc -std=c++14 -O1 v.O1.cpp [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --solver stp --symbolic --svcomp testcase.bc [ 0:00] compiling v.O1.cpp [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:15] booting … done [ 0:16] states per second: 138.889 [ 0:16] state count: 20 [ 0:16] mips: 0.25 [ 0:16] symbolic: 1 [ 0:16] svcomp: 1 [ 0:16] [ 0:16] error found: yes [ 0:16] error trace: | [ 0:16] ASSUME (= var_1 #x00000000) [ 0:16] FAULT: v.O1.cpp:49: void *t2(void *): assertion 'global.get() != 0' failed [ 0:16] [2] FATAL: assertion failure in userspace [ 0:16] [ 0:16] active stack: [ 0:17] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:17] location: /dios/sys/fault.hpp:118 [ 0:17] - symbol: __dios_fault [ 0:17] location: /dios/arch/divm/fault.c:12 [ 0:17] - symbol: lart.__assert_fail [ 0:17] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:17] - symbol: t2(void*) [ 0:17] location: v.O1.cpp:49 [ 0:17] - symbol: __pthread_start [ 0:17] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:17] - symbol: __pthread_entry [ 0:17] location: /dios/libc/pthread/pthread-core.cpp:50 [ 0:17] + divine sim --batch --skip-init --load-report verify.out [ 0:18] [ 0:31] ^ —————. —.— . . —.— . . .————— . . [ 0:31] ——— | | | | | | |\ | | | | [ 0:31] —(o)— | | | | | | | \ | |———— '————| [ 0:31] ——————— | | | \ / | | \| | | [ 0:31] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:31] [ 0:31] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:31] traced states: [ 0:31] ▶ state #4 [new] -- active threads: 0:0 0:1 [0:2] -- [ 0:31] T: FAULT: v.O1.cpp:49: void *t2(void *): assertion 'global.get() != 0' failed [ 0:32] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:32] # NOTE: $frame in __dios_fault [ 0:32] > backtrace [ 0:32] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:32] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:32] lart.__assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:32] t2(void*) at v.O1.cpp:49 [ 0:32] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:32] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:32] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:32] # NOTE: $frame in __dios_fault