panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *330267 1 0 0x30000002 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e466b) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,ffff80002a1ac9f0,ffff80002a1ac940) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac9f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac9f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1b801886b0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: init died (signal 0, exit 10) ddb{0}> show kasan No such command ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e466b) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,ffff80002a1ac9f0,ffff80002a1ac940) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac9f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac9f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1b801886b0, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1ac7c0 rbx 0xffffffff839c0e0f cpu_info_full_primary+0x2e0f rdx 0 rcx 0xffff800045fff9f0 rax 0xffffffff839bfff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4cd261b70dc08386 r11 0xe712fa0ae925a6d5 r12 0xffffffff839c0c10 cpu_info_full_primary+0x2c10 r13 0 r14 0 r15 0x1 rip 0xffffffff81cff665 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1ac7b0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=330267 pid=1 tcnt=1 stat=onproc flags process=30000002 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83b54fa8,0xffff800045fff4d0 process=0xffff800045ffb548 user=0xffff80002a1a7000, vmspace=0xffffef800b1f7d58 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 27447 496171 9760 0 2 0x10100002 0x88 sh 85982 244505 57928 0 2 0 0 syz-executor 9760 449909 37174 0 3 0x2 0x80 wait syz-executor 21542 492132 84659 0 2 0 0 syz-executor 58545 289019 37174 0 2 0x2 0 syz-executor 76297 482917 37174 0 3 0x2 0x80 piperd syz-executor 57928 78650 37174 0 2 0x2 0xc80 syz-executor 84659 294246 37174 0 3 0x2 0x80 nanoslp syz-executor 54759 324210 0 0 3 0x14000 0x280 nfsidl nfsio 32811 46964 0 0 3 0x14000 0x280 nfsidl nfsio 35373 244758 0 0 3 0x14000 0x280 nfsidl nfsio 29577 406463 0 0 3 0x14000 0x280 nfsidl nfsio 74744 201644 0 0 3 0x14000 0x280 nfsidl nfsio 86523 138100 0 0 3 0x14000 0x280 nfsidl nfsio 74297 90681 0 0 3 0x14000 0x280 nfsidl nfsio 55313 245457 0 0 3 0x14000 0x280 nfsidl nfsio 28150 317391 0 0 3 0x14000 0x280 nfsidl nfsio 87248 460452 0 0 3 0x14000 0x280 nfsidl nfsio 26252 484158 0 0 3 0x14000 0x280 nfsidl nfsio 59268 420740 0 0 3 0x14000 0x280 nfsidl nfsio 15504 329991 0 0 3 0x14000 0x280 nfsidl nfsio 7206 33315 0 0 3 0x14000 0x280 nfsidl nfsio 16216 312565 0 0 3 0x14000 0x280 nfsidl nfsio 33381 418766 0 0 3 0x14000 0x280 nfsidl nfsio 29273 325990 0 0 3 0x14000 0x280 nfsidl nfsio 96909 325597 0 0 3 0x14000 0x280 nfsidl nfsio 69460 507121 0 0 3 0x14000 0x280 nfsidl nfsio 68843 322950 0 0 3 0x14000 0x280 nfsidl nfsio 51891 113771 5890 0 3 0x100002 0x80 sbwait arp 5890 313129 59047 0 3 0x100002 0x88 sigsusp sh 59047 209390 37174 0 3 0x2 0x80 wait syz-executor 26711 332179 37174 0 3 0x2 0x80 piperd syz-executor 37174 154638 52251 0 3 0x2 0x80 nanoslp syz-executor 52251 120108 19566 0 3 0x100002 0x88 sigsusp ksh 19566 1691 72150 0 3 0x10 0x88 kqread sshd-session 72150 323684 67078 0 3 0x12 0x80 kqread sshd-session 67078 301472 1 0 3 0 0x88 kqread sshd 59273 61485 89574 74 3 0x1100012 0x80 bpf pflogd 89574 126300 1 0 3 0 0x80 sbwait pflogd 77039 137832 68497 73 3 0x1100010 0x80 kqread syslogd 68497 482159 1 0 3 0x100002 0x80 sbwait syslogd 33272 291694 1 0 3 0x100000 0x80 kqread resolvd 97159 421528 25130 77 3 0x100012 0x80 kqread dhcpleased 40519 350702 25130 77 3 0x100012 0x80 kqread dhcpleased 25130 318722 1 0 3 0 0x80 kqread dhcpleased 60603 72049 0 0 3 0x14000 0x200 bored smr 16773 300344 0 0 2 0x14000 0x200 zerothread 73285 202215 0 0 3 0x14000 0x200 aiodoned aiodoned 67303 288824 0 0 3 0x14000 0x200 syncer update 70095 113666 0 0 3 0x14000 0x200 cleaner cleaner 77852 39069 0 0 3 0x14000 0x200 reaper reaper 36885 78192 0 0 3 0x14000 0x200 pgdaemon pagedaemon 31961 180156 0 0 3 0x14000 0x200 bored viomb 31200 351265 0 0 3 0x14000 0x40000200 acpi0 acpi0 51205 93241 0 0 7 0x14000 0x40000200 idle1 23397 114093 0 0 3 0x14000 0x200 bored softnet1 31375 237239 0 0 3 0x14000 0x200 bored softnet0 34470 124250 0 0 3 0x14000 0x200 smrbar systqmp 95508 174240 0 0 3 0x14000 0x200 bored systq 72736 201790 0 0 3 0x14000 0x200 tmoslp softclockmp 7449 335124 0 0 3 0x14000 0x40000200 tmoslp softclock 85101 320501 0 0 3 0x14000 0x40000200 idle0 * 1 330267 0 0 7 0x30000002 0x2000 init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb{0}> show all locks Process 34470 (systqmp) thread 0xffff800045ffe530 (124250) shared rwlock systqmp r = 0 (0xffffffff839c8c38) #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+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 Process 1 (init) thread 0xffff800045fff9f0 (330267) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83af1800) #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:791 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11050 12079K 12214K 166960K 12527 0 pcb 17 16K 19K 166960K 146 0 rtable 145 5K 8K 166960K 2446 0 pf 30 17K 131085K 166960K 238 0 ifaddr 29 5K 8K 166960K 329 0 ifgroup 43 2K 2K 166960K 340 0 sysctl 3 1K 9K 166960K 9 0 counters 64 36K 37K 166960K 218 0 ioctlops 0 0K 4K 166960K 1601 0 iov 0 0K 32K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1327 83K 84K 166960K 2448 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 23 1K 1K 166960K 29 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 14 49K 89K 166960K 1492 0 sigio 0 0K 0K 166960K 5 0 proc 64 99K 180K 166960K 2517 0 subproc 58 3K 4K 166960K 706 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 30 0 in_multi 56 3K 6K 166960K 852 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 34 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 1293 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 181 149K 168K 166960K 11554 0 UVM aobj 13 2K 2K 166960K 15 0 pinsyscall 38 76K 102K 166960K 4437 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 11 0K 1K 166960K 236 0 temp 36 9118K 9139K 166960K 33874 0 kqueue 13 20K 26K 166960K 72 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 185 0 181 1 0 1 1 0 8 0 rtentry 176 864 0 805 7 2 5 6 0 8 1 unpcb 144 156 0 139 1 0 1 1 0 8 0 syncache 336 41 0 41 3 3 0 1 0 8 0 tcpcb 736 411 0 407 7 6 1 7 0 8 0 arp 136 155 0 144 1 0 1 1 0 8 0 inpcb 328 1010 0 1003 18 11 7 12 0 8 6 nd6 152 228 0 216 1 0 1 1 0 8 0 pkpcb 40 19 0 19 1 0 1 1 0 8 1 kcovpl 48 78 0 72 1 0 1 1 0 8 0 ppxss 1192 4 0 4 1 1 0 1 0 8 0 pfstscr 40 4 0 4 2 2 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 1 1 0 1 1 0 8 0 pfosfp 40 1428 0 1428 5 5 0 5 0 8 0 pfosfpen 112 1428 0 1428 21 15 6 21 0 8 6 pfrktable 1344 7 0 7 1 1 0 1 0 8 0 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 10 0 1 1 0 1 1 0 8 0 pftag 88 2 0 1 1 0 1 1 0 8 0 pfstitem 24 75 0 26 1 0 1 1 0 8 0 pfstkey 128 79 0 30 2 0 2 2 0 8 0 pfstate 448 77 0 28 6 0 6 6 0 8 0 pfrule 1360 29 0 23 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3512 0 3186 32 6 26 29 0 8 4 art_table 40 3513 0 3186 5 0 5 5 0 8 0 art_node 32 863 0 809 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 72 25 0 4 1 0 1 1 0 8 0 shmpl 120 12 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 2371 0 751 102 0 102 102 0 8 0 ffsino 296 2371 0 751 125 0 125 125 0 8 0 nchpl 144 3001 0 1039 73 0 73 73 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3270 0 0 182 0 182 182 0 8 0 namei 1024 18625 0 18625 3 2 1 2 0 8 1 percpumem 16 125 0 77 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 171 0 150 2 0 2 2 0 8 0 scxspl 216 9567 0 9567 10 9 1 7 1 8 1 plimitpl 152 158 0 142 1 0 1 1 0 8 0 sigapl 424 1687 0 1622 10 1 9 9 0 8 0 knotepl 120 350 0 0 11 0 11 11 0 8 0 kqueuepl 224 112 0 103 1 0 1 1 0 8 0 pipepl 344 380 0 353 4 0 4 4 0 8 1 fdescpl 528 1651 0 1624 3 0 3 3 0 8 0 filepl 160 6473 0 6285 19 6 13 15 0 8 3 lockfpl 104 118 0 116 1 0 1 1 0 8 0 lockfspl 48 56 0 54 1 0 1 1 0 8 0 sessionpl 144 115 0 106 1 0 1 1 0 8 0 pgrppl 48 195 0 179 1 0 1 1 0 8 0 ucredpl 104 1309 0 1296 1 0 1 1 0 8 0 zombiepl 144 1624 0 1622 1 0 1 1 0 8 0 processpl 1240 1687 0 1622 7 1 6 6 0 8 0 procpl 664 2301 0 2236 7 0 7 7 0 8 0 sosppl 176 3 0 3 2 2 0 1 0 8 0 sockpl 752 1386 0 1358 23 13 10 17 0 8 6 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 119 0 0 15 0 15 15 0 8 0 mcl2k 2048 38 0 0 5 0 5 5 0 8 0 mextrefs 64 41 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 238 0 0 15 0 15 15 0 8 0 bufpl 272 3146 0 105 203 0 203 203 0 8 0 anonpl 32 6458 0 0 53 0 53 53 0 247 0 amapchunkpl 152 31931 0 31619 30 9 21 25 0 158 6 amappl16 200 2156 0 2143 8 6 2 5 0 8 0 amappl15 192 102 0 102 1 1 0 1 0 8 0 amappl14 184 1256 0 1253 1 0 1 1 0 8 0 amappl13 176 263 0 251 1 0 1 1 0 8 0 amappl12 168 2178 0 2152 2 0 2 2 0 8 0 amappl11 160 1 0 1 1 1 0 1 0 8 0 amappl10 152 110 0 96 1 0 1 1 0 8 0 amappl9 144 297 0 296 1 0 1 1 0 8 0 amappl8 136 373 0 371 1 0 1 1 0 8 0 amappl7 128 283 0 269 1 0 1 1 0 8 0 amappl6 120 844 0 841 1 0 1 1 0 8 0 amappl5 112 105 0 93 1 0 1 1 0 8 0 amappl4 104 500 0 479 1 0 1 1 0 8 0 amappl3 96 5972 0 5905 3 0 3 3 0 8 0 amappl2 88 1496 0 1424 2 0 2 2 0 8 0 amappl1 80 20729 0 20147 14 0 14 14 0 8 0 amappl 88 9623 0 9514 5 1 4 5 0 92 0 uvmvnodes 80 109 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 14 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1651 0 1624 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1651 0 1624 1 0 1 1 0 8 0 vmmpekpl 168 14079 0 14028 3 0 3 3 0 8 0 vmmpepl 168 113264 0 111654 90 5 85 88 0 357 5 vmsppl 488 1650 0 1624 5 0 5 5 0 8 0 rwobjpl 80 33115 0 32137 25 2 23 24 0 8 0 pdppl 4096 3309 0 3248 147 84 63 83 0 8 2 pvpl 32 13334 0 0 108 0 108 108 0 265 0 pmappl 256 1650 0 1624 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 553 0 104 14 0 14 14 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834e466b) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,a,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,ffff80002a1ac9f0,ffff80002a1ac940) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac9f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac9f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1b801886b0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff80002999dff0) 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 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: -5