panic: init died (signal 0, exit 8) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 329348 73932 0 0x14000 0x200 0 smr *372181 1 0 0x2 0x2000 1 init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff835060cf) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,8,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,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: 0x7e0570b7aee0, 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 8) 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(ffffffff835060cf) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,8,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,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: 0x7e0570b7aee0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a19bd70 rbx 0xffff80002998ee0f rdx 0 rcx 0xffff800045fff9f0 rax 0xffff80002998dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x101dbc11a4e2ab r11 0xb3c564f5722675e7 r12 0xffff80002998ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff82c99b15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a19bd60 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=372181 pid=1 tcnt=1 stat=onproc flags process=2 proc=2000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffffffff83a8cdc8,0xffff800045fff768 process=0xffff800045ffba20 user=0xffff80002a197000, vmspace=0xfffff4000b1f7d58 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 71392 102857 48054 0 2 0x100000 0 sh 57288 237601 17594 0 2 0x10100002 0 sh 48054 270879 26191 0 3 0x100002 0x88 sigsusp sh 88735 353343 54740 0 2 0x100000 0 sh 54740 331031 23195 0 3 0x100002 0x88 sigsusp sh 96051 361037 97991 0 2 0 0 syz-executor 96051 513031 97991 0 2 0 0x4000000 syz-executor 96051 95709 97991 0 3 0 0x4000080 fsleep syz-executor 26191 320949 86512 0 3 0x2 0x80 wait syz-executor 17594 431974 86512 0 3 0x2 0x80 wait syz-executor 13558 172747 60186 0 2 0x2 0 ifconfig 60186 375482 25906 0 3 0x100002 0x88 sigsusp sh 25906 217947 86512 0 3 0x2 0x80 wait syz-executor 23195 361354 86512 0 3 0x2 0x80 wait syz-executor 41419 308811 86512 0 3 0x2 0x80 piperd syz-executor 97991 420251 86512 0 2 0x2 0xc80 syz-executor 53945 63358 0 0 3 0x14000 0x280 nfsidl nfsio 42542 369376 0 0 3 0x14000 0x280 nfsidl nfsio 20349 233073 0 0 3 0x14000 0x280 nfsidl nfsio 92182 290657 0 0 3 0x14000 0x280 nfsidl nfsio 8287 340182 0 0 3 0x14000 0x280 nfsidl nfsio 53162 318515 0 0 3 0x14000 0x280 nfsidl nfsio 88990 462261 0 0 3 0x14000 0x280 nfsidl nfsio 1880 218341 0 0 3 0x14000 0x280 nfsidl nfsio 45033 434480 0 0 3 0x14000 0x280 nfsidl nfsio 95090 64341 0 0 3 0x14000 0x280 nfsidl nfsio 29732 234159 0 0 3 0x14000 0x280 nfsidl nfsio 72232 94176 0 0 3 0x14000 0x280 nfsidl nfsio 39070 44386 0 0 3 0x14000 0x280 nfsidl nfsio 85825 380068 0 0 3 0x14000 0x280 nfsidl nfsio 33513 241985 0 0 3 0x14000 0x280 nfsidl nfsio 90498 417089 0 0 3 0x14000 0x280 nfsidl nfsio 93808 209253 0 0 3 0x14000 0x280 nfsidl nfsio 53186 168712 0 0 3 0x14000 0x280 nfsidl nfsio 30144 424008 86512 0 3 0x2 0x80 piperd syz-executor 92865 168280 0 0 3 0x14000 0x280 nfsidl nfsio 77282 303104 0 0 3 0x14000 0x280 nfsidl nfsio 86512 220426 1 0 2 0x10000002 0 syz-executor 15378 288624 61249 0 3 0x10 0x88 kqread sshd-session 61249 474533 66509 0 3 0x12 0x80 kqread sshd-session 79869 275088 1 0 3 0x100003 0x80 ttyin getty 66509 255065 1 0 3 0 0x88 kqread sshd 21029 137695 96872 74 3 0x1100012 0x80 bpf pflogd 96872 278522 1 0 3 0 0x80 sbwait pflogd 45590 246410 71499 73 3 0x1100010 0x80 kqread syslogd 71499 409514 1 0 3 0x100002 0x80 sbwait syslogd-parent 54825 60319 1 0 3 0x100000 0x80 kqread resolvd 81506 33 25592 77 3 0x100012 0x80 kqread dhcpleased 61602 70317 25592 77 3 0x100012 0x80 kqread dhcpleased 25592 364729 1 0 3 0 0x80 kqread dhcpleased 73932 329348 0 0 7 0x14000 0x200 smr 87301 206126 0 0 2 0x14000 0x200 zerothread 98274 342449 0 0 3 0x14000 0x200 aiodoned aiodoned 10340 513123 0 0 3 0x14000 0x200 syncer update 99789 392795 0 0 3 0x14000 0x200 cleaner cleaner 39234 312180 0 0 3 0x14000 0x200 reaper reaper 93327 40508 0 0 3 0x14000 0x200 pgdaemon pagedaemon 21993 163729 0 0 3 0x14000 0x200 bored viomb 9908 193845 0 0 3 0x14000 0x40000200 acpi0 acpi0 26993 465971 0 0 3 0x14000 0x40000200 idle1 15375 451843 0 0 3 0x14000 0x200 bored softnet1 48574 290878 0 0 2 0x14000 0x200 softnet0 73325 462703 0 0 2 0x14000 0x200 systqmp 40489 258429 0 0 3 0x14000 0x200 bored systq 83401 51037 0 0 3 0x14000 0x200 tmoslp softclockmp 6178 218271 0 0 3 0x14000 0x40000200 tmoslp softclock 90069 169288 0 0 3 0x14000 0x40000200 idle0 * 1 372181 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 73325 (systqmp) thread 0xffff800045ffe7c8 (462703) shared rwlock systqmp r = 0 (0xffffffff839952a8) #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 0xffff800045fff9f0 (372181) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b1e1c0) #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 12096K 12248K 166960K 12812 0 pcb 17 12K 12K 166960K 57 0 rtable 130 6K 9K 166960K 2811 0 pf 27 16K 19K 166960K 288 0 ifaddr 25 4K 7K 166960K 379 0 ifgroup 40 1K 2K 166960K 396 0 sysctl 3 1K 9K 166960K 8 0 counters 64 36K 37K 166960K 250 0 ioctlops 0 0K 4K 166960K 1659 0 iov 0 0K 1K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 2464 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 18 1K 1K 166960K 18 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12472 0 file desc 17 61K 93K 166960K 1586 0 sigio 0 0K 0K 166960K 1 0 proc 80 131K 180K 166960K 2847 0 subproc 63 3K 4K 166960K 828 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 17 0 in_multi 44 2K 6K 166960K 983 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 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 1469 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 186 153K 188K 166960K 11831 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 41 82K 103K 166960K 4852 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 11 0K 2K 166960K 275 0 temp 32 9126K 9190K 166960K 26344 0 kqueue 13 20K 24K 166960K 70 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 221 0 218 1 0 1 1 0 8 0 rtentry 176 996 0 941 6 1 5 6 0 8 0 unpcb 144 201 0 184 4 3 1 4 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 117 0 113 7 6 1 7 0 8 0 arp 136 178 0 170 1 0 1 1 0 8 0 inpcb 328 618 0 610 7 6 1 7 0 8 0 ip6q 80 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 152 265 0 256 1 0 1 1 0 8 0 kcovpl 48 92 0 85 1 0 1 1 0 8 0 ppxss 1192 7 0 7 2 1 1 1 0 8 1 pppxif 1576 1 0 1 1 0 1 1 0 8 1 pffrag 232 3 0 2 1 0 1 1 0 482 0 pffrnode 88 3 0 2 1 0 1 1 0 8 0 pffrent 40 7 0 5 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 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 58 0 29 1 0 1 1 0 8 0 pfstkey 128 58 0 29 2 0 2 2 0 8 0 pfstate 448 58 0 29 6 2 4 5 0 8 0 pfrule 1360 21 0 15 2 0 2 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4034 0 3749 37 10 27 32 0 8 6 art_table 40 4035 0 3749 6 1 5 6 0 8 0 art_node 32 995 0 925 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 16 0 0 1 0 1 1 0 8 0 shmpl 120 3 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 2114 0 441 105 0 105 105 0 8 0 ffsino 296 2114 0 441 129 0 129 129 0 8 0 nchpl 144 2616 0 558 77 0 77 77 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3220 0 0 179 0 179 179 0 8 0 namei 1024 18284 0 18284 3 2 1 2 0 8 1 percpumem 16 141 0 93 1 0 1 1 0 8 0 kstatmem 264 201 0 180 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 9304 0 9304 10 9 1 8 1 8 1 plimitpl 152 130 0 114 1 0 1 1 0 8 0 sigapl 424 1751 0 1683 10 2 8 9 0 8 0 knotepl 120 542 0 0 16 0 16 16 0 8 0 kqueuepl 224 95 0 86 1 0 1 1 0 8 0 pipepl 344 395 0 368 4 0 4 4 0 8 0 fdescpl 528 1715 0 1685 3 0 3 3 0 8 0 filepl 160 5299 0 5103 15 5 10 14 0 8 0 lockfpl 104 175 0 173 1 0 1 1 0 8 0 lockfspl 48 58 0 56 1 0 1 1 0 8 0 sessionpl 144 177 0 168 1 0 1 1 0 8 0 pgrppl 48 270 0 253 1 0 1 1 0 8 0 ucredpl 104 330 0 317 1 0 1 1 0 8 0 zombiepl 144 1685 0 1683 1 0 1 1 0 8 0 processpl 1240 1751 0 1683 6 0 6 6 0 8 0 procpl 664 2337 0 2267 9 1 8 8 0 8 1 sosppl 176 3 0 3 1 1 0 1 0 8 0 sockpl 752 1046 0 1018 11 7 4 10 0 8 1 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 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 108 0 0 14 0 14 14 0 8 0 mcl2k 2048 33 0 0 5 0 5 5 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 291 0 0 19 0 19 19 0 8 0 bufpl 272 3428 0 88 223 0 223 223 0 8 0 anonpl 32 6972 0 0 56 0 56 56 0 247 0 amapchunkpl 152 32270 0 31951 39 20 19 33 0 158 5 amappl16 200 1607 0 1597 5 3 2 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 1394 0 1390 1 0 1 1 0 8 0 amappl13 176 280 0 268 1 0 1 1 0 8 0 amappl12 168 2286 0 2260 2 0 2 2 0 8 0 amappl11 160 13 0 13 2 2 0 1 0 8 0 amappl10 152 63 0 50 1 0 1 1 0 8 0 amappl9 144 282 0 282 1 1 0 1 0 8 0 amappl8 136 447 0 444 1 0 1 1 0 8 0 amappl7 128 332 0 320 1 0 1 1 0 8 0 amappl6 120 604 0 599 1 0 1 1 0 8 0 amappl5 112 463 0 453 1 0 1 1 0 8 0 amappl4 104 536 0 517 1 0 1 1 0 8 0 amappl3 96 6730 0 6645 4 0 4 4 0 8 0 amappl2 88 796 0 737 2 0 2 2 0 8 0 amappl1 80 21728 0 21132 15 1 14 15 0 8 1 amappl 88 9702 0 9589 6 2 4 5 0 92 0 uvmvnodes 80 105 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 1 1 0 1 1 0 8 0 uaddrrnd 24 1715 0 1685 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1715 0 1685 1 0 1 1 0 8 0 vmmpekpl 168 14461 0 14417 3 0 3 3 0 8 0 vmmpepl 168 117886 0 116227 88 5 83 87 0 357 7 vmsppl 488 1714 0 1685 7 2 5 5 0 8 1 rwobjpl 80 34191 0 33204 24 2 22 24 0 8 0 pdppl 4096 3438 0 3370 176 106 70 86 0 8 2 pvpl 32 11762 0 0 95 0 95 95 0 265 0 pmappl 256 1714 0 1685 4 1 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 611 0 130 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839e9ff0) 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 __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x2e kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x2e sys/dev/kcov.c:230 __mp_acquire_count(ffffffff83b1d9c0,0) at __mp_acquire_count+0x3a sys/kern/kern_lock.c:229 msleep_nsec(ffffffff83a8cdb0,ffffffff839788a0,4,ffffffff83557cde,ffffffffffffffff) at msleep_nsec+0x1f8 sys/kern/kern_synch.c:-1 smr_thread(ffff800045ffc538) at smr_thread+0x17b sys/kern/kern_smr.c:98 end trace frame: 0x0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff839e9ff0) 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 __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x2e kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_const_cmp4(0,0) at __sanitizer_cov_trace_const_cmp4+0x2e sys/dev/kcov.c:230 __mp_acquire_count(ffffffff83b1d9c0,0) at __mp_acquire_count+0x3a sys/kern/kern_lock.c:229 msleep_nsec(ffffffff83a8cdb0,ffffffff839788a0,4,ffffffff83557cde,ffffffffffffffff) at msleep_nsec+0x1f8 sys/kern/kern_synch.c:-1 smr_thread(ffff800045ffc538) at smr_thread+0x17b sys/kern/kern_smr.c:98 end trace frame: 0x0, count: -7 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(ffffffff835060cf) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,8,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,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: 0x7e0570b7aee0, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff835060cf) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff800045fff9f0,8,0,1) at exit1+0x133 sys/kern/kern_exit.c:135 sys_exit(ffff800045fff9f0,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: 0x7e0570b7aee0, count: -6