panic: vpopani_cge: knererince_bla d o p Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 65053 78475 32767 0x10 0 0 syz-executor.7 *395374 88489 32767 0x10 0x4000000 1 syz-executor.0 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8278f466) at panic+0x17b sys/kern/subr_prf.c:198 vop_generic_badop(ffff8000297b4e18) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80698c9be8,fffffd80668836c0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd80668836c0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80668836c0) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ffs_truncate(fffffd8065041990,e319,0,fffffd807f7d6000) at ffs_truncate+0x720 sys/ufs/ffs/ffs_inode.c:223 ufs_setattr(ffff8000297b5180) at ufs_setattr+0x6c1 sys/ufs/ufs/ufs_vnops.c:407 VOP_SETATTR(fffffd80698c9be8,ffff8000297b5208,fffffd807f7d6000,ffff8000211e4db8) at VOP_SETATTR+0xda sys/kern/vfs_vops.c:210 dotruncate(ffff8000211e4db8,fffffd80698c9be8,e319) at dotruncate+0x13e sys/kern/vfs_syscalls.c:2820 sys_ftruncate(ffff8000211e4db8,ffff8000297b5360,ffff8000297b53b0) at sys_ftruncate+0x13e sys/kern/vfs_syscalls.c:2872 syscall(ffff8000297b5430) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000297b5430) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ac37b28150, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic cpu0: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_fork.c", line 676 *cpu1: vop_generic_badop ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8278f466) at panic+0x17b sys/kern/subr_prf.c:198 vop_generic_badop(ffff8000297b4e18) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80698c9be8,fffffd80668836c0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd80668836c0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80668836c0) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ffs_truncate(fffffd8065041990,e319,0,fffffd807f7d6000) at ffs_truncate+0x720 sys/ufs/ffs/ffs_inode.c:223 ufs_setattr(ffff8000297b5180) at ufs_setattr+0x6c1 sys/ufs/ufs/ufs_vnops.c:407 VOP_SETATTR(fffffd80698c9be8,ffff8000297b5208,fffffd807f7d6000,ffff8000211e4db8) at VOP_SETATTR+0xda sys/kern/vfs_vops.c:210 dotruncate(ffff8000211e4db8,fffffd80698c9be8,e319) at dotruncate+0x13e sys/kern/vfs_syscalls.c:2820 sys_ftruncate(ffff8000211e4db8,ffff8000297b5360,ffff8000297b53b0) at sys_ftruncate+0x13e sys/kern/vfs_syscalls.c:2872 syscall(ffff8000297b5430) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000297b5430) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ac37b28150, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000297b4d40 rbx 0xffff800020d59b97 rdx 0 rcx 0xffff8000211e4db8 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x7aaeb263a7ffd221 r11 0xcec43255f2992aec r12 0xffff800020d59998 r13 0 r14 0 r15 0x1 rip 0xffffffff813e81ec db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000297b4d30 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=395374 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000211e5898,0xffff8000211e5080 process=0xffff800021221d60 user=0xffff8000297b0000, vmspace=0xfffffd806ba1a758 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78475 65053 73372 32767 7 0x10 syz-executor.7 69777 440670 51824 32767 2 0x10 syz-executor.4 11881 14735 78147 32767 2 0x10 syz-executor.5 88489 6319 14032 32767 2 0x10 syz-executor.0 *88489 395374 14032 32767 7 0x4000010 syz-executor.0 88489 439298 14032 32767 3 0x4000090 fsleep syz-executor.0 70543 79066 33118 32767 2 0x10 syz-executor.2 70543 329760 33118 32767 3 0x4000090 netio syz-executor.2 70543 13658 33118 32767 3 0x4000090 netio syz-executor.2 20350 517760 91439 32767 2 0x10 syz-executor.1 20350 69993 91439 32767 3 0x4000090 fsleep syz-executor.1 50878 340407 0 0 3 0x14200 bored sosplice 24125 117682 37417 32767 2 0x10 syz-executor.6 51824 504688 94566 32767 3 0x90 nanoslp syz-executor.4 37417 161936 68533 0 3 0x82 wait syz-executor.6 73372 485166 5760 32767 2 0x10 syz-executor.7 5760 160815 68533 0 3 0x82 wait syz-executor.7 78147 369114 86959 32767 3 0x90 nanoslp syz-executor.5 86959 208736 68533 0 3 0x82 wait syz-executor.5 94566 323698 68533 0 3 0x82 wait syz-executor.4 23261 323182 50548 32767 2 0x10 syz-executor.3 33118 362941 57507 32767 3 0x90 nanoslp syz-executor.2 50548 472314 68533 0 3 0x82 wait syz-executor.3 57507 334028 68533 0 3 0x82 wait syz-executor.2 91439 176589 81448 32767 3 0x90 nanoslp syz-executor.1 14032 237588 20765 32767 3 0x90 nanoslp syz-executor.0 81448 291249 68533 0 3 0x82 wait syz-executor.1 20765 439273 68533 0 3 0x82 wait syz-executor.0 68533 384184 292 0 3 0x2000082 wait syz-fuzzer 68533 441998 292 0 3 0x6000082 thrsleep syz-fuzzer 68533 86478 292 0 3 0x6000082 wait syz-fuzzer 68533 500047 292 0 3 0x6000082 wait syz-fuzzer 68533 279617 292 0 3 0x6000082 thrsleep syz-fuzzer 68533 380034 292 0 3 0x6000082 wait syz-fuzzer 68533 325802 292 0 3 0x6000082 thrsleep syz-fuzzer 68533 484894 292 0 3 0x6000082 thrsleep syz-fuzzer 68533 97562 292 0 3 0x6000082 wait syz-fuzzer 68533 154914 292 0 3 0x6000082 wait syz-fuzzer 68533 52387 292 0 3 0x6000082 thrsleep syz-fuzzer 68533 75334 292 0 3 0x6000082 wait syz-fuzzer 68533 381255 292 0 3 0x6000082 wait syz-fuzzer 68533 366926 292 0 3 0x6000082 kqread syz-fuzzer 68533 427863 292 0 3 0x6000082 thrsleep syz-fuzzer 68533 84251 292 0 3 0x6000082 thrsleep syz-fuzzer 292 374166 89819 0 3 0x10008a sigsusp ksh 89819 187892 24829 0 3 0x9a kqread sshd 45900 276845 1 0 3 0x100083 ttyin getty 24829 381413 1 0 3 0x88 kqread sshd 52199 132138 10072 73 3 0x1100090 kqread syslogd 10072 289692 1 0 3 0x100082 netio syslogd 1348 373149 1 0 3 0x100080 kqread resolvd 66738 204744 10436 77 3 0x100092 kqread dhcpleased 61752 84548 10436 77 3 0x100092 kqread dhcpleased 10436 246999 1 0 3 0x80 kqread dhcpleased 66909 380334 0 0 3 0x14200 bored smr 75127 161942 0 0 2 0x14200 zerothread 38091 524194 0 0 3 0x14200 aiodoned aiodoned 57876 143392 0 0 3 0x14200 syncer update 30608 466200 0 0 3 0x14200 cleaner cleaner 40628 343983 0 0 3 0x14200 reaper reaper 77852 154503 0 0 3 0x14200 pgdaemon pagedaemon 8619 440699 0 0 3 0x14200 bored viomb 24560 296297 0 0 3 0x40014200 acpi0 acpi0 59256 186433 0 0 3 0x40014200 idle1 22613 76135 0 0 3 0x14200 bored softnet3 75558 458551 0 0 3 0x14200 bored softnet2 22564 338545 0 0 3 0x14200 bored softnet1 92593 300982 0 0 3 0x14200 bored softnet0 84433 491965 0 0 3 0x14200 bored systqmp 91633 421263 0 0 3 0x14200 bored systq 96293 6491 0 0 3 0x40014200 bored softclock 50478 98668 0 0 3 0x40014200 idle0 1 116194 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 88489 (syz-executor.0) thread 0xffff8000211e4db8 (395374) exclusive rrwlock inode r = 0 (0xfffffd8065041a28) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 sys_ftruncate+0x12e sys/kern/vfs_syscalls.c:2872 #6 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #6 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d2da30) #0 witness_lock+0x447 #1 syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline] #1 syscall+0x5cd sys/arch/amd64/amd64/trap.c:623 #2 Xsyscall+0x128 Process 23261 (syz-executor.3) thread 0xffff8000211e55e0 (323182) exclusive rrwlock inode r = 0 (0xfffffd8065041918) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vget+0x200 sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1314 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 #11 namei+0x55a sys/kern/vfs_lookup.c:250 #12 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #13 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #13 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8066c4c700) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10183 6408K 6419K 78643K 11261 0 pcb 13 12K 14K 78643K 17 0 rtable 240 6K 7K 78643K 384 0 pf 29 8K 8K 78643K 29 0 ifaddr 44 15K 15K 78643K 46 0 ifgroup 50 2K 2K 78643K 50 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 35K 78643K 60 0 ioctlops 0 0K 2K 78643K 71 0 iov 0 0K 16K 78643K 377 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 1734 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 63 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 1499 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 113K 78643K 3629 0 sigio 0 0K 0K 78643K 269 0 proc 56 78K 115K 78643K 621 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 142 0 in_multi 99 7K 7K 78643K 125 0 ether_multi 1 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 791 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 8 62K 64K 78643K 10 0 UVM amap 368 87K 99K 78643K 38253 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 65 0 NDP 11 0K 2K 78643K 27 0 temp 74 5876K 5956K 78643K 11615 0 kqueue 12 18K 26K 78643K 250 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 86 0 83 1 0 1 1 0 8 0 rtentry 112 119 0 6 4 0 4 4 0 8 0 unpcb 144 3205 0 3186 33 27 6 8 0 8 5 syncache 296 31 0 31 6 5 1 1 0 8 1 tcpqe 32 217 0 217 3 3 0 1 0 8 0 tcpcb 808 4599 0 4595 51 42 9 15 0 8 8 arp 120 18 0 0 1 0 1 1 0 8 0 ipq 40 3 0 2 1 0 1 1 0 8 0 ipqe 40 10 0 9 1 0 1 1 0 8 0 inpcb 368 8925 0 8918 126 117 9 25 0 8 8 nd6 136 32 0 5 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 486 0 28 30 0 30 30 0 8 0 art_table 32 487 0 28 4 0 4 4 0 8 0 art_node 16 118 0 15 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 1497 0 1487 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6246 0 4800 91 0 91 91 0 8 0 ffsino 272 6246 0 4800 97 0 97 97 0 8 0 nchpl 144 11219 0 9537 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 33251 0 33251 3 2 1 2 0 8 1 percpumem 16 43 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 36058 0 36058 17 14 3 8 1 8 3 plimitpl 152 439 0 416 4 3 1 2 0 8 0 sigapl 424 3917 0 3864 7 0 7 7 0 8 0 futexpl 64 31696 0 31694 2 1 1 1 0 8 0 knotepl 120 231 0 0 7 0 7 7 0 8 0 kqueuepl 216 574 0 565 9 4 5 5 0 8 4 pipepl 320 830 0 802 22 16 6 11 0 8 3 fdescpl 496 3899 0 3864 7 2 5 6 0 8 0 filepl 152 26945 0 26703 56 38 18 21 0 8 8 lockfpl 104 538 0 536 2 0 2 2 0 8 1 lockfspl 48 155 0 153 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 75 0 59 1 0 1 1 0 8 0 ucredpl 104 2634 0 2616 1 0 1 1 0 8 0 zombiepl 144 3864 0 3864 1 0 1 1 0 8 1 processpl 1072 3917 0 3864 4 0 4 4 0 8 0 procpl 696 10232 0 10159 13 4 9 9 0 8 1 sosppl 168 38 0 38 3 2 1 1 0 8 1 sockpl 488 12330 0 12301 285 271 14 42 0 8 10 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 13 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 254 0 0 32 0 32 32 0 8 1 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 1773 0 0 105 0 105 105 0 8 0 bufpl 288 8964 0 2638 452 0 452 452 0 8 0 anonpl 24 483441 0 472443 155 61 94 120 0 186 17 amapchunkpl 152 122211 0 121346 66 26 40 48 0 158 3 amappl16 200 10207 0 9915 48 32 16 28 0 8 0 amappl15 192 14 0 14 1 1 0 1 0 8 0 amappl14 184 149 0 136 2 1 1 2 0 8 0 amappl13 176 11 0 11 1 1 0 1 0 8 0 amappl12 168 4510 0 4474 2 0 2 2 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 33 0 20 1 0 1 1 0 8 0 amappl9 144 217 0 216 1 0 1 1 0 8 0 amappl8 136 339 0 249 4 0 4 4 0 8 0 amappl7 128 77 0 65 1 0 1 1 0 8 0 amappl6 120 253 0 235 2 1 1 2 0 8 0 amappl5 112 259 0 250 1 0 1 1 0 8 0 amappl4 104 593 0 554 3 1 2 3 0 8 0 amappl3 96 23962 0 23872 7 3 4 4 0 8 1 amappl2 88 4282 0 4210 3 1 2 3 0 8 0 amappl1 80 21619 0 21097 22 10 12 22 0 8 0 amappl 88 37615 0 37382 7 0 7 7 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 3900 0 3865 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3900 0 3865 1 0 1 1 0 8 0 vmmpekpl 168 32276 0 32221 3 0 3 3 0 8 0 vmmpepl 168 240066 0 237707 137 27 110 118 0 357 2 vmsppl 464 3899 0 3865 7 2 5 6 0 8 0 rwobjpl 56 70559 0 63181 108 3 105 105 0 8 0 pdppl 4096 7808 0 7730 168 86 82 90 0 8 4 pvpl 32 1282134 0 1264981 365 145 220 363 0 265 72 pmappl 248 3899 0 3865 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1173 0 249 28 0 28 28 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82b9bff0) at x86_ipi_db+0x1e 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+0x27 x86_bus_space_io_read_1(3f8,5) at x86_bus_space_io_read_1+0x2c sys/arch/amd64/amd64/bus_space.c:654 comcnputc(800,64) at comcnputc+0x97 sys/dev/ic/com.c:1261 cnputc(64) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(64) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20fc sys/kern/subr_prf.c:1064 db_printf(ffffffff8281fa6d) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff8279d4b5) at panic+0xdb sys/kern/subr_prf.c:216 __assert(ffffffff8281a78e,ffffffff827dd8c8,2a4,ffffffff827d17f3) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff82b9bff0) at x86_ipi_db+0x1e 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+0x27 x86_bus_space_io_read_1(3f8,5) at x86_bus_space_io_read_1+0x2c sys/arch/amd64/amd64/bus_space.c:654 comcnputc(800,64) at comcnputc+0x97 sys/dev/ic/com.c:1261 cnputc(64) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(64) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20fc sys/kern/subr_prf.c:1064 db_printf(ffffffff8281fa6d) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff8279d4b5) at panic+0xdb sys/kern/subr_prf.c:216 __assert(ffffffff8281a78e,ffffffff827dd8c8,2a4,ffffffff827d17f3) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8278f466) at panic+0x17b sys/kern/subr_prf.c:198 vop_generic_badop(ffff8000297b4e18) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80698c9be8,fffffd80668836c0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd80668836c0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80668836c0) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ffs_truncate(fffffd8065041990,e319,0,fffffd807f7d6000) at ffs_truncate+0x720 sys/ufs/ffs/ffs_inode.c:223 ufs_setattr(ffff8000297b5180) at ufs_setattr+0x6c1 sys/ufs/ufs/ufs_vnops.c:407 VOP_SETATTR(fffffd80698c9be8,ffff8000297b5208,fffffd807f7d6000,ffff8000211e4db8) at VOP_SETATTR+0xda sys/kern/vfs_vops.c:210 dotruncate(ffff8000211e4db8,fffffd80698c9be8,e319) at dotruncate+0x13e sys/kern/vfs_syscalls.c:2820 sys_ftruncate(ffff8000211e4db8,ffff8000297b5360,ffff8000297b53b0) at sys_ftruncate+0x13e sys/kern/vfs_syscalls.c:2872 syscall(ffff8000297b5430) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000297b5430) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ac37b28150, count: 2 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8278f466) at panic+0x17b sys/kern/subr_prf.c:198 vop_generic_badop(ffff8000297b4e18) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80698c9be8,fffffd80668836c0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd80668836c0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80668836c0) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ffs_truncate(fffffd8065041990,e319,0,fffffd807f7d6000) at ffs_truncate+0x720 sys/ufs/ffs/ffs_inode.c:223 ufs_setattr(ffff8000297b5180) at ufs_setattr+0x6c1 sys/ufs/ufs/ufs_vnops.c:407 VOP_SETATTR(fffffd80698c9be8,ffff8000297b5208,fffffd807f7d6000,ffff8000211e4db8) at VOP_SETATTR+0xda sys/kern/vfs_vops.c:210 dotruncate(ffff8000211e4db8,fffffd80698c9be8,e319) at dotruncate+0x13e sys/kern/vfs_syscalls.c:2820 sys_ftruncate(ffff8000211e4db8,ffff8000297b5360,ffff8000297b53b0) at sys_ftruncate+0x13e sys/kern/vfs_syscalls.c:2872 syscall(ffff8000297b5430) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000297b5430) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ac37b28150, count: -13