[ 0:01] compiling /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-cycle.c [ 0:01] states per second: 16.2016 [ 0:16] state count: 18 [ 0:16] mips: 0.34 [ 0:16] [ 0:20] error found: yes [ 0:20] error trace: | [ 0:20] (1) FAULT: Deadlock: mutex cycle closed, circular waiting [ 0:20] [1] FATAL: locking error in userspace [ 0:20] [ 0:20] stack 2: [ 0:20] - symbol: __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) [ 0:20] location: /divine/include/libc/include/sys/interrupt.h:42 [ 0:20] - symbol: _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) [ 0:20] location: /divine/include/libc/include/sys/interrupt.h:77 [ 0:20] - symbol: pthread_mutex_lock [ 0:20] location: /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:20] - symbol: thr [ 0:20] location: /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-cycle.c:9 [ 0:20] - symbol: main [ 0:20] location: /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-cycle.c:25 [ 0:20] - symbol: _start [ 0:20] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:20] active stack: [ 0:21] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:21] location: /divine/include/dios/core/fault.hpp:187 [ 0:21] - symbol: __dios_fault [ 0:21] location: /divine/src/libc/functions/sys/fault.c:25 [ 0:21] - symbol: _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) [ 0:21] location: /divine/src/libc/functions/sys/pthread.cpp:754 [ 0:21] - symbol: pthread_mutex_lock [ 0:21] location: /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:21] - symbol: thr [ 0:21] location: /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-cycle.c:9 [ 0:21] - symbol: __pthread_entry [ 0:21] location: /divine/src/libc/functions/sys/pthread.cpp:462 [ 0:21] a report was written to verify.out [ 0:21] [ 0:31] ^ —————. —.— . . —.— . . .————— . . [ 0:31] ——— | | | | | | |\ | | | | [ 0:31] —(o)— | | | | | | | \ | |———— '————| [ 0:31] ——————— | | | \ / | | \| | | [ 0:31] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:31] [ 0:31] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:31] traced states: #1 #2 #3 #4 #5 #6 [ 0:35] # active threads: 0:0 [0:1] [ 0:35] T: (1) FAULT: Deadlock: mutex cycle closed, circular waiting [ 0:35] T: [1] FATAL: locking error in userspace [ 0:35] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:35] # NOTE: $frame in __dios_fault [ 0:35] > backtrace [ 0:35] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:35] __dios_fault at /divine/src/libc/functions/sys/fault.c:25 [ 0:35] _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) at /divine/src/libc/functions/sys/pthread.cpp:754 [ 0:35] pthread_mutex_lock at /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:35] thr at /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-cycle.c:9 [ 0:35] __pthread_entry at /divine/src/libc/functions/sys/pthread.cpp:462 [ 0:35] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:35] # NOTE: $frame in __dios_fault