[ 0:00] compiling /home/xrockai/src/divine/nightly/test/c/2.invalid-stack-deref.c [ 0:00] /home/xrockai/src/divine/nightly/test/c/2.invalid-stack-deref.c:6:13: warning: address of stack memory associated with local variable 'x' returned [ 0:00] return &x; [ 0:00] ^ [ 0:00] 1 warning generated. [ 0:00] states per second: 2.81162 [ 0:15] state count: 3 [ 0:15] mips: 0.34 [ 0:15] [ 0:19] error found: yes [ 0:19] error trace: | [ 0:19] FAULT: invalid heap pointer dereference [heap* ea96d231 0 ddp] [ 0:19] [0] FATAL: memory error in userspace [ 0:19] [ 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: main [ 0:19] location: /home/xrockai/src/divine/nightly/test/c/2.invalid-stack-deref.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: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 [ 0:33] # active threads: [0:0] [ 0:33] T: FAULT: invalid heap pointer dereference [heap* ea96d231 0 ddp] [ 0:33] T: [0] FATAL: memory 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 main [ 0:33] > backtrace [ 0:33] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] main at /home/xrockai/src/divine/nightly/test/c/2.invalid-stack-deref.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 main