panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *290743 1 0 0x2 0x2000 1K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83509136) 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,ffff80002a1ac240,ffff80002a1ac190) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac240) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac240) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9821ca0c30, 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(ffffffff83509136) 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,ffff80002a1ac240,ffff80002a1ac190) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac240) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac240) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9821ca0c30, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1ac010 rbx 0xffff80002999ee0f rdx 0 rcx 0xffff800045fffc88 rax 0xffff80002999dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe87db2d81a21da00 r11 0xaf1364ab73e2e00a r12 0xffff80002999ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff828a2ee5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1ac000 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=290743 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=0xffffffff83a480c0,0xffff800045fff4d0 process=0xffff800045ffb548 user=0xffff80002a1a7000, vmspace=0xfffff2800b1f7988 estcpu=0, cpticks=3, pctcpu=0.0, user=1, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 22035 393057 68156 0 3 0x2 0 clonelk ifconfig 68156 406917 45880 0 3 0x100002 0x88 sigsusp sh 45880 393088 94566 0 3 0x2 0x80 wait syz-executor 42794 483968 97591 0 3 0x2 0 clonelk ifconfig 97591 77513 16530 0 3 0x100002 0x88 sigsusp sh 16530 155088 94566 0 3 0x2 0x80 wait syz-executor 30884 486334 94566 0 3 0x2 0 clonelk syz-executor 9933 151631 94566 0 3 0x2 0 clonelk syz-executor 73458 334825 94566 0 3 0x2 0x80 piperd syz-executor 21661 350908 94566 0 3 0x2 0x80 piperd syz-executor 60186 502832 0 0 3 0x14000 0x280 nfsidl nfsio 7092 307031 0 0 3 0x14000 0x280 nfsidl nfsio 98188 474293 0 0 3 0x14000 0x280 nfsidl nfsio 61883 112050 0 0 3 0x14000 0x280 nfsidl nfsio 28839 230127 0 0 3 0x14000 0x280 nfsidl nfsio 19446 465592 0 0 3 0x14000 0x280 nfsidl nfsio 12108 245361 0 0 3 0x14000 0x280 nfsidl nfsio 15172 399835 0 0 3 0x14000 0x280 nfsidl nfsio 9189 304377 0 0 3 0x14000 0x280 nfsidl nfsio 38374 2567 0 0 3 0x14000 0x280 nfsidl nfsio 93564 90811 0 0 3 0x14000 0x280 nfsidl nfsio 30626 317362 0 0 3 0x14000 0x280 nfsidl nfsio 73993 500985 0 0 3 0x14000 0x280 nfsidl nfsio 10939 301896 0 0 3 0x14000 0x280 nfsidl nfsio 83035 89991 0 0 3 0x14000 0x280 nfsidl nfsio 74052 467557 0 0 3 0x14000 0x280 nfsidl nfsio 14682 21996 0 0 3 0x14000 0x280 nfsidl nfsio 97578 434775 0 0 3 0x14000 0x280 nfsidl nfsio 87231 340351 0 0 3 0x14000 0x280 nfsidl nfsio 98121 146593 0 0 3 0x14000 0x280 nfsidl nfsio 94566 261468 62690 0 3 0x2 0x80 nanoslp syz-executor 62690 393018 38817 0 3 0x100002 0x88 sigsusp ksh 38817 366491 1012 0 3 0x10 0x88 kqread sshd-session 1012 48170 59881 0 3 0x12 0x80 kqread sshd-session 20056 448855 1 0 3 0x100003 0x80 ttyopn getty 59881 117067 1 0 3 0 0x88 kqread sshd 45701 388917 80431 74 3 0x1100012 0x80 bpf pflogd 80431 241300 1 0 3 0 0x80 sbwait pflogd 88641 353423 56829 73 3 0x1100010 0x80 kqread syslogd 56829 344128 1 0 3 0x100002 0x80 sbwait syslogd-parent 70618 323226 1 0 3 0x100000 0x80 kqread resolvd 66775 239255 26734 77 3 0x100012 0x80 kqread dhcpleased 72524 255991 26734 77 3 0x100012 0x80 kqread dhcpleased 26734 213568 1 0 3 0 0x80 kqread dhcpleased 63520 328348 0 0 3 0x14000 0x200 bored smr 95358 413619 0 0 3 0x14000 0x200 pgzero zerothread 5502 365596 0 0 3 0x14000 0x200 aiodoned aiodoned 45312 217189 0 0 3 0x14000 0x200 syncer update 95877 511522 0 0 3 0x14000 0x200 cleaner cleaner 44690 107712 0 0 3 0x14000 0x200 reaper reaper 65502 261354 0 0 3 0x14000 0x200 pgdaemon pagedaemon 7132 123627 0 0 3 0x14000 0x200 bored viomb 73427 247644 0 0 3 0x14000 0x40000200 acpi0 acpi0 80734 245794 0 0 3 0x14000 0x40000200 idle1 12871 355465 0 0 3 0x14000 0x200 bored softnet1 23648 456699 0 0 3 0x14000 0x200 bored softnet0 37018 152691 0 0 3 0x14000 0x200 smrbar systqmp 36305 69354 0 0 3 0x14000 0x200 bored systq 27466 441898 0 0 3 0x14000 0x200 tmoslp softclockmp 52781 125546 0 0 3 0x14000 0x40000200 tmoslp softclock 86355 323674 0 0 7 0x14000 0x40000200 idle0 * 1 290743 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 37018 (systqmp) thread 0xffff800045ffe298 (152691) shared rwlock systqmp r = 0 (0xffffffff83967cc8) #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 (290743) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a86480) #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 11081 12087K 12176K 166960K 12504 0 pcb 17 13K 13K 166960K 70 0 rtable 129 5K 7K 166960K 1750 0 pf 25 16K 23K 166960K 226 0 ifaddr 24 4K 8K 166960K 239 0 ifgroup 35 1K 2K 166960K 259 0 sysctl 1 1K 9K 166960K 5 0 counters 60 35K 37K 166960K 238 0 ioctlops 0 0K 4K 166960K 1661 0 iov 0 0K 12K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1392 88K 88K 166960K 2168 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 14 1K 1K 166960K 15 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 13 45K 93K 166960K 1044 0 sigio 0 0K 0K 166960K 2 0 proc 87 148K 196K 166960K 1885 0 subproc 63 3K 4K 166960K 522 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 81 0 in_multi 44 2K 6K 166960K 606 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 301 1341K 1341K 166960K 301 0 exec 0 0K 1K 166960K 1095 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 177 167K 188K 166960K 8603 0 UVM aobj 8 2K 4K 166960K 10 0 pinsyscall 38 76K 110K 166960K 3422 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 9 0K 2K 166960K 171 0 temp 36 9126K 9191K 166960K 23591 0 kqueue 13 20K 26K 166960K 55 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 145 0 142 1 0 1 1 0 8 0 rtentry 176 621 0 563 6 1 5 6 0 8 0 unpcb 144 237 0 220 6 0 6 6 0 8 5 syncache 336 6 0 6 2 2 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 69 0 63 2 1 1 2 0 8 0 arp 136 111 0 102 1 0 1 1 0 8 0 inpcb 328 536 0 525 7 5 2 7 0 8 0 nd6 152 162 0 153 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 58 0 51 1 0 1 1 0 8 0 ppxss 1192 35 0 35 2 2 0 1 0 8 0 pppxif 1584 33 0 33 1 1 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 8 0 7 2 1 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 pfstitem 24 45 0 9 1 0 1 1 0 8 0 pfstkey 128 46 0 10 2 0 2 2 0 8 0 pfstate 448 46 0 10 5 0 5 5 0 8 0 pfrule 1360 88 0 82 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2510 0 2225 32 3 29 29 0 8 4 art_table 40 2511 0 2225 5 0 5 5 0 8 0 art_node 32 620 0 559 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 72 12 0 0 1 0 1 1 0 8 0 shmpl 120 5 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1975 0 404 99 0 99 99 0 8 0 ffsino 296 1975 0 404 121 0 121 121 0 8 0 nchpl 144 2420 0 564 69 0 69 69 0 8 0 vnodes 216 2792 0 0 156 0 156 156 0 8 0 namei 1024 14756 0 14756 2 1 1 2 0 8 1 percpumem 16 135 0 89 1 0 1 1 0 8 0 vcpupl 3968 32 0 32 4 2 2 2 0 8 2 vmpool 848 2 0 2 2 1 1 1 0 8 1 kstatmem 264 129 0 112 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 8468 0 8468 11 10 1 8 1 8 1 plimitpl 152 110 0 94 1 0 1 1 0 8 0 sigapl 424 1277 0 1214 10 1 9 9 0 8 1 knotepl 120 570 0 0 18 0 18 18 0 8 0 kqueuepl 224 281 0 272 9 4 5 5 0 8 4 pipepl 344 300 0 273 4 0 4 4 0 8 0 fdescpl 528 1241 0 1214 3 0 3 3 0 8 0 filepl 160 5071 0 4877 22 4 18 19 0 8 8 lockfpl 104 191 0 189 2 1 1 2 0 8 0 lockfspl 48 92 0 90 1 0 1 1 0 8 0 sessionpl 144 78 0 69 1 0 1 1 0 8 0 pgrppl 48 139 0 123 1 0 1 1 0 8 0 ucredpl 104 535 0 522 1 0 1 1 0 8 0 zombiepl 144 1215 0 1214 1 0 1 1 0 8 0 processpl 1240 1277 0 1214 7 1 6 6 0 8 0 procpl 664 1701 0 1638 7 0 7 7 0 8 0 sockpl 752 963 0 932 23 11 12 17 0 8 8 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 127 0 0 16 0 16 16 0 8 0 mcl2k 2048 42 0 0 4 0 4 4 0 8 0 mextrefs 64 33 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 207 0 0 13 0 13 13 0 8 0 bufpl 272 5019 0 91 329 0 329 329 0 8 0 anonpl 32 7307 0 0 59 0 59 59 0 247 0 amapchunkpl 152 23237 0 22951 29 10 19 29 0 158 3 amappl16 200 2288 0 2278 17 8 9 14 0 8 8 amappl15 192 69 0 69 1 1 0 1 0 8 0 amappl14 184 982 0 978 1 0 1 1 0 8 0 amappl13 176 246 0 234 1 0 1 1 0 8 0 amappl12 168 1678 0 1654 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 1 0 1 0 8 0 amappl10 152 71 0 59 1 0 1 1 0 8 0 amappl9 144 289 0 289 1 1 0 1 0 8 0 amappl8 136 301 0 297 1 0 1 1 0 8 0 amappl7 128 238 0 226 1 0 1 1 0 8 0 amappl6 120 400 0 396 1 0 1 1 0 8 0 amappl5 112 338 0 327 1 0 1 1 0 8 0 amappl4 104 440 0 423 1 0 1 1 0 8 0 amappl3 96 4964 0 4888 4 0 4 4 0 8 1 amappl2 88 640 0 582 2 0 2 2 0 8 0 amappl1 80 17323 0 16739 17 2 15 16 0 8 0 amappl 88 7077 0 6974 5 1 4 5 0 92 0 uvmvnodes 80 108 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 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 9 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1241 0 1214 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1241 0 1214 1 0 1 1 0 8 0 vmmpekpl 168 11181 0 11127 4 0 4 4 0 8 1 vmmpepl 168 88419 0 86870 95 4 91 91 0 357 10 vmsppl 488 1240 0 1214 6 1 5 5 0 8 0 rwobjpl 80 27331 0 26359 28 2 26 26 0 8 2 pdppl 4096 2494 0 2432 168 100 68 86 0 8 6 pvpl 32 14070 0 0 116 2 114 114 0 265 0 pmappl 256 1242 0 1216 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 688 0 110 17 0 17 17 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83904ff0) 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(ffffffff83904ff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: 10 ddb{0}> trace x86_ipi_db(ffffffff83904ff0) 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(ffffffff83904ff0) at sched_idle+0x391 sys/kern/kern_sched.c:197 end trace frame: 0x0, count: -5 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(ffffffff83509136) 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,ffff80002a1ac240,ffff80002a1ac190) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac240) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac240) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9821ca0c30, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83509136) 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,ffff80002a1ac240,ffff80002a1ac190) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac240) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac240) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e9821ca0c30, count: -6