[ 0:00] | load /home/xrockai/src/divine/nightly/test/libcxx/div-extra/thread-starts.cpp thread-starts.cpp [ 0:00] | expect --result error --location thread-starts.cpp:15 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc -std=c++14 thread-starts.cpp [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling thread-starts.cpp [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:09] booting … done [ 0:10] states per second: 42.8571 [ 0:10] state count: 6 [ 0:10] mips: 0.21 [ 0:10] [ 0:10] error found: yes [ 0:10] error trace: | [ 0:10] FAULT: thread-starts.cpp:15: auto main()::(anonymous class)::operator()() const: assertion 'false' failed [ 0:10] [1] 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:11] location: /dios/sys/fault.hpp:118 [ 0:11] - symbol: __dios_fault [ 0:11] location: /dios/arch/divm/fault.c:12 [ 0:11] - symbol: __assert_fail [ 0:11] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:11] - symbol: main::$_0::operator()() const [ 0:11] location: thread-starts.cpp:15 [ 0:11] - symbol: void* std::__2::__thread_proxy >, main::$_0> >(void*) [ 0:11] location: /dios/libcxx/include/type_traits:3530 [ 0:11] - symbol: __pthread_start [ 0:11] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:11] - symbol: __pthread_entry [ 0:11] location: /dios/libc/pthread/pthread-core.cpp:50 [ 0:11] + divine sim --batch --skip-init --load-report verify.out [ 0:11] [ 0:18] ^ —————. —.— . . —.— . . .————— . . [ 0:18] ——— | | | | | | |\ | | | | [ 0:18] —(o)— | | | | | | | \ | |———— '————| [ 0:18] ——————— | | | \ / | | \| | | [ 0:18] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:18] [ 0:18] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:18] traced states: [ 0:18] ▶ state #3 [new] -- active threads: 0:0 [0:1] -- [ 0:18] T: FAULT: thread-starts.cpp:15: auto main()::(anonymous class)::operator()() const: assertion 'false' failed [ 0:18] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:18] # NOTE: $frame in __dios_fault [ 0:18] > backtrace [ 0:18] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:18] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:18] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:18] main::$_0::operator()() const at thread-starts.cpp:15 [ 0:18] void* std::__2::__thread_proxy >, main::$_0> >(void*) at /dios/libcxx/include/type_traits:3530 [ 0:18] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:18] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:18] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:19] # NOTE: $frame in __dios_fault