panic: missing alias Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *478183 73318 0 0x2 0 0 getty db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fc5dd0) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069540a30,ffff80002a4d0a40) at vgonel+0x681 sys/kern/vfs_subr.c:1202 checkalias(fffffd806e8c9cc0,800,ffff800000b5d400) at checkalias+0x1ab ffs_vinit(ffff800000b5d400,ffff80002e42ed30) at ffs_vinit+0x13d ffs_vget(ffff800000b5d400,13447,ffff80002e42ee18) at ffs_vget+0x421 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd8007c41000,ffff80002e42f0a0,ffff80002e42f0d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002e42f070) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002e42f070) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofchownat(ffff80002a4d0a40,ffffff9c,342086d0290,0,0,0) at dofchownat+0xd7 sys/kern/vfs_syscalls.c:2462 syscall(ffff80002e42f310) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eaff24e6a80, count: 2 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: missing alias ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fc5dd0) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069540a30,ffff80002a4d0a40) at vgonel+0x681 sys/kern/vfs_subr.c:1202 checkalias(fffffd806e8c9cc0,800,ffff800000b5d400) at checkalias+0x1ab ffs_vinit(ffff800000b5d400,ffff80002e42ed30) at ffs_vinit+0x13d ffs_vget(ffff800000b5d400,13447,ffff80002e42ee18) at ffs_vget+0x421 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd8007c41000,ffff80002e42f0a0,ffff80002e42f0d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002e42f070) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002e42f070) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofchownat(ffff80002a4d0a40,ffffff9c,342086d0290,0,0,0) at dofchownat+0xd7 sys/kern/vfs_syscalls.c:2462 syscall(ffff80002e42f310) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eaff24e6a80, count: -13 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002e42eb20 rbx 0 rdx 0 rcx 0 rax 0xffff80002a4d0a40 r8 0x101010101010101 r9 0x8080808080808080 r10 0xd4f8e5b554aa4e48 r11 0x2f1669e63ac2146a r12 0 r13 0x800 r14 0 r15 0x1 rip 0xffffffff82ca2645 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002e42eb10 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (getty) tid=478183 pid=73318 tcnt=1 stat=onproc flags process=2 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4d07b8,0xffffffff8352ec40 process=0xffff800030df6f30 user=0xffff80002e42a000, vmspace=0xfffffd806c232010 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *73318 478183 1 0 7 0x2 getty 93358 400636 45376 0 3 0 futex syz-executor 93358 434265 45376 0 3 0x4000000 futex syz-executor 78163 211527 27842 0 2 0 syz-executor 78163 223969 27842 0 2 0x4000000 syz-executor 78163 465855 27842 0 3 0x4000080 fsleep syz-executor 78163 80100 27842 0 3 0x4000080 fsleep syz-executor 51157 244814 4074 0 2 0 syz-executor 51157 41946 4074 0 3 0x4000080 sbwait syz-executor 51157 8742 4074 0 3 0x4000080 fsleep syz-executor 51790 412671 20154 0 2 0x2 syz-executor 92049 154790 39828 0 2 0x10 syz-executor 92049 203511 39828 0 3 0x4000090 fsleep syz-executor 92049 118765 39828 0 3 0x4000090 fsleep syz-executor 34261 34696 8031 0 2 0x10 syz-executor 34261 314346 8031 0 3 0x4000010 futex syz-executor 34261 45498 8031 0 2 0x4000010 syz-executor 34261 100344 8031 0 3 0x4000010 futex syz-executor 8536 458628 4770 0 2 0 syz-executor 8536 413995 4770 0 3 0x4000080 fsleep syz-executor 8536 309478 4770 0 3 0x4000080 fsleep syz-executor 67950 339112 93837 0 2 0 syz-executor 67950 467522 93837 0 3 0x4000080 kqsel syz-executor 67950 27905 93837 0 3 0x4000080 kqsel syz-executor 67950 480340 93837 0 3 0x4000080 fsleep syz-executor 67950 338965 93837 0 2 0x4000000 syz-executor 67950 256026 93837 0 3 0x4000080 fsleep syz-executor 83595 442198 0 0 3 0x14200 acct acct 97463 413798 0 0 3 0x14200 bored sosplice 39828 403895 20154 0 3 0x82 nanoslp syz-executor 45376 438367 20154 0 3 0x82 nanoslp syz-executor 27842 55275 20154 0 3 0x82 nanoslp syz-executor 8031 474338 20154 0 3 0x82 nanoslp syz-executor 4074 205015 20154 0 2 0x3 syz-executor 93837 37101 20154 0 3 0x82 nanoslp syz-executor 4770 332376 20154 0 3 0x82 nanoslp syz-executor 20154 518390 8959 0 2 0x2 syz-executor 8959 273592 97806 0 3 0x10008a sigsusp ksh 97806 268071 37994 0 3 0x98 kqread sshd-session 37994 458450 96519 0 3 0x92 kqread sshd-session 96519 91647 1 0 3 0x88 kqread sshd 8189 305623 28739 73 3 0x1100090 kqread syslogd 28739 474174 1 0 3 0x100082 sbwait syslogd 58201 514740 1 0 3 0x100080 kqread resolvd 89982 487083 18178 77 3 0x100092 kqread dhcpleased 96941 324460 18178 77 3 0x100092 kqread dhcpleased 18178 495952 1 0 3 0x80 kqread dhcpleased 2385 390386 0 0 3 0x14200 bored smr 96101 157228 0 0 2 0x14200 zerothread 5123 53822 0 0 3 0x14200 aiodoned aiodoned 89956 484329 0 0 3 0x14200 syncer update 84914 498856 0 0 3 0x14200 cleaner cleaner 26706 315107 0 0 3 0x14200 reaper reaper 81478 246569 0 0 3 0x14200 pgdaemon pagedaemon 7430 318943 0 0 3 0x14200 bored viomb 96314 137726 0 0 3 0x40014200 acpi0 acpi0 3532 493146 0 0 3 0x14200 bored softnet3 77487 250652 0 0 3 0x14200 bored softnet2 35813 293470 0 0 3 0x14200 bored softnet1 76847 154737 0 0 3 0x14200 bored softnet0 53711 101265 0 0 3 0x14200 bored systqmp 85687 365424 0 0 3 0x14200 bored systq 38745 146546 0 0 3 0x40014200 tmoslp softclock 15815 36408 0 0 3 0x40014200 idle0 1 86891 0 0 3 0x82 wait 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 10173 11103K 11258K 166960K 11817 0 pcb 18 16K 21K 166960K 191 0 rtable 210 7K 8K 166960K 386 0 pf 28 12K 13K 166960K 44 0 ifaddr 36 6K 7K 166960K 55 0 ifgroup 46 2K 2K 166960K 68 0 sysctl 2 0K 0K 166960K 2 0 counters 29 17K 17K 166960K 36 0 ioctlops 0 0K 4K 166960K 55 0 iov 1 2K 14K 166960K 21 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1483 93K 94K 166960K 1690 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 18 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 97K 166960K 424 0 sigio 0 0K 0K 166960K 11 0 proc 60 59K 100K 166960K 532 0 subproc 94 5K 6K 166960K 107 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 21 0 in_multi 78 5K 7K 166960K 119 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 368 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 242 65K 89K 166960K 5363 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 38 76K 98K 166960K 1451 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 39 0 NDP 10 0K 2K 166960K 36 0 temp 44 6812K 6877K 166960K 12256 0 kqueue 13 20K 28K 166960K 77 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 50 0 47 1 0 1 1 0 8 0 rtentry 112 116 0 21 4 0 4 4 0 8 0 unpcb 144 396 0 377 6 0 6 6 0 8 4 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 161 0 157 9 1 8 8 0 8 7 arp 88 18 0 2 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 336 487 0 479 13 6 7 10 0 8 6 nd6 104 25 0 6 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 1 1 0 1 1 0 8 0 ppxss 1072 5 0 5 2 1 1 1 0 8 1 pfrule 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 460 0 84 29 0 29 29 0 8 4 art_table 32 463 0 84 4 0 4 4 0 8 0 art_node 16 115 0 28 1 0 1 1 0 8 0 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2047 0 547 95 0 95 95 0 8 0 ffsino 240 2047 0 547 89 0 89 89 0 8 0 nchpl 144 2730 0 1057 63 0 63 63 0 8 0 uvmvnodes 80 2395 0 0 49 0 49 49 0 8 0 vnodes 216 2395 0 0 134 0 134 134 0 8 0 namei 1024 8635 0 8632 3 2 1 2 0 8 0 kstatmem 264 34 0 14 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 7416 0 7416 2 1 1 2 1 8 1 plimitpl 152 76 0 59 1 0 1 1 0 8 0 sigapl 424 706 0 659 7 1 6 7 0 8 0 futexpl 64 4692 0 4682 1 0 1 1 0 8 0 knotepl 120 13841 0 13793 16 7 9 9 0 8 7 kqueuepl 184 117 0 106 1 0 1 1 0 8 0 pipepl 288 121 0 94 4 1 3 3 0 8 0 fdescpl 432 687 0 658 5 1 4 5 0 8 0 filepl 120 3502 0 3266 17 2 15 17 0 8 6 lockfpl 104 74 0 70 1 0 1 1 0 8 0 lockfspl 48 32 0 28 1 0 1 1 0 8 0 sessionpl 144 21 0 14 1 0 1 1 0 8 0 pgrppl 48 33 0 18 1 0 1 1 0 8 0 ucredpl 104 523 0 509 1 0 1 1 0 8 0 zombiepl 144 727 0 727 2 1 1 1 0 8 1 processpl 1096 706 0 659 4 0 4 4 0 8 0 procpl 648 1161 0 1096 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 504 941 0 911 36 24 12 34 0 8 7 mcl64k 65536 11 0 10 1 0 1 1 0 8 0 mcl16k 16384 7 0 7 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 15 0 15 2 1 1 1 0 8 1 mcl4k 4096 3107 0 3055 19 11 8 18 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 367 0 367 2 1 1 1 0 8 1 mtagpl 96 9 0 5 1 0 1 1 0 8 0 mbufpl 256 7362 0 7169 19 0 19 19 0 8 6 bufpl 280 2744 0 97 190 0 190 190 0 8 0 anonpl 24 211054 0 207724 59 2 57 57 0 187 35 amapchunkpl 152 19189 0 18637 43 15 28 36 0 158 6 amappl16 200 5666 0 5644 17 7 10 14 0 8 8 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 115 0 105 1 0 1 1 0 8 0 amappl13 176 16 0 16 1 1 0 1 0 8 0 amappl12 168 1302 0 1273 3 1 2 3 0 8 0 amappl11 160 53 0 42 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 1 0 1 0 8 0 amappl9 144 125 0 125 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 97 0 87 1 0 1 1 0 8 0 amappl6 120 171 0 170 1 0 1 1 0 8 0 amappl5 112 137 0 129 1 0 1 1 0 8 0 amappl4 104 291 0 275 1 0 1 1 0 8 0 amappl3 96 3284 0 3178 3 0 3 3 0 8 0 amappl2 88 957 0 877 2 0 2 2 0 8 0 amappl1 80 8078 0 7565 13 2 11 13 0 8 0 amappl 88 4997 0 4809 5 0 5 5 0 92 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 687 0 658 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 687 0 658 1 0 1 1 0 8 0 vmmpekpl 168 6656 0 6619 2 0 2 2 0 8 0 vmmpepl 168 50824 0 49069 90 1 89 89 0 357 12 vmsppl 352 686 0 658 4 1 3 4 0 8 0 rwobjpl 24 21267 0 17988 21 0 21 21 0 8 1 pdppl 4096 1380 0 1316 96 30 66 82 0 8 2 pvpl 32 392636 0 383565 129 3 126 126 0 265 48 pmappl 216 686 0 658 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 429 0 81 11 0 11 11 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:437 panic(ffffffff82fc5dd0) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069540a30,ffff80002a4d0a40) at vgonel+0x681 sys/kern/vfs_subr.c:1202 checkalias(fffffd806e8c9cc0,800,ffff800000b5d400) at checkalias+0x1ab ffs_vinit(ffff800000b5d400,ffff80002e42ed30) at ffs_vinit+0x13d ffs_vget(ffff800000b5d400,13447,ffff80002e42ee18) at ffs_vget+0x421 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd8007c41000,ffff80002e42f0a0,ffff80002e42f0d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002e42f070) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002e42f070) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofchownat(ffff80002a4d0a40,ffffff9c,342086d0290,0,0,0) at dofchownat+0xd7 sys/kern/vfs_syscalls.c:2462 syscall(ffff80002e42f310) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eaff24e6a80, count: -13 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fc5dd0) at panic+0x1cf sys/kern/subr_prf.c:198 vgonel(fffffd8069540a30,ffff80002a4d0a40) at vgonel+0x681 sys/kern/vfs_subr.c:1202 checkalias(fffffd806e8c9cc0,800,ffff800000b5d400) at checkalias+0x1ab ffs_vinit(ffff800000b5d400,ffff80002e42ed30) at ffs_vinit+0x13d ffs_vget(ffff800000b5d400,13447,ffff80002e42ee18) at ffs_vget+0x421 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd8007c41000,ffff80002e42f0a0,ffff80002e42f0d0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002e42f070) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002e42f070) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofchownat(ffff80002a4d0a40,ffffff9c,342086d0290,0,0,0) at dofchownat+0xd7 sys/kern/vfs_syscalls.c:2462 syscall(ffff80002e42f310) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eaff24e6a80, count: -13