[ 0:00] + SRC=/home/xrockai/src/divine/nightly/test/lang-c/assert.c [ 0:00] + sim /home/xrockai/src/divine/nightly/test/lang-c/assert.c [ 0:00] compiling /home/xrockai/src/divine/nightly/test/lang-c/assert.c [ 0:01] [ 0:03] ^ —————. —.— . . —.— . . .————— . . [ 0:03] ——— | | | | | | |\ | | | | [ 0:03] —(o)— | | | | | | | \ | |———— '————| [ 0:03] ——————— | | | \ / | | \| | | [ 0:03] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:03] [ 0:03] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:03] # executing __boot at /dios/config/common.hpp:28 [ 0:03] > setup --debug-everything [ 0:03] # executing __boot at /dios/config/common.hpp:28 [ 0:03] > start [ 0:03] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:03] ▶ state #2 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #3 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #4 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #5 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #6 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #7 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #8 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #9 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #10 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #11 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #12 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #13 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #14 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #15 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #16 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #17 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #18 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #19 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #20 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #21 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #22 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #23 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #24 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #25 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #26 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #27 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #28 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #29 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #30 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #31 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #32 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #33 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #34 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #35 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #36 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #37 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #38 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #39 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #40 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #41 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #42 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #43 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #44 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #45 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #46 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #47 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #48 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #49 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #50 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #51 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #52 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #53 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #54 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #55 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #56 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #57 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #58 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #59 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #60 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #61 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #62 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #63 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #64 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #65 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #66 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #67 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #68 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #69 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #70 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #71 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #72 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #73 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #74 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #75 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #76 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #77 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #78 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #79 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #80 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #81 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #82 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #83 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #84 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #85 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #86 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #87 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #88 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #89 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #90 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #91 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #92 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #93 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #94 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #95 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #96 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #97 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #98 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #99 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #100 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #101 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #102 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #103 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #104 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #105 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #106 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #107 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #108 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #109 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #110 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #111 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #112 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #113 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #114 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #115 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #116 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #117 [new] -- active threads: [0:0] -- [ 0:04] ▶ state #118 [new] -- active threads: [0:0] -- [ 0:04] # executing main at /home/xrockai/src/divine/nightly/test/lang-c/assert.c:6 [ 0:04] > stepa --count 100 [ 0:04] T: FAULT: /home/xrockai/src/divine/nightly/test/lang-c/assert.c:6: int main(): assertion '0' failed [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] > up [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:04] > up [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in __dios_fault [ 0:04] > up [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in __assert_fail [ 0:04] > up [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in main [ 0:04] > show [ 0:04] attributes: [ 0:04] address: heap* cfcf38bd 0+0 [ 0:04] size: 16 [ 0:04] pc: code* 80001 1 [ 0:04] insn: call @__assert_fail [global* 1 0 ddp] [global* 2 0 ddp] [i32 6 d] [global* 3 0 ddp] [ 0:04] location: /home/xrockai/src/divine/nightly/test/lang-c/assert.c:6 [ 0:04] symbol: main [ 0:04] related: [ caller ] [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in main [ 0:04] > down [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in __assert_fail [ 0:04] > down [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in __dios_fault [ 0:04] > down [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] # NOTE: $frame in void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:04] > down [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] > show [ 0:04] attributes: [ 0:04] address: heap* d83b485f 0+0 [ 0:04] size: 219 [ 0:04] pc: code* 80293 3b [ 0:04] insn: %3b = vm.ctl.flag [i64 0 d] [i64 8 d] # [i64 720931 d] [ 0:04] location: /dios/sys/fault.cpp:58 [ 0:04] symbol: __dios::FaultBase::fault_handler(int, _VM_Frame*, int) [ 0:04] .cfg: [ 0:04] type: unsigned char* [ 0:04] size: 8 [ 0:04] value: [heap* ad3db55d 18h ddp] [ 0:04] scope: fault_handler [ 0:04] related: [ deref ] [ 0:04] .what: [ 0:04] type: int [ 0:04] size: 4 [ 0:04] value: [i32 1 d] [ 0:04] scope: fault_handler [ 0:04] .frame: [ 0:04] type: _VM_Frame* [ 0:04] size: 8 [ 0:04] value: [heap* 52566f59 0 ddp] [ 0:04] scope: fault_handler [ 0:04] related: [ deref ] [ 0:04] .kernel: [ 0:04] type: int [ 0:04] size: 4 [ 0:04] value: [i32 0 d] [ 0:04] scope: fault_handler [ 0:04] .this: [ 0:04] type: FaultBase* [ 0:04] size: 8 [ 0:04] value: [heap* 78cdf456 10h ddp] [ 0:04] scope: fault_handler [ 0:04] related: [ deref ] [ 0:04] related: [ caller, 64, 96, 124 ] [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 [ 0:04] [ 0:04] = expected ========== [ 0:04] + ^# executing __boot [ 0:04] > setup --debug-everything [ 0:04] > start [ 0:04] + ^# executing main [ 0:04] > stepa --count 100 [ 0:04] + ^# executing .*fault_handler [ 0:04] > up [ 0:04] > up [ 0:04] + ^#.*frame in __dios_fault [ 0:04] > up [ 0:04] > up [ 0:04] + ^#.*frame in main [ 0:04] > show [ 0:04] + symbol:.*main [ 0:04] > down [ 0:04] > down [ 0:04] > down [ 0:04] > down [ 0:04] > show [ 0:04] + symbol:.*fault_handler [ 0:04] [ 0:04] = matched =========== [ 0:04] # executing __boot at /dios/config/common.hpp:28 | ^# executing __boot [ 0:04] > setup --debug-everything | ^> setup --debug-everything [ 0:04] > start | ^> start [ 0:04] # executing main at /home/xrockai/src/divine/nightly/test/lang-c/assert.c:6 | ^# executing main [ 0:04] > stepa --count 100 | ^> stepa --count 100 [ 0:04] # executing __dios::FaultBase::fault_handler(int, _VM_Frame*, int) at /dios/sys/fault.cpp:58 | ^# executing .*fault_handler [ 0:04] > up | ^> up [ 0:04] > up | ^> up [ 0:04] # NOTE: $frame in __dios_fault | ^#.*frame in __dios_fault [ 0:04] > up | ^> up [ 0:04] > up | ^> up [ 0:04] # NOTE: $frame in main | ^#.*frame in main [ 0:04] > show | ^> show [ 0:04] symbol: main | symbol:.*main [ 0:04] > down | ^> down [ 0:04] > down | ^> down [ 0:04] > down | ^> down [ 0:04] > down | ^> down [ 0:04] > show | ^> show [ 0:04] symbol: __dios::FaultBase::fault_handler(int, _VM_Frame*, int) | symbol:.*fault_handler [ 0:04] + check debris [ 0:04] + test -e warning