[ 0:01] | load /var/obj/divine-nightly/semidbg/test/_expand/svcomp/pthread/workstealqueue.pkg.c/error.c error.c [ 0:01] | expect --result error --location error.c:340 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc -DBUG3 error.c [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit -o nofail:malloc testcase.bc [ 0:01] compiling error.c [ 0:01] loading bitcode … DiOS … LART … RR … constants … done [ 0:04] booting … done [ 0:04] states per second: 506.916 [ 0:08] state count: 1759 [ 0:08] mips: 0.47 [ 0:08] [ 0:08] error found: yes [ 0:08] error trace: | [ 0:08] FAULT: error.c:36: void Check(Obj *): assertion 'r->field == 1' failed [ 0:08] [0] FATAL: assertion failure in userspace [ 0:08] [ 0:08] active stack: [ 0:09] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:09] location: /dios/sys/fault.hpp:118 [ 0:09] - symbol: __dios_fault [ 0:09] location: /dios/arch/divm/fault.c:12 [ 0:09] - symbol: __assert_fail [ 0:09] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:09] - symbol: Check [ 0:09] location: error.c:36 [ 0:09] - symbol: main [ 0:09] location: error.c:340 [ 0:09] - symbol: __dios_start [ 0:09] location: /dios/libc/sys/start.cpp:94 [ 0:09] + divine sim --batch --skip-init --load-report verify.out [ 0:09] [ 0:12] ^ —————. —.— . . —.— . . .————— . . [ 0:12] ——— | | | | | | |\ | | | | [ 0:12] —(o)— | | | | | | | \ | |———— '————| [ 0:12] ——————— | | | \ / | | \| | | [ 0:12] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:12] [ 0:12] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:12] traced states: [ 0:12] ▶ state #20 [new] -- active threads: [0:0] -- [ 0:12] T: FAULT: error.c:36: void Check(Obj *): assertion 'r->field == 1' failed [ 0:12] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:12] # NOTE: $frame in __dios_fault [ 0:12] > backtrace [ 0:12] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:12] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:12] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:12] Check at error.c:36 [ 0:12] main at error.c:340 [ 0:12] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:12] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:12] # NOTE: $frame in __dios_fault