panic: init died (signal 0, exit 4) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 99223 70118 0 0x10000002 0x1 0 syz-executor *300702 1 0 0x2 0x2000 1K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83465948) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffff9f0,4,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffff9f0,ffff80002a1cc990,ffff80002a1cc8e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1cc990) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1cc990) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d52ccbbf210, 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 4) ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83465948) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffff9f0,4,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffff9f0,ffff80002a1cc990,ffff80002a1cc8e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1cc990) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1cc990) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d52ccbbf210, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1cc760 rbx 0xffff8000299bee07 rdx 0 rcx 0xffff8000fffff9f0 rax 0xffff8000299bdff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xed0910728e83498 r11 0x152ef69e7a023ac0 r12 0xffff8000299bec08 r13 0 r14 0 r15 0x1 rip 0xffffffff817bdcc5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1cc750 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (init) tid=300702 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=0xffffffff839be240,0xffff8000fffff768 process=0xffff8000ffffb9c0 user=0xffff80002a1c7000, vmspace=0xfffffd800b063b70 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 21835 261720 70118 0 2 0x2 syz-executor 13690 505509 0 0 3 0x14280 nfsidl nfsio 69080 373127 0 0 3 0x14280 nfsidl nfsio 15944 188646 0 0 3 0x14280 nfsidl nfsio 16440 183789 0 0 3 0x14280 nfsidl nfsio 6946 339890 0 0 3 0x14280 nfsidl nfsio 79855 218764 0 0 3 0x14280 nfsidl nfsio 2589 309985 0 0 3 0x14280 nfsidl nfsio 46757 365290 0 0 3 0x14280 nfsidl nfsio 59789 496054 0 0 3 0x14280 nfsidl nfsio 71240 311920 0 0 3 0x14280 nfsidl nfsio 76959 448674 0 0 3 0x14280 nfsidl nfsio 53327 55513 0 0 3 0x14280 nfsidl nfsio 36862 299871 0 0 3 0x14280 nfsidl nfsio 96304 455840 0 0 3 0x14280 nfsidl nfsio 33711 445364 0 0 3 0x14280 nfsidl nfsio 44087 113542 0 0 3 0x14280 nfsidl nfsio 54386 238566 0 0 3 0x14280 nfsidl nfsio 74209 13596 0 0 3 0x14280 nfsidl nfsio 49487 214430 0 0 3 0x14280 nfsidl nfsio 28297 40226 0 0 3 0x14280 nfsidl nfsio 70118 99223 52173 0 7 0x10000003 syz-executor 52173 67326 51151 0 3 0x10008a sigsusp ksh 51151 521256 90748 0 3 0x98 kqread sshd-session 90748 189524 89328 0 3 0x92 kqread sshd-session 60526 317850 1 0 3 0x100083 ttyopn getty 89328 413215 1 0 3 0x88 kqread sshd 99786 502135 41452 74 3 0x1100092 bpf pflogd 41452 228479 1 0 3 0x80 sbwait pflogd 76921 510878 59219 73 3 0x1100090 kqread syslogd 59219 45363 1 0 3 0x100082 sbwait syslogd 29190 112712 1 0 3 0x100080 kqread resolvd 30226 217647 69764 77 3 0x100092 kqread dhcpleased 86988 325213 69764 77 3 0x100092 kqread dhcpleased 69764 259461 1 0 3 0x80 kqread dhcpleased 28636 17154 0 0 3 0x14200 bored smr 10415 257632 0 0 3 0x14200 pgzero zerothread 55252 6286 0 0 3 0x14200 aiodoned aiodoned 73295 146752 0 0 3 0x14200 syncer update 18192 463174 0 0 3 0x14200 cleaner cleaner 5688 107734 0 0 3 0x14200 reaper reaper 42734 290611 0 0 3 0x14200 pgdaemon pagedaemon 97082 127176 0 0 3 0x14200 bored viomb 64435 233267 0 0 3 0x40014200 acpi0 acpi0 19667 87278 0 0 3 0x40014200 idle1 23679 350269 0 0 3 0x14200 bored softnet1 59527 52143 0 0 3 0x14200 bored softnet0 41302 228604 0 0 3 0x14200 bored systqmp 27315 518401 0 0 3 0x14200 bored systq 79310 229989 0 0 3 0x14200 tmoslp softclockmp 66071 313820 0 0 3 0x40014200 tmoslp softclock 1691 512935 0 0 3 0x40014200 idle0 * 1 300702 0 0 7 0x2002 init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 1 (init) thread 0xffff8000fffff9f0 (300702) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a48bc0) #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:783 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11065 12088K 13061K 166960K 13081 0 pcb 17 14K 15K 166960K 155 0 rtable 61 4K 8K 166960K 461 0 pf 29 17K 22K 166960K 98 0 ifaddr 14 1K 7K 166960K 73 0 ifgroup 35 1K 3K 166960K 112 0 sysctl 3 1K 9K 166960K 7 0 counters 60 35K 38K 166960K 120 0 ioctlops 0 0K 4K 166960K 1620 0 iov 0 0K 16K 166960K 96 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1450 91K 91K 166960K 2066 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 24K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 31 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 3 2K 93K 166960K 776 0 sigio 0 0K 0K 166960K 12 0 proc 72 115K 180K 166960K 639 0 subproc 0 0K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 98 0 in_multi 11 0K 7K 166960K 140 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 145 652K 652K 166960K 145 0 exec 0 0K 1K 166960K 508 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 119 83K 185K 166960K 8974 0 UVM aobj 17 6K 6K 166960K 21 0 pinsyscall 28 56K 106K 166960K 2097 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 21 0 NDP 7 0K 1K 166960K 47 0 temp 18 9075K 9153K 166960K 40946 0 kqueue 13 20K 31K 166960K 137 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 67 0 64 1 0 1 1 0 8 0 rtentry 176 136 0 124 6 0 6 6 0 8 4 unpcb 144 383 0 366 5 1 4 4 0 8 3 syncache 336 9 0 8 2 1 1 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 220 0 214 8 1 7 7 0 8 6 arp 136 21 0 19 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 6 0 3 1 0 1 1 0 8 0 inpcb 328 677 0 668 10 2 8 8 0 8 6 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 152 30 0 30 1 0 1 1 0 8 1 pkpcb 40 4 0 4 2 1 1 1 0 8 1 kcovpl 48 9 0 9 1 0 1 1 0 8 1 ppxss 1192 15 0 15 2 1 1 1 0 8 1 pppxif 1576 4 0 4 1 1 0 1 0 8 0 pffrent 40 1 0 1 1 1 0 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 pfrktable 1344 4 0 2 1 0 1 1 0 8 0 pfsrclim 320 2 0 2 1 1 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 27 0 14 1 0 1 1 0 8 0 pfstkey 128 27 0 12 1 0 1 1 0 8 0 pfstate 448 24 0 13 3 0 3 3 0 8 0 pfrule 1360 25 0 18 2 1 1 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 611 0 525 29 10 19 29 0 8 10 art_table 40 612 0 525 5 0 5 5 0 8 3 art_node 32 136 0 126 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 18 0 4 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2690 0 1228 93 0 93 93 0 8 0 ffsino 296 2746 0 1284 114 0 114 114 0 8 0 nchpl 144 3710 0 2006 64 0 64 64 0 8 0 rtmask 32 2 0 2 2 1 1 1 0 8 1 vnodes 216 3267 0 0 182 0 182 182 0 8 0 namei 1024 12276 0 12276 2 1 1 2 0 8 1 percpumem 16 75 0 30 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 62 0 44 3 0 3 3 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 13675 0 13675 11 3 8 8 1 8 8 plimitpl 152 167 0 151 1 0 1 1 0 8 0 sigapl 424 1119 0 1059 8 0 8 8 0 8 0 knotepl 120 313 0 0 10 0 10 10 0 8 0 kqueuepl 224 196 0 187 2 1 1 2 0 8 0 pipepl 344 331 0 304 4 0 4 4 0 8 0 fdescpl 528 1083 0 1066 3 0 3 3 0 8 1 filepl 160 6186 0 6079 17 4 13 15 0 8 7 lockfpl 104 249 0 247 1 0 1 1 0 8 0 lockfspl 48 102 0 100 1 0 1 1 0 8 0 sessionpl 144 43 0 34 1 0 1 1 0 8 0 pgrppl 48 108 0 91 1 0 1 1 0 8 0 ucredpl 104 1066 0 1052 1 0 1 1 0 8 0 zombiepl 144 1066 0 1059 1 0 1 1 0 8 0 processpl 1232 1119 0 1059 6 0 6 6 0 8 0 procpl 664 2083 0 2023 8 0 8 8 0 8 0 sosppl 176 3 0 3 2 2 0 1 0 8 0 sockpl 752 1141 0 1112 14 3 11 11 0 8 7 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 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 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 28 0 0 3 0 3 3 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 262 0 0 16 0 16 16 0 8 0 bufpl 280 5225 0 107 366 0 366 366 0 8 0 anonpl 32 7936 0 0 65 1 64 64 0 246 0 amapchunkpl 152 30693 0 30522 39 6 33 33 0 158 23 amappl16 200 2729 0 2721 18 8 10 15 0 8 8 amappl15 192 4 0 4 2 1 1 1 0 8 1 amappl14 184 452 0 451 1 0 1 1 0 8 0 amappl13 176 128 0 116 1 0 1 1 0 8 0 amappl12 168 1394 0 1379 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 66 0 52 1 0 1 1 0 8 0 amappl9 144 265 0 265 1 1 0 1 0 8 0 amappl8 136 109 0 105 1 0 1 1 0 8 0 amappl7 128 153 0 140 1 0 1 1 0 8 0 amappl6 120 175 0 173 1 0 1 1 0 8 0 amappl5 112 106 0 95 1 0 1 1 0 8 0 amappl4 104 311 0 291 1 0 1 1 0 8 0 amappl3 96 5691 0 5648 4 0 4 4 0 8 0 amappl2 88 574 0 512 2 0 2 2 0 8 0 amappl1 80 13176 0 12644 16 2 14 16 0 8 0 amappl 88 8041 0 7984 5 0 5 5 0 92 1 uvmvnodes 80 127 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 3 3 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 83 0 82 1 0 1 1 0 8 0 aobjpl 72 20 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1083 0 1066 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1083 0 1066 1 0 1 1 0 8 0 vmmpekpl 168 10917 0 10885 4 0 4 4 0 8 1 vmmpepl 168 76688 0 75453 102 5 97 99 0 357 21 vmsppl 488 1082 0 1066 6 1 5 5 0 8 2 rwobjpl 80 22520 0 21676 30 3 27 27 0 8 2 pdppl 4096 2173 0 2132 117 66 51 85 0 8 10 pvpl 32 16246 0 0 131 0 131 131 0 265 0 pmappl 256 1082 0 1066 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 307 0 85 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83937ff0) 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 __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsyscall(ffff80002a242540,7a,10,ffff80002a26ea10) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a242540,7a,10,ffff80002a26ea10) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a26ea10) at syscall+0x305 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a26ea10) at syscall+0x305 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d8e040f14d0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83937ff0) 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 __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a483c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsyscall(ffff80002a242540,7a,10,ffff80002a26ea10) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a242540,7a,10,ffff80002a26ea10) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a26ea10) at syscall+0x305 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a26ea10) at syscall+0x305 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d8e040f14d0, 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(ffffffff83465948) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffff9f0,4,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffff9f0,ffff80002a1cc990,ffff80002a1cc8e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1cc990) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1cc990) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d52ccbbf210, count: 9 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83465948) at panic+0x1e5 sys/kern/subr_prf.c:198 exit1(ffff8000fffff9f0,4,0,1) at exit1+0x128 sys/kern/kern_exit.c:135 sys_exit(ffff8000fffff9f0,ffff80002a1cc990,ffff80002a1cc8e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1cc990) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1cc990) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d52ccbbf210, count: -6