[ 0:00] | load /home/xrockai/src/divine/nightly/test/pthread/div/create-invalid-2.c create-invalid-2.c [ 0:00] | expect --result error --symbol __pthread_start [ 0:00] | cc -o testcase.bc create-invalid-2.c [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --leakcheck exit testcase.bc [ 0:00] compiling create-invalid-2.c [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:03] booting … done [ 0:03] states per second: 60 [ 0:03] state count: 3 [ 0:03] mips: 0.17 [ 0:03] [ 0:03] error found: yes [ 0:03] error trace: | [ 0:03] FAULT: invalid call on an invalid code pointer: global* 0 0 [ 0:03] [1] FATAL: control error in userspace [ 0:03] [ 0:03] active stack: [ 0:04] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:04] location: /dios/sys/fault.hpp:118 [ 0:04] - symbol: __pthread_start [ 0:04] location: /dios/libc/pthread/pthread-init.cpp:79 [ 0:04] - symbol: __pthread_entry [ 0:04] location: /dios/libc/pthread/pthread-core.cpp:50 [ 0:04] + divine sim --batch --skip-init --load-report verify.out [ 0:04] [ 0:07] ^ —————. —.— . . —.— . . .————— . . [ 0:07] ——— | | | | | | |\ | | | | [ 0:07] —(o)— | | | | | | | \ | |———— '————| [ 0:07] ——————— | | | \ / | | \| | | [ 0:07] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:07] [ 0:07] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:07] traced states: [ 0:07] ▶ state #2 [new] -- active threads: 0:0 [0:1] -- [ 0:07] T: FAULT: invalid call on an invalid code pointer: global* 0 0 [ 0:07] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:07] # NOTE: $frame in __pthread_start [ 0:07] > backtrace [ 0:07] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:07] __pthread_start at /dios/libc/pthread/pthread-init.cpp:79 [ 0:07] __pthread_entry at /dios/libc/pthread/pthread-core.cpp:50 [ 0:07] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:07] # NOTE: $frame in __pthread_start