[ 0:01] compiling /home/xrockai/src/divine/nightly/test/pthread/2.fork-thread-disposal.c [ 0:01] /home/xrockai/src/divine/nightly/test/pthread/2.fork-thread-disposal.c:10:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *' [ 0:01] return 1; [ 0:01] ^ [ 0:01] /home/xrockai/src/divine/nightly/test/pthread/2.fork-thread-disposal.c:29:30: warning: expression result unused [ 0:01] threads[ i ]->_errno; /* ERROR */ [ 0:01] ~~~~~~~~~~~~ ^~~~~~ [ 0:01] 2 warnings generated. [ 0:01] states per second: 20.6186 [ 0:16] state count: 24 [ 0:16] mips: 0.33 [ 0:16] [ 0:20] error found: yes [ 0:20] error trace: | [ 0:20] FAULT: invalid heap pointer dereference [heap* 5529e8e9 0 ddp] [ 0:20] [2] FATAL: memory 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: fork [ 0:20] location: /divine/include/libc/include/sys/interrupt.h:77 [ 0:20] - symbol: main [ 0:20] location: /home/xrockai/src/divine/nightly/test/pthread/2.fork-thread-disposal.c:22 [ 0:20] - symbol: _start [ 0:20] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:20] stack 3: [ 0:20] - symbol: __pthread_entry [ 0:20] location: /divine/src/libc/functions/sys/pthread.cpp:447 [ 0:20] active stack: [ 0:20] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:20] location: /divine/include/dios/core/fault.hpp:187 [ 0:20] - symbol: main [ 0:20] location: /home/xrockai/src/divine/nightly/test/pthread/2.fork-thread-disposal.c:29 [ 0:20] - symbol: _start [ 0:20] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:20] a report was written to verify.out [ 0:20] [ 0:29] ^ —————. —.— . . —.— . . .————— . . [ 0:29] ——— | | | | | | |\ | | | | [ 0:29] —(o)— | | | | | | | \ | |———— '————| [ 0:29] ——————— | | | \ / | | \| | | [ 0:29] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:29] [ 0:29] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:29] traced states: #1 #2 #3 #4 #5 #6 #7 #8 [ 0:34] # active threads: 0:0 0:1 [0:2] [ 0:34] T: FAULT: invalid heap pointer dereference [heap* 5529e8e9 0 ddp] [ 0:34] T: [2] FATAL: memory error in userspace [ 0:34] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:34] # NOTE: $frame in main [ 0:34] > backtrace [ 0:34] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:34] main at /home/xrockai/src/divine/nightly/test/pthread/2.fork-thread-disposal.c:29 [ 0:34] _start at /divine/src/libc/functions/sys/start.cpp:76 [ 0:34] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:34] # NOTE: $frame in main