[ 0:00] compiling /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-terminated.c [ 0:00] states per second: 9.60615 [ 0:15] state count: 10 [ 0:15] mips: 0.35 [ 0:15] [ 0:19] error found: yes [ 0:19] error trace: | [ 0:19] (0) FAULT: Deadlock: mutex locked by a dead thread [ 0:19] [0] FATAL: locking error in userspace [ 0:19] [ 0:19] stack 2: [ 0:19] - symbol: __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) [ 0:19] location: /divine/include/libc/include/sys/interrupt.h:42 [ 0:19] - symbol: _clean_and_become_zombie(__dios::_InterruptMask&, _DiOS_TLS*) [ 0:19] location: /divine/include/libc/include/sys/interrupt.h:77 [ 0:19] - symbol: __pthread_entry [ 0:19] location: /divine/src/libc/functions/sys/pthread.cpp:467 [ 0:19] active stack: [ 0:19] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:19] location: /divine/include/dios/core/fault.hpp:187 [ 0:19] - symbol: __dios_fault [ 0:19] location: /divine/src/libc/functions/sys/fault.c:25 [ 0:19] - symbol: _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) [ 0:19] location: /divine/src/libc/functions/sys/pthread.cpp:762 [ 0:19] - symbol: pthread_mutex_lock [ 0:19] location: /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:19] - symbol: main [ 0:19] location: /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-terminated.c:12 [ 0:19] - symbol: _start [ 0:19] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:19] a report was written to verify.out [ 0:19] [ 0:28] ^ —————. —.— . . —.— . . .————— . . [ 0:28] ——— | | | | | | |\ | | | | [ 0:28] —(o)— | | | | | | | \ | |———— '————| [ 0:28] ——————— | | | \ / | | \| | | [ 0:28] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:28] [ 0:28] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:28] traced states: #1 #2 #3 #4 #5 [ 0:33] # active threads: [0:0] 0:1 [ 0:33] T: (0) FAULT: Deadlock: mutex locked by a dead thread [ 0:33] T: [0] FATAL: locking error in userspace [ 0:33] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] # NOTE: $frame in __dios_fault [ 0:33] > backtrace [ 0:33] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] __dios_fault at /divine/src/libc/functions/sys/fault.c:25 [ 0:33] _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) at /divine/src/libc/functions/sys/pthread.cpp:762 [ 0:33] pthread_mutex_lock at /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:33] main at /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-terminated.c:12 [ 0:33] _start at /divine/src/libc/functions/sys/start.cpp:76 [ 0:33] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] # NOTE: $frame in __dios_fault