[ 0:00] | load /var/obj/divine-nightly/semidbg/test/_expand/sym/pthread-a.pkg.cpp/v.Os.cpp v.Os.cpp [ 0:00] | expect --result error --location v.Os.cpp:49 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc -std=c++14 -Os v.Os.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.Os.cpp [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:10] booting … done [ 0:10] states per second: 170.213 [ 0:10] state count: 16 [ 0:10] mips: 0.28 [ 0:10] symbolic: 1 [ 0:10] svcomp: 1 [ 0:10] [ 0:10] error found: yes [ 0:10] error trace: | [ 0:10] FAULT: v.Os.cpp:49: void *t2(void *): assertion 'global.get() != 0' failed [ 0:10] [2] FATAL: assertion failure in userspace [ 0:10] [ 0:10] active stack: [ 0:11] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:12] location: /dios/sys/fault.hpp:118 [ 0:12] - symbol: __dios_fault [ 0:12] location: /dios/arch/divm/fault.c:12 [ 0:12] - symbol: __assert_fail [ 0:12] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:12] - symbol: t2(void*) [ 0:12] location: v.Os.cpp:49 [ 0:12] - symbol: __pthread_start [ 0:12] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:12] - symbol: __pthread_entry [ 0:12] location: /dios/libc/pthread/pthread-core.cpp:50 [ 0:12] + divine sim --batch --skip-init --load-report verify.out [ 0:12] [ 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:22] ▶ state #4 [new] -- active threads: 0:0 0:1 [0:2] -- [ 0:22] T: FAULT: v.Os.cpp:49: void *t2(void *): assertion 'global.get() != 0' failed [ 0:22] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:22] # NOTE: $frame in __dios_fault [ 0:22] > backtrace [ 0:22] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:22] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:22] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:22] t2(void*) at v.Os.cpp:49 [ 0:22] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:22] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:22] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:22] # NOTE: $frame in __dios_fault