panic: pool_do_get: shmpl free list modified: page 0xfffffd8060852000; item addr 0xfffffd80608521c0; offset 0x2c=0xdead410f Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *456899 12323 32767 0x10 0x4000000 1K syz-executor 523989 85356 73 0x1100010 0 0 syslogd db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8305f771) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83613a10,1,ffff80002a150558) at pool_do_get+0x5e6 pool_get(ffffffff83613a10,1) at pool_get+0x141 shmget_allocate_segment(ffff80002c7d3c18,ffff80002a1507b0,4,ffff80002a150700) at shmget_allocate_segment+0x1a7 sys_shmget(ffff80002c7d3c18,ffff80002a1507b0,ffff80002a150700) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff80002a1507b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1507b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x635f5ff6700, count: 7 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: pool_do_get: shmpl free list modified: page 0xfffffd8060852000; item addr 0xfffffd80608521c0; offset 0x2c=0xdead410f ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8305f771) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83613a10,1,ffff80002a150558) at pool_do_get+0x5e6 pool_get(ffffffff83613a10,1) at pool_get+0x141 shmget_allocate_segment(ffff80002c7d3c18,ffff80002a1507b0,4,ffff80002a150700) at shmget_allocate_segment+0x1a7 sys_shmget(ffff80002c7d3c18,ffff80002a1507b0,ffff80002a150700) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff80002a1507b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1507b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x635f5ff6700, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1503a0 rbx 0xffff800029b7cdbf rdx 0xffff800001279340 rcx 0xffff80002c7d3c18 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x92e390531c3505b7 r11 0x412db08f55d5bbe9 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff824f17f5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a150390 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=456899 pid=12323 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002c7d31f8,0xffff80002c7d2cf8 process=0xffff8000ffff9230 user=0xffff80002a14b000, vmspace=0xfffffd806c2218b0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98524 211854 18221 32767 3 0x90 nanoslp syz-executor 98524 458897 18221 32767 3 0x4000090 fsleep syz-executor 98524 514397 18221 32767 2 0x4000010 syz-executor 64339 109401 33459 32767 2 0x10 syz-executor 64339 324153 33459 32767 2 0x4000010 syz-executor 12323 263538 21903 32767 2 0x10 syz-executor *12323 456899 21903 32767 7 0x4000010 syz-executor 47097 123908 15207 32767 2 0x10 syz-executor 47097 514074 15207 32767 3 0x4000090 fsleep syz-executor 592 433001 74594 32767 2 0x10 syz-executor 592 194967 74594 32767 3 0x4000090 fsleep syz-executor 592 416796 74594 32767 3 0x4000090 fsleep syz-executor 17719 383709 93757 32767 2 0x10 syz-executor 17719 56726 93757 32767 3 0x4000090 pipewr syz-executor 20188 252646 48280 32767 3 0x90 nanoslp syz-executor 15207 421244 5574 32767 3 0x90 nanoslp syz-executor 48280 25039 91447 0 3 0x82 wait syz-executor 5574 285678 91447 0 3 0x82 wait syz-executor 18221 286806 57151 32767 3 0x90 nanoslp syz-executor 33459 374917 25635 32767 3 0x90 nanoslp syz-executor 34763 172704 34549 32767 3 0x10 biowait syz-executor 93757 344286 19086 32767 3 0x90 nanoslp syz-executor 74594 302844 41619 32767 3 0x90 nanoslp syz-executor 21903 483148 33401 32767 3 0x90 nanoslp syz-executor 25635 241030 91447 0 3 0x82 wait syz-executor 19086 212079 91447 0 3 0x82 wait syz-executor 33401 512608 91447 0 3 0x82 wait syz-executor 41619 494542 91447 0 3 0x82 wait syz-executor 57151 116958 91447 0 3 0x82 wait syz-executor 34549 482610 91447 0 3 0x82 wait syz-executor 90592 435801 81246 0 3 0x82 netio sshd-session 22425 182022 81246 0 3 0x82 netio sshd-session 28432 372872 81246 0 3 0x82 netio sshd-session 58800 373052 0 0 3 0x14200 bored sosplice 91447 104875 46651 0 3 0x82 kqread syz-executor 46651 58577 41838 0 3 0x10008a sigsusp ksh 41838 281735 82663 0 3 0x98 kqread sshd-session 82663 316239 81246 0 3 0x92 kqread sshd-session 731 232930 1 0 3 0x100083 ttyin getty 81246 337544 1 0 3 0x88 kqread sshd 85356 523989 80201 73 7 0x1100010 syslogd 80201 23679 1 0 3 0x100082 sbwait syslogd 97255 393904 1 0 3 0x100080 kqread resolvd 9011 464858 70947 77 3 0x100092 kqread dhcpleased 14777 149864 70947 77 3 0x100092 kqread dhcpleased 70947 133106 1 0 3 0x80 kqread dhcpleased 18381 25042 0 0 3 0x14200 bored smr 5860 340204 0 0 3 0x14200 pgzero zerothread 37889 119489 0 0 3 0x14200 aiodoned aiodoned 28779 232600 0 0 3 0x14200 syncer update 23054 366646 0 0 3 0x14200 cleaner cleaner 84766 183135 0 0 3 0x14200 reaper reaper 20795 111121 0 0 3 0x14200 pgdaemon pagedaemon 53747 151852 0 0 3 0x14200 bored viomb 7977 326731 0 0 3 0x40014200 acpi0 acpi0 95509 194796 0 0 3 0x40014200 idle1 34080 40358 0 0 3 0x14200 bored softnet3 80498 483279 0 0 3 0x14200 bored softnet2 69377 107501 0 0 3 0x14200 bored softnet1 28349 492879 0 0 3 0x14200 bored softnet0 81934 41499 0 0 3 0x14200 bored systqmp 17682 260152 0 0 3 0x14200 bored systq 98536 363259 0 0 3 0x14200 tmoslp softclockmp 43143 249160 0 0 3 0x40014200 tmoslp softclock 57528 264419 0 0 3 0x40014200 idle0 1 252807 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex shmpl r = 0 (0xffffffff83613a20) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 pool_get+0x103 sys/kern/subr_pool.c:579 #4 shmget_allocate_segment+0x1a7 #5 sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 12323 (syz-executor) thread 0xffff80002c7d3c18 (456899) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8354fc60) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff83613a20) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 pool_get+0x103 sys/kern/subr_pool.c:579 #4 shmget_allocate_segment+0x1a7 #5 sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 34763 (syz-executor) thread 0xffff8000ffff5460 (172704) exclusive rrwlock inode r = 0 (0xfffffd806e6f45f0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e1513c8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 85356 (syslogd) thread 0xffff8000ffffd450 (523989) exclusive rrwlock inode r = 0 (0xfffffd806e6bfc50) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10183 11045K 11059K 166960K 11354 0 pcb 17 12K 12K 166960K 17 0 rtable 212 6K 7K 166960K 1292 0 pf 29 16K 16K 166960K 93 0 ifaddr 38 7K 8K 166960K 162 0 ifgroup 46 2K 2K 166960K 172 0 sysctl 3 0K 1K 166960K 5 0 counters 62 36K 36K 166960K 124 0 ioctlops 0 0K 2K 166960K 63 0 iov 0 0K 12K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1453 91K 92K 166960K 1868 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 25 93K 157K 166960K 1047 0 sigio 0 0K 0K 166960K 7 0 proc 58 79K 176K 166960K 1317 0 subproc 104 6K 12K 166960K 546 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 227 0 in_multi 88 6K 7K 166960K 425 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 761 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 273 75K 132K 166960K 9317 0 UVM aobj 15 3K 5K 166960K 17 0 pinsyscall 52 104K 138K 166960K 2838 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 35 0 NDP 22 1K 2K 166960K 113 0 temp 76 6824K 6889K 166960K 9541 0 kqueue 14 22K 28K 166960K 119 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 24 0 0 1 0 1 1 0 8 0 rtpcb 120 205 0 201 3 2 1 3 0 8 0 rtentry 112 425 0 326 5 1 4 4 0 8 1 unpcb 144 439 0 422 3 2 1 2 0 8 0 syncache 336 18 0 18 3 3 0 1 0 8 0 tcpqe 32 6 0 6 1 1 0 1 0 8 0 tcpcb 808 306 0 292 8 5 3 8 0 8 1 arp 120 76 0 60 1 0 1 1 0 8 0 ipq 40 5 0 1 1 0 1 1 0 8 0 ipqe 40 6 0 2 1 0 1 1 0 8 0 inpcb 336 737 0 718 8 5 3 7 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 136 112 0 91 1 0 1 1 0 8 0 kcovpl 48 42 0 34 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1733 0 1321 39 13 26 29 0 8 0 art_table 32 1734 0 1321 4 0 4 4 0 8 0 art_node 16 424 0 334 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semapl 112 11 0 1 1 0 1 1 0 8 0 shmpl 112 14 0 2 1 0 1 1 0 8 0 pool(0xffffffff83613a10:shmpl): page inconsistency: page 0xfffffd8060852000; 22 on list, 12 missing, 35 items per page dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2264 0 692 99 0 99 99 0 8 0 ffsino 272 2264 0 692 105 0 105 105 0 8 0 nchpl 144 3045 0 1318 65 0 65 65 0 8 0 uvmvnodes 80 2819 0 0 58 0 58 58 0 8 0 vnodes 216 2819 0 0 157 0 157 157 0 8 0 namei 1024 12854 0 12853 5 3 2 2 0 8 1 percpumem 16 76 0 31 1 0 1 1 0 8 0 kstatmem 264 82 0 62 2 0 2 2 0 8 0 scxspl 216 20246 0 20245 11 9 2 8 1 8 1 plimitpl 152 341 0 315 2 0 2 2 0 8 0 sigapl 424 1267 0 1208 10 1 9 9 0 8 0 futexpl 64 6716 0 6712 3 2 1 1 0 8 0 knotepl 120 524 0 0 16 0 16 16 0 8 0 kqueuepl 216 303 0 293 5 4 1 5 0 8 0 pipepl 320 288 0 257 7 2 5 6 0 8 0 fdescpl 496 1248 0 1208 10 2 8 8 0 8 1 filepl 152 5612 0 5351 20 6 14 16 0 8 0 lockfpl 104 109 0 106 1 0 1 1 0 8 0 lockfspl 48 42 0 39 1 0 1 1 0 8 0 sessionpl 144 63 0 44 1 0 1 1 0 8 0 pgrppl 48 108 0 81 1 0 1 1 0 8 0 ucredpl 104 732 0 713 1 0 1 1 0 8 0 zombiepl 144 1209 0 1208 1 0 1 1 0 8 0 processpl 1160 1267 0 1208 7 1 6 6 0 8 0 procpl 648 2039 0 1972 9 2 7 8 0 8 0 srpgc 96 4 0 4 2 1 1 1 0 8 1 sosppl 168 8 0 8 4 3 1 1 0 8 1 sockpl 664 1454 0 1414 14 9 5 9 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 139 0 0 18 0 18 18 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 44 0 0 4 0 4 4 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 283 0 0 18 0 18 18 0 8 0 bufpl 280 6176 0 95 435 0 435 435 0 8 0 anonpl 24 232256 0 224196 54 0 54 54 0 185 5 amapchunkpl 152 29076 0 28491 37 0 37 37 0 158 14 amappl16 200 4878 0 4623 38 24 14 14 0 8 0 amappl15 192 8 0 8 2 2 0 1 0 8 0 amappl14 184 184 0 171 1 0 1 1 0 8 0 amappl13 176 16 0 15 1 0 1 1 0 8 0 amappl12 168 2313 0 2273 4 1 3 3 0 8 0 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 19 0 19 1 1 0 1 0 8 0 amappl9 144 128 0 128 1 1 0 1 0 8 0 amappl8 136 35 0 33 1 0 1 1 0 8 0 amappl7 128 199 0 186 1 0 1 1 0 8 0 amappl6 120 435 0 434 1 0 1 1 0 8 0 amappl5 112 251 0 239 1 0 1 1 0 8 0 amappl4 104 413 0 397 1 0 1 1 0 8 0 amappl3 96 5756 0 5624 5 0 5 5 0 8 1 amappl2 88 1192 0 1110 4 1 3 3 0 8 1 amappl1 80 15068 0 14277 19 0 19 19 0 8 0 amappl 88 8665 0 8463 6 0 6 6 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 16 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1248 0 1208 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1248 0 1208 1 0 1 1 0 8 0 vmmpekpl 168 12621 0 12555 5 0 5 5 0 8 0 vmmpepl 168 87393 0 84776 128 13 115 124 0 357 0 vmsppl 440 1247 0 1208 7 0 7 7 0 8 1 rwobjpl 56 31597 0 27394 62 2 60 60 0 8 0 pdppl 4096 2503 0 2416 197 100 97 119 0 8 10 pvpl 32 31452 0 0 254 0 254 254 0 265 0 pmappl 248 1247 0 1208 6 2 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 513 0 131 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834c8ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff8354fa58) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8354fa58) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff8354fa58,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441 sleep_finish(0,1) at sleep_finish+0x21e sys/kern/kern_synch.c:416 vwaitforio(fffffd806e74b990,0,ffffffff8309cfb1,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06a270) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e74b990,fffffd807f7d3bc8,1,ffff8000ffffd450) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffd450,ffff80002a06a420,ffff80002a06a370) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06a420) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06a420) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x755547f18560, count: 2 ddb{0}> trace x86_ipi_db(ffffffff834c8ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 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(ffffffff8354fa58) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8354fa58) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff8354fa58,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441 sleep_finish(0,1) at sleep_finish+0x21e sys/kern/kern_synch.c:416 vwaitforio(fffffd806e74b990,0,ffffffff8309cfb1,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06a270) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e74b990,fffffd807f7d3bc8,1,ffff8000ffffd450) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffd450,ffff80002a06a420,ffff80002a06a370) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06a420) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06a420) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x755547f18560, count: -13 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:437 panic(ffffffff8305f771) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83613a10,1,ffff80002a150558) at pool_do_get+0x5e6 pool_get(ffffffff83613a10,1) at pool_get+0x141 shmget_allocate_segment(ffff80002c7d3c18,ffff80002a1507b0,4,ffff80002a150700) at shmget_allocate_segment+0x1a7 sys_shmget(ffff80002c7d3c18,ffff80002a1507b0,ffff80002a150700) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff80002a1507b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1507b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x635f5ff6700, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8305f771) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83613a10,1,ffff80002a150558) at pool_do_get+0x5e6 pool_get(ffffffff83613a10,1) at pool_get+0x141 shmget_allocate_segment(ffff80002c7d3c18,ffff80002a1507b0,4,ffff80002a150700) at shmget_allocate_segment+0x1a7 sys_shmget(ffff80002c7d3c18,ffff80002a1507b0,ffff80002a150700) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff80002a1507b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1507b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x635f5ff6700, count: -8