panic: init died (signal 0, exit 10) Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *126446 1 0 0x2 0x2000 0K init db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834ce14d) 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,ffff80002a1ac130,ffff80002a1ac080) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac130) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac130) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x700fc2dc5080, 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(ffffffff834ce14d) 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,ffff80002a1ac130,ffff80002a1ac080) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac130) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac130) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x700fc2dc5080, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1abf00 rbx 0xffffffff83968e07 cpu_info_full_primary+0x2e07 rdx 0 rcx 0xffff800045fffc88 rax 0xffffffff83967ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xaa314b038c218948 r11 0x27d0683ba0d8d515 r12 0xffffffff83968c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff81ba70f5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a1abef0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (init) tid=126446 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=0xffffffff83a6fcd0,0xffff800045ffe7d8 process=0xffff800045ffab50 user=0xffff80002a1a7000, vmspace=0xfffff5800b1f7988 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 40237 385295 4062 0 2 0 0 syz-executor 40237 486314 4062 0 3 0 0x4000080 ttyin syz-executor 54042 295354 65939 0 2 0 0 syz-executor 54042 307669 65939 0 3 0 0x4000080 fsleep syz-executor 2949 341656 15495 0 2 0x100002 0 sh 54345 416392 75526 0 2 0 0 syz-executor 54345 464470 75526 0 3 0 0x4000080 fsleep syz-executor 18829 157478 12674 0 2 0 0 syz-executor 18829 276928 12674 0 2 0 0x4000000 syz-executor 42628 448820 94682 0 2 0 0 syz-executor 42628 514534 94682 0 3 0 0x4000080 fifor syz-executor 52695 99562 49543 0 2 0 0 syz-executor 52695 186707 49543 0 3 0 0x4000080 fsleep syz-executor 89382 179633 60202 0 2 0 0 syz-executor 89382 511732 60202 0 3 0 0x4000080 fsleep syz-executor 15495 67430 67063 0 3 0x2 0x80 wait syz-executor 4062 47190 67063 0 2 0x2 0xc80 syz-executor 33546 487621 0 0 3 0x14000 0x280 nfsidl nfsio 26560 432073 0 0 3 0x14000 0x280 nfsidl nfsio 68175 112326 0 0 3 0x14000 0x280 nfsidl nfsio 28395 338977 0 0 3 0x14000 0x280 nfsidl nfsio 2176 225397 0 0 3 0x14000 0x280 nfsidl nfsio 15010 61105 0 0 3 0x14000 0x280 nfsidl nfsio 188 315321 0 0 3 0x14000 0x280 nfsidl nfsio 32400 486990 0 0 3 0x14000 0x280 nfsidl nfsio 72213 39878 0 0 3 0x14000 0x280 nfsidl nfsio 81777 209823 0 0 3 0x14000 0x280 nfsidl nfsio 22069 169981 0 0 3 0x14000 0x280 nfsidl nfsio 12328 144094 0 0 3 0x14000 0x280 nfsidl nfsio 3961 434615 0 0 3 0x14000 0x280 nfsidl nfsio 73024 502738 0 0 3 0x14000 0x280 nfsidl nfsio 66150 307721 0 0 3 0x14000 0x280 nfsidl nfsio 81281 79909 0 0 3 0x14000 0x280 nfsidl nfsio 8540 131876 0 0 3 0x14000 0x280 nfsidl nfsio 41912 512544 0 0 3 0x14000 0x280 nfsidl nfsio 55929 369384 0 0 3 0x14000 0x280 nfsidl nfsio 58590 384193 0 0 3 0x14000 0x280 nfsidl nfsio 12674 241150 67063 0 2 0x2 0xc80 syz-executor 65939 252032 67063 0 2 0x2 0xc80 syz-executor 94682 22731 67063 0 2 0x2 0 syz-executor 75526 78229 67063 0 2 0x2 0xc80 syz-executor 49543 446517 67063 0 2 0x2 0xc80 syz-executor 60202 122538 67063 0 2 0x2 0xc80 syz-executor 67063 34586 38094 0 2 0x2 0 syz-executor 38094 380190 42667 0 3 0x100002 0x88 sigsusp ksh 42667 280592 87602 0 3 0x10 0x88 kqread sshd-session 87602 233801 99558 0 3 0x12 0x80 kqread sshd-session 74579 400732 1 0 3 0x100003 0x80 ttyin getty 99558 515929 1 0 3 0 0x88 kqread sshd 35338 211864 10930 74 3 0x1100012 0x80 bpf pflogd 10930 406340 1 0 3 0 0x80 sbwait pflogd 42425 487751 87177 73 3 0x1100010 0x80 kqread syslogd 87177 177931 1 0 3 0x100002 0x80 sbwait syslogd 65349 345370 1 0 3 0x100000 0x80 kqread resolvd 84453 110937 97518 77 3 0x100012 0x80 kqread dhcpleased 98646 127394 97518 77 3 0x100012 0x80 kqread dhcpleased 97518 326714 1 0 3 0 0x80 kqread dhcpleased 59834 26464 0 0 3 0x14000 0x200 bored smr 29980 387553 0 0 2 0x14000 0x200 zerothread 80383 337203 0 0 3 0x14000 0x200 aiodoned aiodoned 68407 366794 0 0 3 0x14000 0x200 syncer update 91250 400176 0 0 3 0x14000 0x200 cleaner cleaner 95684 433936 0 0 3 0x14000 0x200 reaper reaper 36865 238769 0 0 3 0x14000 0x200 pgdaemon pagedaemon 17078 297099 0 0 3 0x14000 0x200 bored viomb 1842 73668 0 0 3 0x14000 0x40000200 acpi0 acpi0 46155 474863 0 0 7 0x14000 0x40000200 idle1 38954 425406 0 0 3 0x14000 0x200 bored softnet1 72420 510206 0 0 2 0x14000 0x200 softnet0 56849 250852 0 0 3 0x14000 0x200 bored systqmp 70447 350233 0 0 3 0x14000 0x200 bored systq 62777 25039 0 0 3 0x14000 0x200 tmoslp softclockmp 6754 312968 0 0 3 0x14000 0x40000200 tmoslp softclock 12438 481154 0 0 3 0x14000 0x40000200 idle0 * 1 126446 0 0 7 0x2 0x2000 init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 1 (init) thread 0xffff800045fffc88 (126446) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a8ed40) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11073 12096K 12430K 166960K 12895 0 pcb 18 12K 12K 166960K 114 0 rtable 184 9K 12K 166960K 741 0 pf 43 19K 26K 166960K 201 0 ifaddr 35 5K 7K 166960K 108 0 ifgroup 59 2K 2K 166960K 156 0 sysctl 4 1K 9K 166960K 19 0 counters 72 37K 37K 166960K 132 0 ioctlops 0 0K 4K 166960K 1811 0 iov 0 0K 12K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1321 83K 83K 166960K 1958 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 37 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 93K 166960K 943 0 sigio 0 0K 0K 166960K 12 0 proc 72 115K 148K 166960K 878 0 subproc 72 4K 4K 166960K 162 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 77 0 in_multi 66 4K 6K 166960K 217 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 572 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 237 169K 183K 166960K 9478 0 UVM aobj 23 2K 4K 166960K 25 0 pinsyscall 43 86K 104K 166960K 2343 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 13 0K 2K 166960K 73 0 temp 43 9120K 9152K 166960K 30962 0 kqueue 13 20K 30K 166960K 169 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 191 0 188 3 1 2 3 0 8 1 rtentry 176 224 0 154 6 0 6 6 0 8 0 unpcb 144 545 0 524 10 4 6 6 0 8 5 syncache 336 6 0 6 3 2 1 1 0 8 1 tcpcb 736 242 0 236 7 6 1 7 0 8 0 arp 136 37 0 25 1 0 1 1 0 8 0 inpcb 328 792 0 780 7 5 2 7 0 8 0 nd6 152 55 0 37 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 18 0 10 1 0 1 1 0 8 0 ppxss 1192 11 0 11 3 2 1 1 0 8 1 pppxif 1576 2 0 2 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 6 0 1 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 10 0 5 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 11 0 3 1 0 1 1 0 8 0 pftag 88 5 0 0 1 0 1 1 0 8 0 pfstitem 24 63 0 25 1 0 1 1 0 8 0 pfstkey 128 65 0 27 2 0 2 2 0 8 0 pfstate 448 64 0 26 5 0 5 5 0 8 0 pfrule 1360 96 0 90 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 967 0 666 32 6 26 30 0 8 3 art_table 40 969 0 666 5 0 5 5 0 8 0 art_node 32 224 0 161 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 10 3 2 1 1 0 8 1 semapl 72 34 0 24 1 0 1 1 0 8 0 shmpl 112 22 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2731 0 1255 93 0 93 93 0 8 0 ffsino 296 2731 0 1255 114 0 114 114 0 8 0 nchpl 144 3803 0 2069 65 0 65 65 0 8 0 vnodes 216 3228 0 0 180 0 180 180 0 8 0 namei 1024 13464 0 13464 3 2 1 2 0 8 1 percpumem 16 82 0 30 1 0 1 1 0 8 0 pfiaddrpl 120 3 0 1 1 0 1 1 0 8 0 kstatmem 264 83 0 52 3 0 3 3 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 18436 0 18436 13 12 1 8 1 8 1 plimitpl 152 140 0 123 1 0 1 1 0 8 0 sigapl 424 1260 0 1192 8 0 8 8 0 8 0 knotepl 120 597 0 0 19 0 19 19 0 8 0 kqueuepl 224 249 0 240 3 2 1 3 0 8 0 pipepl 344 242 0 215 3 0 3 3 0 8 0 fdescpl 528 1224 0 1192 3 0 3 3 0 8 0 filepl 160 6152 0 5933 16 1 15 16 0 8 5 lockfpl 104 252 0 250 1 0 1 1 0 8 0 lockfspl 48 112 0 110 1 0 1 1 0 8 0 sessionpl 144 53 0 44 1 0 1 1 0 8 0 pgrppl 48 142 0 125 1 0 1 1 0 8 0 ucredpl 104 959 0 946 1 0 1 1 0 8 0 zombiepl 144 1192 0 1192 2 1 1 1 0 8 1 processpl 1232 1260 0 1192 6 0 6 6 0 8 0 procpl 664 2248 0 2173 8 1 7 8 0 8 0 sockpl 752 1560 0 1524 20 9 11 17 0 8 7 mcl64k 65536 3 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 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 122 0 0 16 0 16 16 0 8 0 mcl2k 2048 28 0 0 3 0 3 3 0 8 0 mextrefs 64 26 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 527 0 0 32 0 32 32 0 8 0 bufpl 272 6674 0 543 409 0 409 409 0 8 0 anonpl 32 11335 0 0 92 0 92 92 0 247 0 amapchunkpl 152 36811 0 36308 37 12 25 35 0 158 5 amappl16 200 3950 0 3918 40 35 5 27 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 546 0 544 1 0 1 1 0 8 0 amappl13 176 142 0 130 1 0 1 1 0 8 0 amappl12 168 1514 0 1482 2 0 2 2 0 8 0 amappl11 160 5 0 5 2 2 0 1 0 8 0 amappl10 152 100 0 85 1 0 1 1 0 8 0 amappl9 144 276 0 276 1 1 0 1 0 8 0 amappl8 136 136 0 134 1 0 1 1 0 8 0 amappl7 128 165 0 152 1 0 1 1 0 8 0 amappl6 120 253 0 249 1 0 1 1 0 8 0 amappl5 112 97 0 86 1 0 1 1 0 8 0 amappl4 104 329 0 309 1 0 1 1 0 8 0 amappl3 96 5534 0 5430 3 0 3 3 0 8 0 amappl2 88 1314 0 1235 2 0 2 2 0 8 0 amappl1 80 14380 0 13763 17 3 14 16 0 8 0 amappl 88 8497 0 8333 5 1 4 5 0 92 0 uvmvnodes 80 122 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 24 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1224 0 1192 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1224 0 1192 1 0 1 1 0 8 0 vmmpekpl 168 11077 0 11024 3 0 3 3 0 8 0 vmmpepl 168 84302 0 82350 118 27 91 108 0 357 5 vmsppl 488 1223 0 1192 6 1 5 5 0 8 1 rwobjpl 80 25253 0 24151 33 5 28 32 0 8 0 pdppl 4096 2455 0 2384 113 42 71 85 0 8 0 pvpl 32 18817 0 0 152 0 152 152 0 265 0 pmappl 256 1223 0 1192 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 732 0 61 20 0 20 20 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(ffffffff834ce14d) 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,ffff80002a1ac130,ffff80002a1ac080) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a1ac130) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a1ac130) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x700fc2dc5080, count: -6 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) 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(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff80002999dff0) 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(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192 end trace frame: 0x0, count: -5