panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *178625 1 0 0x10000002 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83504c13) 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,ffff80002a19bfa0,ffff80002a19bef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19bfa0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19bfa0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b31d0848e20, 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(ffffffff83504c13) 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,ffff80002a19bfa0,ffff80002a19bef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19bfa0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19bfa0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b31d0848e20, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19bd70 rbx 0xffffffff83952e0f cpu_info_full_primary+0x2e0f rdx 0 rcx 0xffff800045fffc88 rax 0xffffffff83951ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xcbd3306e5f35efb4 r11 0xaa8cb290827ebfd9 r12 0xffffffff83952c10 cpu_info_full_primary+0x2c10 r13 0 r14 0 r15 0x1 rip 0xffffffff820ea785 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19bd60 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=178625 pid=1 tcnt=1 stat=onproc flags process=10000002 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83b1f530,0xffff800045fff768 process=0xffff800045ffb070 user=0xffff80002a197000, vmspace=0xfffffc800b1f7d58 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 43864 430786 43320 0 2 0x2 0 sh 14118 326827 5008 0 2 0x2 0 sh 88026 169931 95841 0 2 0x100000 0 sh 95841 202717 55246 0 3 0x100002 0x88 sigsusp sh 73381 112499 79754 0 3 0x2 0x80 piperd syz-executor 43320 170217 79754 0 2 0x10000002 0 syz-executor 55246 84625 79754 0 3 0x2 0x80 wait syz-executor 5008 411394 79754 0 3 0x2 0x80 wait syz-executor 21518 254982 79754 0 3 0x2 0x80 piperd syz-executor 45460 420513 79754 0 3 0x2 0x80 piperd syz-executor 7626 11728 0 0 3 0x14000 0x200 acct acct 79754 187321 52702 0 3 0x2 0x80 nanoslp syz-executor 52702 158003 44011 0 3 0x100002 0x88 sigsusp ksh 44011 215836 63263 0 3 0x10 0x88 kqread sshd-session 63263 159247 86569 0 3 0x12 0x80 kqread sshd-session 86569 343749 1 0 3 0 0x88 kqread sshd 3665 365512 72742 74 3 0x1100012 0x80 bpf pflogd 72742 488550 1 0 3 0 0x80 sbwait pflogd 49004 226285 14479 73 3 0x1100010 0x80 kqread syslogd 14479 202055 1 0 3 0x100002 0x80 sbwait syslogd-parent 80949 24125 1 0 3 0x100000 0x80 kqread resolvd 86854 9217 59762 77 3 0x100012 0x80 kqread dhcpleased 24624 522605 59762 77 3 0x100012 0x80 kqread dhcpleased 59762 424047 1 0 3 0 0x80 kqread dhcpleased 19250 383431 0 0 3 0x14000 0x200 bored smr 5352 375028 0 0 2 0x14000 0x200 zerothread 65387 63295 0 0 3 0x14000 0x200 aiodoned aiodoned 72036 417940 0 0 3 0x14000 0x200 syncer update 86805 274818 0 0 3 0x14000 0x200 cleaner cleaner 47572 214209 0 0 3 0x14000 0x200 reaper reaper 92246 448361 0 0 3 0x14000 0x200 pgdaemon pagedaemon 10240 518698 0 0 3 0x14000 0x200 bored viomb 95611 189408 0 0 3 0x14000 0x40000200 acpi0 acpi0 36081 36932 0 0 7 0x14000 0x40000200 idle1 8773 152625 0 0 3 0x14000 0x200 bored softnet1 65093 318216 0 0 3 0x14000 0x200 bored softnet0 73890 464573 0 0 3 0x14000 0x200 smrbar systqmp 40319 174488 0 0 3 0x14000 0x200 bored systq 55820 70267 0 0 3 0x14000 0x200 tmoslp softclockmp 29121 131296 0 0 3 0x14000 0x40000200 tmoslp softclock 38506 13544 0 0 3 0x14000 0x40000200 idle0 * 1 178625 0 0 7 0x10000002 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 73890 (systqmp) thread 0xffff800045ffe530 (464573) shared rwlock systqmp r = 0 (0xffffffff8391e6a8) #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 (178625) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a68380) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11054 12091K 12158K 166960K 12499 0 pcb 17 14K 15K 166960K 92 0 rtable 142 6K 8K 166960K 2307 0 pf 30 16K 20K 166960K 199 0 ifaddr 29 5K 8K 166960K 317 0 ifgroup 47 2K 2K 166960K 343 0 sysctl 2 1K 9K 166960K 7 0 counters 66 36K 37K 166960K 216 0 ioctlops 0 0K 4K 166960K 1613 0 iov 0 0K 12K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1293 81K 82K 166960K 2166 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 17 1K 2K 166960K 27 0 dirhash 15 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 12 41K 93K 166960K 1417 0 sigio 0 0K 0K 166960K 8 0 proc 64 99K 180K 166960K 2411 0 subproc 54 3K 4K 166960K 675 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 20 0 in_multi 49 3K 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 1269 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 159 138K 174K 166960K 10874 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 35 70K 106K 166960K 4286 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 14 0K 2K 166960K 229 0 temp 30 9126K 9190K 166960K 35894 0 kqueue 13 20K 28K 166960K 56 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 203 0 200 1 0 1 1 0 8 0 rtentry 176 823 0 761 6 1 5 6 0 8 0 unpcb 144 196 0 179 1 0 1 1 0 8 0 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpcb 736 114 0 110 7 6 1 7 0 8 0 arp 136 148 0 138 1 0 1 1 0 8 0 inpcb 328 658 0 651 7 5 2 7 0 8 1 nd6 152 218 0 209 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 kcovpl 48 75 0 69 1 0 1 1 0 8 0 ppxss 1192 2 0 2 1 1 0 1 0 8 0 pffrag 232 12 0 8 1 0 1 1 0 482 0 pffrnode 88 12 0 8 1 0 1 1 0 8 0 pffrent 40 26 0 22 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 21 0 21 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 62 0 21 1 0 1 1 0 8 0 pfstkey 128 62 0 21 2 0 2 2 0 8 0 pfstate 448 62 0 21 6 0 6 6 0 8 0 pfrule 1360 36 0 30 2 0 2 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 3338 0 3042 32 5 27 29 0 8 7 art_table 40 3341 0 3042 5 0 5 5 0 8 0 art_node 32 823 0 765 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 23 0 8 1 0 1 1 0 8 0 shmpl 120 3 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 2 3 0 3 3 0 8 0 dino2pl 256 2150 0 537 101 0 101 101 0 8 0 ffsino 296 2150 0 537 125 0 125 125 0 8 0 nchpl 144 2754 0 837 71 0 71 71 0 8 0 vnodes 216 2942 0 0 164 0 164 164 0 8 0 namei 1024 16688 0 16688 3 2 1 2 0 8 1 percpumem 16 124 0 75 1 0 1 1 0 8 0 kstatmem 264 171 0 148 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 10530 0 10530 10 9 1 8 1 8 1 plimitpl 152 242 0 226 1 0 1 1 0 8 0 sigapl 424 1597 0 1553 8 2 6 7 0 8 0 knotepl 120 561 0 0 17 0 17 17 0 8 0 kqueuepl 224 80 0 71 1 0 1 1 0 8 0 pipepl 344 344 0 317 4 0 4 4 0 8 0 fdescpl 528 1580 0 1555 3 0 3 3 0 8 0 filepl 160 5089 0 4908 13 3 10 13 0 8 1 lockfpl 104 154 0 152 1 0 1 1 0 8 0 lockfspl 48 57 0 55 1 0 1 1 0 8 0 sessionpl 144 98 0 89 1 0 1 1 0 8 0 pgrppl 48 192 0 176 1 0 1 1 0 8 0 ucredpl 104 405 0 392 1 0 1 1 0 8 0 zombiepl 144 1555 0 1553 1 0 1 1 0 8 0 processpl 1240 1597 0 1553 6 1 5 5 0 8 0 procpl 664 2089 0 2045 6 1 5 6 0 8 0 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 752 1069 0 1042 10 6 4 10 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 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 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 39 0 0 5 0 5 5 0 8 0 mextrefs 64 39 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 315 0 0 20 0 20 20 0 8 0 bufpl 272 3997 0 94 261 0 261 261 0 8 0 anonpl 32 5513 0 0 45 0 45 45 0 247 0 amapchunkpl 152 29567 0 29311 33 15 18 33 0 158 5 amappl16 200 1762 0 1753 5 3 2 5 0 8 0 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 1205 0 1203 1 0 1 1 0 8 0 amappl13 176 264 0 253 1 0 1 1 0 8 0 amappl12 168 2086 0 2065 2 0 2 2 0 8 0 amappl11 160 9 0 8 1 0 1 1 0 8 0 amappl10 152 66 0 54 1 0 1 1 0 8 0 amappl9 144 287 0 287 1 1 0 1 0 8 0 amappl8 136 374 0 372 1 0 1 1 0 8 0 amappl7 128 271 0 260 1 0 1 1 0 8 0 amappl6 120 511 0 507 1 0 1 1 0 8 0 amappl5 112 405 0 395 1 0 1 1 0 8 0 amappl4 104 497 0 477 1 0 1 1 0 8 0 amappl3 96 6257 0 6192 4 1 3 4 0 8 0 amappl2 88 711 0 657 2 0 2 2 0 8 0 amappl1 80 20005 0 19475 15 2 13 14 0 8 0 amappl 88 9030 0 8935 5 0 5 5 0 92 0 uvmvnodes 80 115 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1580 0 1555 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1580 0 1555 1 0 1 1 0 8 0 vmmpekpl 168 13256 0 13208 4 0 4 4 0 8 0 vmmpepl 168 107972 0 106541 86 8 78 86 0 357 5 vmsppl 488 1579 0 1555 7 2 5 5 0 8 1 rwobjpl 80 31286 0 30396 24 2 22 23 0 8 0 pdppl 4096 3168 0 3110 164 96 68 86 0 8 10 pvpl 32 13628 0 0 111 1 110 110 0 265 0 pmappl 256 1579 0 1555 4 1 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 634 0 113 15 0 15 15 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(ffffffff83504c13) 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,ffff80002a19bfa0,ffff80002a19bef0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a19bfa0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a19bfa0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b31d0848e20, count: -6 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002998dff0) 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(ffff80002998dff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff80002998dff0) 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(ffff80002998dff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: -5