[ 0:00] compiling /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-partial.c [ 0:00] states per second: 111.397 [ 0:17] state count: 346 [ 0:17] mips: 0.21 [ 0:17] [ 0:21] error found: yes [ 0:21] error trace: | [ 0:21] (2) FAULT: Deadlock: mutex cycle closed, circular waiting [ 0:21] [2] FATAL: locking error in userspace [ 0:21] [ 0:21] stack 2: [ 0:21] - symbol: __pthread_entry [ 0:21] location: /divine/src/libc/functions/sys/pthread.cpp:447 [ 0:21] stack 3: [ 0:21] - symbol: __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) [ 0:21] location: /divine/include/libc/include/sys/interrupt.h:42 [ 0:21] - symbol: _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) [ 0:21] location: /divine/include/libc/include/sys/interrupt.h:77 [ 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-partial.c:9 [ 0:21] - symbol: main [ 0:21] location: /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-partial.c:37 [ 0:21] - symbol: _start [ 0:21] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:21] stack 4: [ 0:21] - symbol: __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) [ 0:21] location: /divine/include/libc/include/sys/interrupt.h:42 [ 0:21] - symbol: _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) [ 0:21] location: /divine/include/libc/include/sys/interrupt.h:77 [ 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-partial.c:9 [ 0:21] - symbol: __pthread_entry [ 0:21] location: /divine/src/libc/functions/sys/pthread.cpp:462 [ 0:21] active stack: [ 0:22] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:22] location: /divine/include/dios/core/fault.hpp:187 [ 0:22] - symbol: __dios_fault [ 0:22] location: /divine/src/libc/functions/sys/fault.c:25 [ 0:22] - symbol: _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) [ 0:22] location: /divine/src/libc/functions/sys/pthread.cpp:754 [ 0:22] - symbol: pthread_mutex_lock [ 0:22] location: /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:22] - symbol: thr [ 0:22] location: /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-partial.c:9 [ 0:22] - symbol: __pthread_entry [ 0:22] location: /divine/src/libc/functions/sys/pthread.cpp:462 [ 0:22] a report was written to verify.out [ 0:22] [ 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 #7 #8 #9 #10 [ 0:35] # active threads: 0:0 0:1 [0:2] 0:3 [ 0:36] T: (2) FAULT: Deadlock: mutex cycle closed, circular waiting [ 0:36] T: [2] FATAL: locking error in userspace [ 0:36] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:36] # NOTE: $frame in __dios_fault [ 0:36] > backtrace [ 0:36] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:36] __dios_fault at /divine/src/libc/functions/sys/fault.c:25 [ 0:36] _mutex_lock(__dios::_InterruptMask&, pthread_mutex_t*, bool) at /divine/src/libc/functions/sys/pthread.cpp:754 [ 0:36] pthread_mutex_lock at /divine/src/libc/functions/sys/pthread.cpp:866 [ 0:36] thr at /home/xrockai/src/divine/nightly/test/pthread/2.deadlock-partial.c:9 [ 0:36] __pthread_entry at /divine/src/libc/functions/sys/pthread.cpp:462 [ 0:36] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:36] # NOTE: $frame in __dios_fault