panic: bad dir Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 489865 15997 0 0x2 0 1 syz-executor.1 *412395 16685 0 0 0 0K dhcpleased db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f0a49d8,ffff8000211dbea8,ffff8000211dbed8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbe78) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbe78) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbe78,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193a48,ffffff9c,7f7ffffe8680,0,0,ffff8000211dc060) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc0d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc0d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe8670, count: 5 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: bad dir ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f0a49d8,ffff8000211dbea8,ffff8000211dbed8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbe78) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbe78) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbe78,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193a48,ffffff9c,7f7ffffe8680,0,0,ffff8000211dc060) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc0d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc0d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe8670, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211db930 rbx 0xffffffff827b4bff cpu_info_full_primary+0x2bff rdx 0 rcx 0 rax 0xffff800021193a48 r8 0x101010101010101 r9 0x8080808080808080 r10 0x78bf81b5e61e5c05 r11 0xc0fba2d13703bb1c r12 0xffffffff827b4a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81ddade8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211db920 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (dhcpleased) pid=412395 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021192a88,0xffff8000ffff7a60 process=0xffff8000ffff8008 user=0xffff8000211d7000, vmspace=0xfffffd800858a5c0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94491 213628 10513 0 2 0 syz-executor.3 94491 170524 10513 0 2 0x4000000 syz-executor.3 26556 20544 13825 0 2 0 syz-executor.0 98069 282457 96767 0 2 0 syz-executor.2 98069 412684 96767 0 3 0x4000080 fsleep syz-executor.2 98069 488796 96767 0 3 0x4000080 fsleep syz-executor.2 98069 372968 96767 0 2 0x4000000 syz-executor.2 10513 321895 94753 0 3 0x82 nanoslp syz-executor.3 76226 455817 0 0 3 0x14200 acct acct 13825 39799 94753 0 3 0x82 nanoslp syz-executor.0 49861 126675 1 0 3 0x100083 ttyin getty 15997 489865 94753 0 7 0x2 syz-executor.1 96767 285772 94753 0 3 0x82 nanoslp syz-executor.2 28763 8168 0 0 3 0x14200 bored sosplice 94753 324847 93657 0 3 0x82 kqread syz-fuzzer 94753 493665 93657 0 3 0x4000082 nanoslp syz-fuzzer 94753 37400 93657 0 3 0x4000082 nanoslp syz-fuzzer 94753 438205 93657 0 3 0x4000082 thrsleep syz-fuzzer 94753 330806 93657 0 3 0x4000082 thrsleep syz-fuzzer 94753 368623 93657 0 3 0x4000082 thrsleep syz-fuzzer 94753 373544 93657 0 3 0x4000082 thrsleep syz-fuzzer 94753 146850 93657 0 3 0x4000082 thrsleep syz-fuzzer 93657 100986 16861 0 3 0x10008a sigsusp ksh 16861 113269 68246 0 3 0x9a poll sshd 68246 487124 1 0 3 0x88 poll sshd 52504 192625 33505 74 3 0x100092 bpf pflogd 33505 28653 1 0 3 0x80 netio pflogd 15438 285902 23893 73 3 0x100090 kqread syslogd 23893 481840 1 0 3 0x100082 netio syslogd 21373 485084 1 0 3 0x100080 kqread resolvd 6442 465266 16685 77 3 0x100092 kqread dhcpleased 45052 512990 16685 77 3 0x100092 kqread dhcpleased *16685 412395 1 0 7 0 dhcpleased 30635 48948 0 0 3 0x14200 bored smr 57054 173366 0 0 2 0x14200 zerothread 86105 143113 0 0 3 0x14200 aiodoned aiodoned 34058 89946 0 0 3 0x14200 syncer update 54972 391748 0 0 3 0x14200 cleaner cleaner 34078 53990 0 0 3 0x14200 reaper reaper 57477 519637 0 0 3 0x14200 pgdaemon pagedaemon 34909 183775 0 0 3 0x14200 bored viomb 35765 326598 0 0 3 0x40014200 acpi0 acpi0 88744 228737 0 0 3 0x40014200 idle1 5829 501187 0 0 3 0x14200 bored softnet 10331 317388 0 0 3 0x14200 bored systqmp 87902 104250 0 0 3 0x14200 bored systq 76595 205956 0 0 2 0x40014200 softclock 10688 503193 0 0 3 0x40014200 idle0 1 397723 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 15997 (syz-executor.1) thread 0xffff800021255500 (489865) exclusive rrwlock inode r = 0 (0xfffffd806e145c50) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3100 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80687d80a8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3085 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 16685 (dhcpleased) thread 0xffff800021193a48 (412395) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828999f8) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 tsleep+0x12c sys/kern/kern_synch.c:158 #5 biowait+0x91 sys/kern/vfs_bio.c:1271 #6 ffs_bufatoff+0x125 sys/ufs/ffs/ffs_subr.c:71 #7 ufs_lookup+0x466 sys/ufs/ufs/ufs_lookup.c:258 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f05a810) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 cache_lookup+0x2b4 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1ac sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10233 6580K 10726K 78643K 56451 0 pcb 13 16K 18K 78643K 4917 0 rtable 257 40K 42K 78643K 20654 0 ifaddr 150 40K 41K 78643K 7519 0 sysctl 3 1K 5K 78643K 40 0 counters 52 35K 35K 78643K 884 0 ioctlops 0 0K 8K 78643K 24352 0 iov 0 0K 28K 78643K 3460 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1836 115K 115K 78643K 18866 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 322 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 35429 0 sigio 0 0K 0K 78643K 301 0 proc 71 87K 136K 78643K 6165 0 subproc 52 3K 3K 78643K 2131 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1758 0 in_multi 48 3K 3K 78643K 3001 0 ether_multi 2 0K 0K 78643K 399 0 mrt 8 0K 0K 78643K 128 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 319 1420K 1420K 78643K 319 0 exec 0 0K 2K 78643K 7383 0 pfkey data 0 0K 0K 78643K 73 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 735 1975K 1991K 78643K 446863 0 UVM aobj 131 6K 6K 78643K 142 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 1571 0 NDP 13 0K 1K 78643K 830 0 temp 165 4286K 8382K 78643K 346423 0 kqueue 13 20K 28K 78643K 1618 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 2939 0 2936 35 34 1 5 0 8 0 rtentry 112 2410 0 2352 2 0 2 2 0 8 0 unpcb 136 21301 0 21286 216 213 3 9 0 8 2 syncache 296 41 0 41 13 13 0 1 0 8 0 tcpqe 32 12 0 12 6 6 0 1 0 8 0 tcpcb 736 10191 0 10187 354 346 8 20 0 8 7 arp 120 433 0 423 1 0 1 1 0 8 0 inpcb 304 48308 0 48300 500 491 9 17 0 8 8 rttmr 72 23 0 23 9 9 0 1 0 8 0 nd6 48 587 0 576 1 0 1 1 0 8 0 pkpcb 40 441 0 441 22 22 0 1 0 8 0 kcovpl 48 163 0 159 1 0 1 1 0 8 0 ppxss 1248 106 0 106 30 29 1 1 0 8 1 pfstscr 40 195 0 195 23 23 0 1 0 8 0 pffrag 232 238 0 235 21 20 1 1 0 482 0 pffrnode 88 238 0 235 21 20 1 1 0 8 0 pffrent 40 1707 0 1704 22 21 1 1 0 8 0 pfosfp 40 1440 0 1440 5 5 0 5 0 8 0 pfosfpen 112 1440 0 1440 21 14 7 21 0 8 7 pfrktable 1344 6171 0 6119 23 18 5 5 0 8 0 pftag 88 50 0 32 2 1 1 1 0 8 0 pfqueue 264 14 0 3 2 1 1 1 0 8 0 pfstitem 24 98 0 96 1 0 1 1 0 8 0 pfstkey 112 532 0 530 1 0 1 1 0 8 0 pfstate 320 304 0 302 2 1 1 2 0 8 0 pfrule 1360 18867 0 17935 83 5 78 78 0 8 0 art_heap8 4096 10 0 8 6 4 2 3 0 8 0 art_heap4 256 8874 0 8638 63 47 16 19 0 8 1 art_table 32 8884 0 8646 4 1 3 3 0 8 0 art_node 16 2390 0 2341 1 0 1 1 0 8 0 sysvmsgpl 40 106 0 66 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 46203 0 44692 95 0 95 95 0 8 0 ffsino 272 46203 0 44692 101 0 101 101 0 8 0 nchpl 144 93128 0 91532 61 0 61 61 0 8 0 uvmvnodes 80 6174 0 0 126 0 126 126 0 8 0 vnodes 224 6174 0 0 364 0 364 364 0 8 0 namei 1024 337089 0 337087 9 8 1 1 0 8 0 percpumem 16 454 0 416 1 0 1 1 0 8 0 vcpupl 2048 398 0 0 50 0 50 50 0 8 0 vmpool 560 512 0 114 29 0 29 29 0 8 0 pfiaddrpl 120 2774 0 2640 9 4 5 5 0 8 0 scsiplug 72 27 0 27 11 11 0 1 0 8 0 scxspl 216 321045 0 321045 78 77 1 8 0 8 1 plimitpl 152 3211 0 3200 1 0 1 1 0 8 0 sigapl 424 35251 0 35213 10 5 5 8 0 8 0 futexpl 64 332137 0 332135 14 13 1 1 0 8 0 knotepl 112 364 0 0 4 1 3 3 0 8 0 kqueuepl 216 7869 0 7846 171 166 5 9 0 8 3 pipepl 336 7135 0 7119 192 185 7 11 0 8 5 fdescpl 496 35186 0 35164 8 5 3 4 0 8 0 filepl 152 246587 0 246433 421 406 15 19 0 8 8 lockfpl 104 7819 0 7817 11 10 1 2 0 8 0 lockfspl 48 2372 0 2370 1 0 1 1 0 8 0 sessionpl 144 189 0 176 1 0 1 1 0 8 0 pgrppl 48 371 0 358 1 0 1 1 0 8 0 ucredpl 96 32562 0 32547 1 0 1 1 0 8 0 zombiepl 144 35213 0 35213 4 3 1 1 0 8 1 processpl 1064 35251 0 35213 7 4 3 5 0 8 0 procpl 672 103463 0 103414 40 34 6 8 0 8 1 srpgc 96 208 0 208 35 34 1 1 0 8 1 sosppl 168 271 0 271 48 48 0 1 0 8 0 sockpl 480 73331 0 73305 1276 1264 12 34 0 8 8 mcl64k 65536 69 0 0 4 1 3 3 0 8 0 mcl16k 16384 57 0 0 7 4 3 3 0 8 0 mcl12k 12288 105 0 0 2 0 2 2 0 8 0 mcl9k 9216 68 0 0 4 2 2 2 0 8 0 mcl8k 8192 90 0 0 5 2 3 3 0 8 0 mcl4k 4096 41 0 0 3 0 3 3 0 8 0 mcl2k2 2112 15 0 0 1 0 1 1 0 8 0 mcl2k 2048 725 0 0 22 7 15 21 0 8 0 mtagpl 96 1875 0 0 21 7 14 14 0 8 0 mbufpl 256 17970 0 0 1110 0 1110 1110 0 8 0 bufpl 288 56177 0 49860 454 0 454 454 0 8 0 anonpl 24 10049962 0 10028790 597 445 152 179 0 186 0 amapchunkpl 152 1116166 0 1115313 300 261 39 54 0 158 0 amappl16 200 89913 0 89057 291 244 47 58 0 8 0 amappl15 192 7209 0 7208 9 8 1 1 0 8 0 amappl14 184 3684 0 3678 1 0 1 1 0 8 0 amappl13 176 6800 0 6798 1 0 1 1 0 8 0 amappl12 168 3342 0 3333 1 0 1 1 0 8 0 amappl11 160 6011 0 5994 1 0 1 1 0 8 0 amappl10 152 3058 0 3049 1 0 1 1 0 8 0 amappl9 144 4003 0 3999 1 0 1 1 0 8 0 amappl8 136 7985 0 7806 9 2 7 7 0 8 0 amappl7 128 5069 0 5058 1 0 1 1 0 8 0 amappl6 120 4644 0 4618 1 0 1 1 0 8 0 amappl5 112 26135 0 26112 1 0 1 1 0 8 0 amappl4 104 18098 0 18065 2 1 1 2 0 8 0 amappl3 96 7589 0 7567 1 0 1 1 0 8 0 amappl2 88 11490 0 11423 4 2 2 2 0 8 0 amappl1 80 644824 0 644325 15 3 12 13 0 8 0 amappl 88 443210 0 442841 13 3 10 10 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 141 0 11 3 0 3 3 0 8 0 uaddrrnd 24 35698 0 35278 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 35698 0 35278 3 0 3 3 0 8 0 vmmpekpl 168 235996 0 235916 5 0 5 5 0 8 1 vmmpepl 168 3276354 0 3273061 1014 838 176 176 0 357 26 vmsppl 368 35697 0 35278 39 0 39 39 0 8 0 rwobjpl 56 783244 0 774913 183 64 119 122 0 8 0 pdppl 4096 71404 0 70954 592 140 452 453 0 8 2 pvpl 32 17101232 0 17080887 1112 914 198 263 0 265 0 pmappl 248 35697 0 35278 28 1 27 27 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 3195 0 751 71 1 70 71 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f0a49d8,ffff8000211dbea8,ffff8000211dbed8) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbe78) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbe78) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbe78,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193a48,ffffff9c,7f7ffffe8680,0,0,ffff8000211dc060) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc0d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc0d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe8670, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828997f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828997f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828997f0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff800027b9ce80,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 tsleep(fffffd806fa93b70,11,ffffffff824ca60a,0) at tsleep+0x12c sys/kern/kern_synch.c:158 biowait(fffffd806fa93b70) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd806fa93b70) at bwrite+0x21b sys/kern/vfs_bio.c:772 ffs_update(fffffd806e145bb8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800027b9d1b0) at ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1232 VOP_MKDIR(fffffd8065adca48,ffff800027b9d310,ffff800027b9d340,ffff800027b9d240) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 domkdirat(ffff800021255500,ffffff9c,7f7fffffafd0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3100 end trace frame: 0xffff800027b9d4b0, count: 0 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828997f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828997f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828997f0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff800027b9ce80,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 tsleep(fffffd806fa93b70,11,ffffffff824ca60a,0) at tsleep+0x12c sys/kern/kern_synch.c:158 biowait(fffffd806fa93b70) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd806fa93b70) at bwrite+0x21b sys/kern/vfs_bio.c:772 ffs_update(fffffd806e145bb8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800027b9d1b0) at ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1232 VOP_MKDIR(fffffd8065adca48,ffff800027b9d310,ffff800027b9d340,ffff800027b9d240) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 domkdirat(ffff800021255500,ffffff9c,7f7fffffafd0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3100 syscall(ffff800027b9d4c0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027b9d4c0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb040, count: -16