[ 0:00] + sim /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c [ 0:00] compiling /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c [ 0:00] /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:12:1: warning: control reaches end of non-void function [ 0:00] } [ 0:00] ^ [ 0:00] 1 warning generated. [ 0:00] [ 0:11] ^ —————. —.— . . —.— . . .————— . . [ 0:11] ——— | | | | | | |\ | | | | [ 0:11] —(o)— | | | | | | | \ | |———— '————| [ 0:11] ——————— | | | \ / | | \| | | [ 0:11] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:11] [ 0:11] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:11] # executing __boot at /divine/src/dios/core/dios.cpp:169 [ 0:11] > setup --debug libc [ 0:11] # executing __boot at /divine/src/dios/core/dios.cpp:169 [ 0:11] > start [ 0:11] # a new program state was stored as #1 [ 0:14] # active threads: [0:0] [ 0:14] # a new program state was stored as #2 [ 0:15] # active threads: [0:0] [ 0:15] # executing main at /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:15 [ 0:15] > break 2.mutex-good.c:19 [ 0:15] # executing main at /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:15 [ 0:15] > stepa --count 100 [ 0:15] # a new program state was stored as #3 [ 0:15] # active threads: [0:0] [ 0:15] # a new program state was stored as #4 [ 0:15] # active threads: [0:0] 0:1 [ 0:15] # stopped at breakpoint 2.mutex-good.c:19 [ 0:15] # executing main at /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:20 [ 0:15] > stepa [ 0:15] # a new program state was stored as #5 [ 0:15] # active threads: [0:0] 0:1 [ 0:15] # executing __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) at /divine/include/libc/include/sys/interrupt.h:43 [ 0:15] > backtrace $state [ 0:15] # backtrace 1: [ 0:15] __pthread_entry at /divine/src/libc/functions/sys/pthread.cpp:447 [ 0:15] # backtrace 2: [ 0:15] __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) at /divine/include/libc/include/sys/interrupt.h:42 [ 0:15] _pthread_join(__dios::_InterruptMask&, _DiOS_TLS*, void**) at /divine/include/libc/include/sys/interrupt.h:77 [ 0:15] pthread_join at /divine/src/libc/functions/sys/pthread.cpp:539 [ 0:15] main at /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:22 [ 0:15] _start at /divine/src/libc/functions/sys/start.cpp:76 [ 0:15] # executing __dios::_InterruptMask::Without::Without(__dios::_InterruptMask&) at /divine/include/libc/include/sys/interrupt.h:43 [ 0:16] [ 0:17] = expected ========== [ 0:17] + ^# executing __boot [ 0:17] > setup --debug libc [ 0:17] > start [ 0:17] + ^# executing main [ 0:17] > break 2.mutex-good.c:19 [ 0:17] > stepa --count 100 [ 0:17] + ^# stopped at breakpoint [ 0:17] > stepa [ 0:17] > backtrace $state [ 0:17] + (__pthread_entry|main) at [ 0:17] + (__pthread_entry|main) at [ 0:17] [ 0:17] = matched =========== [ 0:17] # executing __boot at /divine/src/dios/core/dios.cpp:169 | ^# executing __boot [ 0:17] > setup --debug libc | ^> setup --debug libc [ 0:17] > start | ^> start [ 0:17] # executing main at /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:15 | ^# executing main [ 0:17] > break 2.mutex-good.c:19 | ^> break 2.mutex-good.c:19 [ 0:17] > stepa --count 100 | ^> stepa --count 100 [ 0:17] # stopped at breakpoint 2.mutex-good.c:19 | ^# stopped at breakpoint [ 0:17] > stepa | ^> stepa [ 0:17] > backtrace $state | ^> backtrace \$state [ 0:17] __pthread_entry at /divine/src/libc/functions/sys/pthread.cpp:447 | (__pthread_entry|main) at [ 0:17] main at /home/xrockai/src/divine/nightly/test/pthread/2.mutex-good.c:22 | (__pthread_entry|main) at [ 0:17] + check debris