panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *487681 1 0 0x2 0x2000 1K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350dbf1) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c670,ffff80002a19c5c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c670) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c670) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x760860131570, count: 9 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: init died (signal 0, exit 10) ddb{1}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350dbf1) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c670,ffff80002a19c5c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c670) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c670) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x760860131570, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19c440 rbx 0xffff80002998ee0f rdx 0 rcx 0xffff800045fffc88 rax 0xffff80002998dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x71046422c0470a6c r11 0xf6a5a16dd9a17188 r12 0xffff80002998ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff8211c1c5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19c430 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=487681 pid=1 tcnt=1 stat=onproc flags process=2 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83b31738,0xffff800045fff768 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xfffff8800b1f7b70 estcpu=0, cpticks=8, pctcpu=0.0, user=0, sys=1, intr=7 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 38386 336437 27421 0 2 0x40 0 syz-executor 78411 116971 16938 0 2 0x100000 0 sh 16938 126245 26304 0 3 0x100002 0x88 sigsusp sh 48009 482303 77860 0 2 0x2 0 ifconfig 68226 371108 75559 0 2 0x2 0 ifconfig 33345 154929 43682 0 2 0x100002 0 sh 75559 504345 92361 0 3 0x100002 0x88 sigsusp sh 77860 333032 41054 0 3 0x100002 0x88 sigsusp sh 35914 497141 23640 0 2 0x2 0 syz-executor 41054 343101 23640 0 3 0x2 0x80 wait syz-executor 26304 449659 23640 0 3 0x2 0x80 wait syz-executor 92361 517129 23640 0 3 0x2 0x80 wait syz-executor 43682 245454 23640 0 3 0x2 0x80 wait syz-executor 27421 119850 23640 0 3 0x82 0 ppwait syz-executor 9498 30042 0 0 3 0x14000 0x200 acct acct 87535 29077 1 0 3 0x100003 0x80 ttyin getty 85027 506690 0 0 3 0x14000 0x280 nfsidl nfsio 77916 390495 0 0 3 0x14000 0x280 nfsidl nfsio 41332 335531 0 0 3 0x14000 0x280 nfsidl nfsio 12505 104203 0 0 3 0x14000 0x280 nfsidl nfsio 95899 352514 0 0 3 0x14000 0x280 nfsidl nfsio 7697 133482 0 0 3 0x14000 0x280 nfsidl nfsio 34996 278179 0 0 3 0x14000 0x280 nfsidl nfsio 98168 374984 0 0 3 0x14000 0x280 nfsidl nfsio 67796 236996 0 0 3 0x14000 0x280 nfsidl nfsio 12539 175541 0 0 3 0x14000 0x280 nfsidl nfsio 15177 498648 0 0 3 0x14000 0x280 nfsidl nfsio 49529 345621 0 0 3 0x14000 0x280 nfsidl nfsio 87264 105530 0 0 3 0x14000 0x280 nfsidl nfsio 84835 116848 0 0 3 0x14000 0x280 nfsidl nfsio 34260 446475 0 0 3 0x14000 0x280 nfsidl nfsio 19381 278946 0 0 3 0x14000 0x280 nfsidl nfsio 94259 80637 0 0 3 0x14000 0x280 nfsidl nfsio 42116 316779 0 0 3 0x14000 0x280 nfsidl nfsio 4135 48907 0 0 3 0x14000 0x280 nfsidl nfsio 68872 256378 0 0 3 0x14000 0x280 nfsidl nfsio 71849 180026 55975 0 3 0x100002 0x80 sbwait arp 55975 170180 10902 0 3 0x100002 0x88 sigsusp sh 10902 515143 23640 0 3 0x2 0x80 wait syz-executor 23640 125518 1 0 3 0x2 0x80 wait syz-executor 60315 53093 95125 0 3 0x10 0x88 kqread sshd-session 95125 408795 1 0 3 0x12 0x80 kqread sshd-session 72277 333169 1 74 3 0x1100012 0x80 bpf pflogd 69639 29521 1 73 3 0x1100010 0x80 kqread syslogd 31331 358547 0 0 3 0x14000 0x200 bored smr 87965 61269 0 0 2 0x14000 0x200 zerothread 11437 398564 0 0 3 0x14000 0x200 aiodoned aiodoned 19194 241921 0 0 3 0x14000 0x200 syncer update 10198 210430 0 0 3 0x14000 0x200 cleaner cleaner 39195 380815 0 0 3 0x14000 0x200 reaper reaper 76714 242452 0 0 3 0x14000 0x200 pgdaemon pagedaemon 61649 393552 0 0 3 0x14000 0x200 bored viomb 5214 130669 0 0 3 0x14000 0x40000200 acpi0 acpi0 49300 124222 0 0 3 0x14000 0x40000200 idle1 58257 131673 0 0 3 0x14000 0x200 bored softnet1 73442 307488 0 0 3 0x14000 0x200 bored softnet0 46345 45439 0 0 3 0x14000 0x200 smrbar systqmp 89641 168756 0 0 3 0x14000 0x200 bored systq 33829 22235 0 0 3 0x14000 0x200 tmoslp softclockmp 29427 381742 0 0 3 0x14000 0x40000200 tmoslp softclock 48468 283664 0 0 3 0x14000 0x40000200 idle0 * 1 487681 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 46345 (systqmp) thread 0xffff800045ffe298 (45439) shared rwlock systqmp r = 0 (0xffffffff83958e58) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x11a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 Process 1 (init) thread 0xffff800045fffc88 (487681) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b0bd80) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:804 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11050 12088K 12360K 166960K 12716 0 pcb 17 12K 12K 166960K 68 0 rtable 91 5K 8K 166960K 2344 0 pf 35 17K 21K 166960K 213 0 ifaddr 25 4K 7K 166960K 326 0 ifgroup 51 2K 2K 166960K 355 0 sysctl 4 1K 9K 166960K 9 0 counters 68 36K 37K 166960K 238 0 ioctlops 0 0K 4K 166960K 1586 0 iov 0 0K 16K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1358 85K 86K 166960K 2482 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 27 1K 2K 166960K 81 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 20 70K 89K 166960K 1415 0 sigio 0 0K 0K 166960K 2 0 proc 20 33K 180K 166960K 2488 0 subproc 63 3K 4K 166960K 702 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 88 0 in_multi 23 1K 6K 166960K 812 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 29 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 1314 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 135 97K 182K 166960K 11036 0 UVM aobj 8 2K 2K 166960K 9 0 pinsyscall 31 62K 106K 166960K 4345 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 13 0K 1K 166960K 234 0 temp 33 9126K 9190K 166960K 28396 0 kqueue 5 8K 26K 166960K 69 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 223 0 222 2 0 2 2 0 8 1 rtentry 176 835 0 799 5 1 4 5 0 8 2 unpcb 144 731 0 723 3 1 2 2 0 8 1 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpcb 736 73 0 71 1 0 1 1 0 8 0 arp 136 151 0 142 1 0 1 1 0 8 0 inpcb 328 545 0 543 2 1 1 2 0 8 0 nd6 152 216 0 213 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 2 0 1 0 8 0 kcovpl 48 78 0 71 1 0 1 1 0 8 0 ppxss 1192 12 0 12 2 2 0 1 0 8 0 pppxif 1584 4 0 4 1 1 0 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 2 0 2 2 2 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 52 0 17 1 0 1 1 0 8 0 pfstkey 128 52 0 17 2 0 2 2 0 8 0 pfstate 448 52 0 17 5 0 5 5 0 8 0 pfrule 1360 25 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3329 0 3163 32 8 24 29 0 8 10 art_table 40 3330 0 3163 5 1 4 5 0 8 1 art_node 32 830 0 789 1 0 1 1 0 8 0 semapl 72 79 0 54 1 0 1 1 0 8 0 shmpl 120 6 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 2288 0 651 103 0 103 103 0 8 0 ffsino 296 2288 0 651 126 0 126 126 0 8 0 nchpl 144 2866 0 914 73 0 73 73 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3250 0 0 181 0 181 181 0 8 0 namei 1024 19089 0 19089 5 4 1 3 0 8 1 percpumem 16 135 0 85 1 0 1 1 0 8 0 kstatmem 264 181 0 156 2 0 2 2 0 8 0 scsiplug 72 3 0 3 3 2 1 1 0 8 1 scxspl 216 11353 0 11353 10 9 1 8 1 8 1 plimitpl 152 134 0 121 1 0 1 1 0 8 0 sigapl 424 1613 0 1549 9 0 9 9 0 8 0 knotepl 120 325 0 0 10 0 10 10 0 8 0 kqueuepl 224 139 0 135 3 2 1 3 0 8 0 pipepl 344 425 0 398 10 6 4 9 0 8 1 fdescpl 528 1576 0 1550 3 0 3 3 0 8 0 filepl 160 6983 0 6813 20 9 11 18 0 8 1 lockfpl 104 115 0 115 1 0 1 1 0 8 1 lockfspl 48 51 0 51 1 0 1 1 0 8 1 sessionpl 144 109 0 103 1 0 1 1 0 8 0 pgrppl 48 193 0 179 1 0 1 1 0 8 0 ucredpl 104 913 0 903 1 0 1 1 0 8 0 zombiepl 144 1551 0 1549 1 0 1 1 0 8 0 processpl 1240 1613 0 1549 6 0 6 6 0 8 0 procpl 664 2165 0 2101 8 1 7 8 0 8 0 sosppl 176 3 0 3 1 1 0 1 0 8 0 sockpl 752 1518 0 1507 11 6 5 8 0 8 3 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 117 0 0 15 0 15 15 0 8 0 mcl2k 2048 32 0 0 4 0 4 4 0 8 0 mextrefs 64 28 0 0 1 0 1 1 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 260 0 0 17 0 17 17 0 8 0 bufpl 272 5144 0 92 337 0 337 337 0 8 0 anonpl 32 5810 0 0 47 0 47 47 0 247 0 amapchunkpl 152 30440 0 30187 27 11 16 24 0 158 3 amappl16 200 1958 0 1958 5 3 2 5 0 8 2 amappl15 192 10 0 10 2 2 0 1 0 8 0 amappl14 184 1236 0 1231 1 0 1 1 0 8 0 amappl13 176 253 0 247 1 0 1 1 0 8 0 amappl12 168 2095 0 2074 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 68 0 64 1 0 1 1 0 8 0 amappl9 144 290 0 290 1 1 0 1 0 8 0 amappl8 136 370 0 367 1 0 1 1 0 8 0 amappl7 128 301 0 295 1 0 1 1 0 8 0 amappl6 120 524 0 518 1 0 1 1 0 8 0 amappl5 112 417 0 410 1 0 1 1 0 8 0 amappl4 104 496 0 486 1 0 1 1 0 8 0 amappl3 96 6273 0 6210 4 1 3 4 0 8 0 amappl2 88 725 0 698 2 0 2 2 0 8 0 amappl1 80 20450 0 20085 16 2 14 15 0 8 0 amappl 88 9110 0 9014 5 1 4 5 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1576 0 1550 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1576 0 1550 1 0 1 1 0 8 0 vmmpekpl 168 13803 0 13745 4 0 4 4 0 8 0 vmmpepl 168 108928 0 107780 88 20 68 88 0 357 1 vmsppl 488 1575 0 1549 6 1 5 5 0 8 0 rwobjpl 80 32173 0 31509 25 2 23 25 0 8 0 pdppl 4096 3160 0 3098 174 110 64 84 0 8 2 pvpl 32 11469 0 0 93 0 93 93 0 265 0 pmappl 256 1575 0 1549 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 711 0 128 17 0 17 17 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff838feff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83b0b580) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b0b580) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 uvn_detach(fffff8807fdba000) at uvn_detach+0x28 sys/uvm/uvm_vnode.c:292 uvm_unmap_detach(ffff800035fa5300,0) at uvm_unmap_detach+0x15b sys/uvm/uvm_map.c:1370 uvm_map_teardown(fffff8806d2cdb98) at uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536 exit1(ffff80002a335a18,0,0,1) at exit1+0x71b sys/kern/kern_exit.c:260 sys_exit(ffff80002a335a18,ffff800035fa54d0,ffff800035fa5420) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035fa54d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035fa54d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e2f7211a140, count: 4 ddb{0}> trace x86_ipi_db(ffffffff838feff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83b0b580) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b0b580) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 uvn_detach(fffff8807fdba000) at uvn_detach+0x28 sys/uvm/uvm_vnode.c:292 uvm_unmap_detach(ffff800035fa5300,0) at uvm_unmap_detach+0x15b sys/uvm/uvm_map.c:1370 uvm_map_teardown(fffff8806d2cdb98) at uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536 exit1(ffff80002a335a18,0,0,1) at exit1+0x71b sys/kern/kern_exit.c:260 sys_exit(ffff80002a335a18,ffff800035fa54d0,ffff800035fa5420) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035fa54d0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035fa54d0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e2f7211a140, count: -11 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350dbf1) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c670,ffff80002a19c5c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c670) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c670) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x760860131570, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8350dbf1) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fffc88,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fffc88,ffff80002a19c670,ffff80002a19c5c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19c670) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19c670) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x760860131570, count: -6