panic: init died (signal 0, exit 6) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *314473 1 0 0x2 0x2000 0 init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8349a69e) at panic+0x1cf sys/kern/subr_prf.c:198 exit1(ffff80002a6edc88,6,0,1) at exit1+0x127 sys/kern/kern_exit.c:135 sys_exit(ffff80002a6edc88,ffff80002a6eba80,ffff80002a6eb9d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a6eba80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a6eba80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799097208240, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: init died (signal 0, exit 6) ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8349a69e) at panic+0x1cf sys/kern/subr_prf.c:198 exit1(ffff80002a6edc88,6,0,1) at exit1+0x127 sys/kern/kern_exit.c:135 sys_exit(ffff80002a6edc88,ffff80002a6eba80,ffff80002a6eb9d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a6eba80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a6eba80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799097208240, count: -6 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a6eb870 rbx 0xffff8000fffffa80 rdx 0 rcx 0 rax 0xffff80002a6edc88 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa59012fe478c8cd0 r11 0x25cd794168eb7be9 r12 0 r13 0 r14 0 r15 0x1 rip 0xffffffff81677df5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a6eb860 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (init) tid=314473 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=0xffffffff83a986b8,0xffff80002a6ed768 process=0xffff8000fffffa80 user=0xffff80002a6e6000, vmspace=0xfffff8007ec678a0 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 53938 26744 18295 0 3 0x82 piperd syz-executor 74148 280831 0 0 3 0x14200 acct acct 78686 439117 0 0 3 0x14280 nfsidl nfsio 25362 506433 0 0 3 0x14280 nfsidl nfsio 74486 24331 0 0 3 0x14280 nfsidl nfsio 96307 486574 0 0 3 0x14280 nfsidl nfsio 71062 262509 0 0 3 0x14280 nfsidl nfsio 30102 27093 0 0 3 0x14280 nfsidl nfsio 53925 208871 0 0 3 0x14280 nfsidl nfsio 98302 124864 0 0 3 0x14280 nfsidl nfsio 56333 420964 0 0 3 0x14280 nfsidl nfsio 74078 442536 0 0 3 0x14280 nfsidl nfsio 67226 405179 0 0 3 0x14280 nfsidl nfsio 23919 358154 0 0 3 0x14280 nfsidl nfsio 91572 327741 0 0 3 0x14280 nfsidl nfsio 69101 262359 0 0 3 0x14280 nfsidl nfsio 15995 125921 0 0 3 0x14280 nfsidl nfsio 6903 208266 0 0 3 0x14280 nfsidl nfsio 49435 36464 0 0 3 0x14280 nfsidl nfsio 64221 26392 0 0 3 0x14280 nfsidl nfsio 87195 466377 0 0 3 0x14280 nfsidl nfsio 98164 106116 0 0 3 0x14280 nfsidl nfsio 43591 30073 1 0 3 0x100083 ttyin getty 97967 277499 18295 0 3 0x82 piperd syz-executor 65341 198744 18295 0 3 0x82 piperd syz-executor 86577 278268 18295 0 3 0x82 piperd syz-executor 28237 247447 18295 0 3 0x82 piperd syz-executor 18298 3668 18295 0 3 0x82 piperd syz-executor 76598 59829 18295 0 3 0x82 piperd syz-executor 18295 85958 1 0 3 0x82 nanoslp syz-executor 79631 445964 82237 0 3 0x98 kqread sshd-session 82237 11702 11531 0 3 0x92 kqread sshd-session 11531 140524 1 0 3 0x88 kqread sshd 43413 116050 29473 73 3 0x1100090 kqread syslogd 29473 270636 1 0 3 0x100082 sbwait syslogd 51684 182131 1 0 3 0x100080 kqread resolvd 37338 496334 15721 77 3 0x100092 kqread dhcpleased 44090 440630 15721 77 3 0x100092 kqread dhcpleased 15721 159371 1 0 3 0x80 kqread dhcpleased 6673 349271 0 0 3 0x14200 bored smr 47436 119110 0 0 3 0x14200 pgzero zerothread 83801 385643 0 0 3 0x14200 aiodoned aiodoned 30962 173587 0 0 3 0x14200 syncer update 49667 463608 0 0 3 0x14200 cleaner cleaner 6364 245666 0 0 3 0x14200 reaper reaper 55655 244648 0 0 3 0x14200 pgdaemon pagedaemon 79030 518901 0 0 3 0x14200 bored viomb 73028 49671 0 0 3 0x40014200 acpi0 acpi0 39397 377337 0 0 3 0x14200 bored softnet0 27473 425049 0 0 3 0x14200 bored systqmp 86346 482021 0 0 3 0x14200 bored systq 66032 137102 0 0 3 0x40014200 tmoslp softclock 93196 39003 0 0 3 0x40014200 idle0 * 1 314473 0 0 7 0x2002 init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11032 12101K 12480K 166960K 13595 0 pcb 17 16K 17K 166960K 261 0 rtable 179 7K 8K 166960K 1291 0 pf 28 12K 16K 166960K 143 0 ifaddr 32 5K 8K 166960K 188 0 ifgroup 43 1K 2K 166960K 227 0 sysctl 4 1K 9K 166960K 13 0 counters 32 17K 18K 166960K 93 0 ioctlops 0 0K 4K 166960K 332 0 iov 0 0K 16K 166960K 33 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1412 89K 89K 166960K 2517 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 22 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 9 29K 89K 166960K 1084 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 83K 166960K 1394 0 subproc 63 3K 4K 166960K 333 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 117 0 in_multi 66 4K 7K 166960K 426 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 857 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 149 132K 168K 166960K 9591 0 UVM aobj 14 2K 2K 166960K 14 0 pinsyscall 29 58K 92K 166960K 2945 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 10 0K 2K 166960K 136 0 temp 76 9115K 9131K 166960K 16583 0 kqueue 13 20K 30K 166960K 115 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 180 0 177 3 0 3 3 0 8 2 rtentry 136 437 0 369 4 0 4 4 0 8 0 unpcb 144 472 0 457 4 0 4 4 0 8 3 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpcb 736 255 0 251 7 0 7 7 0 8 6 arp 96 76 0 64 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 328 907 0 900 7 0 7 7 0 8 6 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 112 115 0 99 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 37 0 30 1 0 1 1 0 8 0 ppxss 1072 25 0 25 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1360 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1832 0 1517 29 0 29 29 0 8 6 art_table 40 1833 0 1517 5 0 5 5 0 8 0 art_node 32 437 0 376 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 17 0 7 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2787 0 1268 96 0 96 96 0 8 0 ffsino 256 2787 0 1268 96 0 96 96 0 8 0 nchpl 144 3715 0 1943 66 0 66 66 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 3607 0 0 201 0 201 201 0 8 0 namei 1024 15243 0 15243 1 0 1 1 0 8 1 kstatmem 264 125 0 104 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 11401 0 11401 8 0 8 8 1 8 8 plimitpl 152 269 0 255 1 0 1 1 0 8 0 sigapl 424 1344 0 1290 8 0 8 8 0 8 0 knotepl 120 23591 0 23544 11 1 10 11 0 8 7 kqueuepl 184 157 0 148 1 0 1 1 0 8 0 pipepl 304 246 0 219 3 0 3 3 0 8 0 fdescpl 448 1310 0 1290 5 0 5 5 0 8 1 filepl 120 7202 0 7012 14 0 14 14 0 8 7 lockfpl 104 393 0 391 2 0 2 2 0 8 1 lockfspl 48 92 0 90 1 0 1 1 0 8 0 sessionpl 144 77 0 69 1 0 1 1 0 8 0 pgrppl 48 126 0 111 1 0 1 1 0 8 0 ucredpl 104 1377 0 1366 1 0 1 1 0 8 0 zombiepl 144 1290 0 1290 1 0 1 1 0 8 1 processpl 1152 1344 0 1290 5 0 5 5 0 8 0 procpl 664 2087 0 2033 7 0 7 7 0 8 1 sockpl 552 1583 0 1558 10 0 10 10 0 8 8 mcl64k 65536 61 0 61 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 1 0 1 1 0 8 1 mcl4k 4096 3232 0 3173 15 0 15 15 0 8 7 mcl2k 2048 1157 0 1157 3 0 3 3 0 8 3 mtagpl 96 13 0 12 1 0 1 1 0 8 0 mbufpl 256 12595 0 12470 18 0 18 18 0 8 7 bufpl 272 4491 0 108 293 0 293 293 0 8 0 anonpl 24 188831 0 186305 57 0 57 57 0 186 33 amapchunkpl 152 30026 0 29787 28 0 28 28 0 158 14 amappl16 200 2937 0 2919 18 8 10 14 0 8 8 amappl15 192 2 0 2 1 0 1 1 0 8 1 amappl14 184 763 0 763 1 0 1 1 0 8 1 amappl13 176 172 0 162 1 0 1 1 0 8 0 amappl12 168 1703 0 1684 2 0 2 2 0 8 0 amappl11 160 8 0 8 1 0 1 1 0 8 1 amappl10 152 57 0 47 1 0 1 1 0 8 0 amappl9 144 277 0 276 1 0 1 1 0 8 0 amappl8 136 211 0 210 1 0 1 1 0 8 0 amappl7 128 204 0 192 1 0 1 1 0 8 0 amappl6 120 500 0 499 1 0 1 1 0 8 0 amappl5 112 93 0 85 1 0 1 1 0 8 0 amappl4 104 364 0 349 1 0 1 1 0 8 0 amappl3 96 5859 0 5803 4 0 4 4 0 8 1 amappl2 88 768 0 713 2 0 2 2 0 8 0 amappl1 80 16063 0 15552 13 0 13 13 0 8 1 amappl 88 8320 0 8232 4 0 4 4 0 92 0 uvmvnodes 80 111 0 0 3 0 3 3 0 8 0 dma32768 32768 33 0 33 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1310 0 1290 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1310 0 1290 1 0 1 1 0 8 0 vmmpekpl 168 11328 0 11286 3 0 3 3 0 8 0 vmmpepl 168 89924 0 88597 91 0 91 91 0 357 16 vmsppl 368 1309 0 1290 4 0 4 4 0 8 1 rwobjpl 40 26399 0 25541 13 0 13 13 0 8 1 pdppl 4096 2626 0 2580 120 60 60 78 0 8 14 pvpl 32 535560 0 529128 131 0 131 131 0 265 52 pmappl 216 1309 0 1290 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 699 0 60 19 0 19 19 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8349a69e) at panic+0x1cf sys/kern/subr_prf.c:198 exit1(ffff80002a6edc88,6,0,1) at exit1+0x127 sys/kern/kern_exit.c:135 sys_exit(ffff80002a6edc88,ffff80002a6eba80,ffff80002a6eb9d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a6eba80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a6eba80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799097208240, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8349a69e) at panic+0x1cf sys/kern/subr_prf.c:198 exit1(ffff80002a6edc88,6,0,1) at exit1+0x127 sys/kern/kern_exit.c:135 sys_exit(ffff80002a6edc88,ffff80002a6eba80,ffff80002a6eb9d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a6eba80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a6eba80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x799097208240, count: -6