panic: pool_do_get: shmpl free list modified: page 0xfffffd806606f000; item addr 0xfffffd806606f8d8; offset 0x2c=0xdeaf4151 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 226088 35394 32767 0x10 0 0 syz-executor *188497 35394 32767 0x10 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83062a0a) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83592440,1,ffff8000371eae38) at pool_do_get+0x5e6 pool_get(ffffffff83592440,1) at pool_get+0x141 shmget_allocate_segment(ffff8000371b76f8,ffff8000371eb090,0,ffff8000371eafe0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000371b76f8,ffff8000371eb090,ffff8000371eafe0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff8000371eb090) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371eb090) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x721ada233e0, 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 0xfffffd806606f000; item addr 0xfffffd806606f8d8; offset 0x2c=0xdeaf4151 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83062a0a) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83592440,1,ffff8000371eae38) at pool_do_get+0x5e6 pool_get(ffffffff83592440,1) at pool_get+0x141 shmget_allocate_segment(ffff8000371b76f8,ffff8000371eb090,0,ffff8000371eafe0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000371b76f8,ffff8000371eb090,ffff8000371eafe0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff8000371eb090) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371eb090) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x721ada233e0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000371eac80 rbx 0xffff800029b7cdbf rdx 0xffff8000012664c0 rcx 0xffff8000371b76f8 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x724bbe3f84bdfb19 r11 0xc9f3334c6f241b6c r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff81405225 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371eac70 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=188497 pid=35394 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000371b67c8,0xffffffff83570e20 process=0xffff8000371d28e8 user=0xffff8000371e6000, vmspace=0xfffffd806c8d6c18 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35394 226088 48293 32767 7 0x10 syz-executor *35394 188497 48293 32767 7 0x4000010 syz-executor 39179 185603 67194 32767 3 0x90 nanoslp syz-executor 39179 500387 67194 32767 3 0x4000090 sbwait syz-executor 39179 33865 67194 32767 3 0x4000090 fsleep syz-executor 78953 328182 76456 32767 3 0x90 nanoslp syz-executor 78953 115117 76456 32767 3 0x4000090 kqread syz-executor 78953 274089 76456 32767 3 0x4000090 kqread syz-executor 78953 474803 76456 32767 3 0x4000090 kqsel syz-executor 78953 233794 76456 32767 3 0x4000090 fsleep syz-executor 11959 420783 77135 32767 3 0x90 nanoslp syz-executor 11959 427880 77135 32767 3 0x4000090 sbwait syz-executor 11959 257512 77135 32767 3 0x4000090 sbwait syz-executor 11959 99374 77135 32767 3 0x4000090 sbwait syz-executor 11959 382777 77135 32767 3 0x4000090 fsleep syz-executor 49104 194136 76644 32767 3 0x90 nanoslp syz-executor 49104 304256 76644 32767 3 0x4000090 kqread syz-executor 49104 83668 76644 32767 3 0x4000090 kqsel syz-executor 49104 131527 76644 32767 3 0x4000090 fsleep syz-executor 62331 286686 0 0 3 0x14200 bored sosplice 76644 359026 55787 32767 3 0x90 nanoslp syz-executor 31804 201191 76416 32767 3 0x90 wait syz-executor 60838 428885 34117 32767 3 0x90 nanoslp syz-executor 48293 290166 70460 32767 3 0x90 nanoslp syz-executor 76456 175585 59863 32767 3 0x90 nanoslp syz-executor 77135 260627 19883 32767 3 0x90 nanoslp syz-executor 70148 294377 861 32767 3 0x10 biowait syz-executor 67194 370148 5807 32767 3 0x90 nanoslp syz-executor 19883 273481 24038 0 3 0x82 wait syz-executor 5807 60640 24038 0 3 0x82 wait syz-executor 76416 162658 24038 0 3 0x82 wait syz-executor 861 419978 24038 0 3 0x82 wait syz-executor 34117 371499 24038 0 3 0x82 wait syz-executor 55787 37512 24038 0 3 0x82 wait syz-executor 70460 416836 24038 0 3 0x82 wait syz-executor 59863 18196 24038 0 3 0x82 wait syz-executor 24038 264704 96563 0 3 0x82 kqread syz-executor 96563 7791 41483 0 3 0x10008a sigsusp ksh 41483 356546 63371 0 3 0x98 kqread sshd-session 63371 83407 71753 0 3 0x92 kqread sshd-session 26577 350295 1 0 3 0x100083 ttyin getty 71753 509829 1 0 3 0x88 kqread sshd 23172 262115 69860 73 3 0x1100090 kqread syslogd 69860 240257 1 0 3 0x100082 sbwait syslogd 38218 226857 1 0 3 0x100080 kqread resolvd 11056 429419 77473 77 3 0x100092 kqread dhcpleased 51295 419460 77473 77 3 0x100092 kqread dhcpleased 77473 284798 1 0 3 0x80 kqread dhcpleased 29927 203639 0 0 3 0x14200 bored smr 33761 119869 0 0 3 0x14200 pgzero zerothread 13087 442677 0 0 3 0x14200 aiodoned aiodoned 12328 412491 0 0 3 0x14200 syncer update 10279 166637 0 0 3 0x14200 cleaner cleaner 41726 111004 0 0 3 0x14200 reaper reaper 99158 17034 0 0 3 0x14200 pgdaemon pagedaemon 43958 247500 0 0 3 0x14200 bored viomb 14886 17907 0 0 3 0x40014200 acpi0 acpi0 49188 480482 0 0 3 0x40014200 idle1 21358 199984 0 0 3 0x14200 bored softnet3 23861 336293 0 0 3 0x14200 bored softnet2 14759 516131 0 0 3 0x14200 bored softnet1 38595 518770 0 0 3 0x14200 bored softnet0 72497 85267 0 0 3 0x14200 bored systqmp 14413 172421 0 0 3 0x14200 bored systq 54296 126906 0 0 3 0x14200 tmoslp softclockmp 43276 484740 0 0 3 0x40014200 tmoslp softclock 47269 101246 0 0 3 0x40014200 idle0 1 72409 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 (0xffffffff83592450) #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 35394 (syz-executor) thread 0xffff8000371b76f8 (188497) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8352d9b8) #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 (0xffffffff83592450) #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 70148 (syz-executor) thread 0xffff8000ffff6018 (294377) exclusive rrwlock inode r = 0 (0xfffffd806c0095f0) #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 (0xfffffd806c6042c8) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10186 11047K 11059K 166960K 11264 0 pcb 17 12K 12K 166960K 17 0 rtable 246 7K 7K 166960K 421 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 2 1K 1K 166960K 3 0 counters 64 36K 36K 166960K 64 0 ioctlops 0 0K 2K 166960K 32 0 iov 0 0K 8K 166960K 18 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1365 86K 86K 166960K 1435 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 37 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 25 93K 125K 166960K 559 0 sigio 0 0K 0K 166960K 8 0 proc 64 103K 115K 166960K 533 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 82 0 in_multi 99 7K 7K 166960K 108 0 ether_multi 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 412 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 270 74K 88K 166960K 6774 0 UVM aobj 115 3K 5K 166960K 118 0 pinsyscall 46 92K 114K 166960K 1575 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 26 0 NDP 11 0K 2K 166960K 27 0 temp 54 6818K 6882K 166960K 5996 0 kqueue 15 22K 29K 166960K 106 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 76 0 73 1 0 1 1 0 8 0 rtentry 112 125 0 9 4 0 4 4 0 8 0 unpcb 144 401 0 368 2 0 2 2 0 8 0 syncache 336 12 0 12 1 0 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 808 216 0 207 4 0 4 4 0 8 2 arp 120 19 0 0 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 1 1 0 1 1 0 8 0 inpcb 336 704 0 689 8 0 8 8 0 8 5 nd6 136 37 0 8 2 0 2 2 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 24 30 0 30 30 0 8 0 art_table 32 487 0 24 4 0 4 4 0 8 0 art_node 16 124 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 6 1 0 1 1 0 8 0 semapl 112 32 0 22 1 0 1 1 0 8 0 shmpl 112 115 0 3 4 0 4 4 0 8 0 pool(0xffffffff83592440:shmpl): page inconsistency: page 0xfffffd806606f000; 27 on list, 7 missing, 35 items per page dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2171 0 663 95 0 95 95 0 8 0 ffsino 272 2171 0 663 101 0 101 101 0 8 0 nchpl 144 2968 0 1293 63 0 63 63 0 8 0 uvmvnodes 80 2284 0 0 47 0 47 47 0 8 0 vnodes 216 2284 0 0 127 0 127 127 0 8 0 namei 1024 9339 0 9338 2 1 1 2 0 8 0 percpumem 16 46 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 8835 0 8834 9 1 8 8 1 8 7 plimitpl 152 118 0 94 2 0 2 2 0 8 1 sigapl 424 837 0 781 8 0 8 8 0 8 0 futexpl 64 5891 0 5887 1 0 1 1 0 8 0 knotepl 120 551 0 0 17 0 17 17 0 8 0 kqueuepl 216 208 0 191 3 0 3 3 0 8 2 pipepl 320 164 0 136 5 0 5 5 0 8 2 fdescpl 496 818 0 781 7 1 6 6 0 8 0 filepl 152 4085 0 3818 17 0 17 17 0 8 6 lockfpl 104 175 0 173 1 0 1 1 0 8 0 lockfspl 48 37 0 35 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 39 0 15 1 0 1 1 0 8 0 ucredpl 104 591 0 572 1 0 1 1 0 8 0 zombiepl 144 783 0 781 1 0 1 1 0 8 0 processpl 1160 837 0 781 5 0 5 5 0 8 0 procpl 648 1568 0 1498 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 664 1193 0 1144 10 0 10 10 0 8 5 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 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 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 333 0 0 21 0 21 21 0 8 0 bufpl 280 2812 0 95 195 0 195 195 0 8 0 anonpl 24 178690 0 174953 49 0 49 49 0 185 20 amapchunkpl 152 22062 0 21440 33 0 33 33 0 158 7 amappl16 200 4317 0 4297 20 6 14 14 0 8 12 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 119 0 109 1 0 1 1 0 8 0 amappl13 176 14 0 14 2 2 0 1 0 8 0 amappl12 168 1427 0 1390 2 0 2 2 0 8 0 amappl11 160 51 0 40 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 173 0 173 1 1 0 1 0 8 0 amappl8 136 51 0 48 1 0 1 1 0 8 0 amappl7 128 96 0 86 1 0 1 1 0 8 0 amappl6 120 177 0 176 1 0 1 1 0 8 0 amappl5 112 130 0 121 1 0 1 1 0 8 0 amappl4 104 300 0 286 1 0 1 1 0 8 0 amappl3 96 3932 0 3818 4 0 4 4 0 8 0 amappl2 88 1124 0 1038 3 0 3 3 0 8 0 amappl1 80 9934 0 9403 13 0 13 13 0 8 0 amappl 88 6365 0 6150 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 117 0 3 3 0 3 3 0 8 0 uaddrrnd 24 818 0 781 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 818 0 781 1 0 1 1 0 8 0 vmmpekpl 168 8375 0 8339 2 0 2 2 0 8 0 vmmpepl 168 58493 0 56466 101 0 101 101 0 357 10 vmsppl 440 817 0 781 5 0 5 5 0 8 0 rwobjpl 56 22331 0 19064 49 0 49 49 0 8 2 pdppl 4096 1643 0 1562 117 32 85 97 0 8 4 pvpl 32 14872 0 0 121 1 120 120 0 265 0 pmappl 248 817 0 781 4 1 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 411 0 35 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8344bff0) 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(ffffffff8352d7b0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8352d7b0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff8000371dfcd0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8352d7b0) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8352d7b0) at __mp_lock+0x19e sys/kern/kern_lock.c:144 intr_handler(ffff8000371dfe30,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7835b41cc7f0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff8344bff0) 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(ffffffff8352d7b0) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8352d7b0) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff8000371dfcd0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8352d7b0) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8352d7b0) at __mp_lock+0x19e sys/kern/kern_lock.c:144 intr_handler(ffff8000371dfe30,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7835b41cc7f0, count: -9 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(ffffffff83062a0a) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83592440,1,ffff8000371eae38) at pool_do_get+0x5e6 pool_get(ffffffff83592440,1) at pool_get+0x141 shmget_allocate_segment(ffff8000371b76f8,ffff8000371eb090,0,ffff8000371eafe0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000371b76f8,ffff8000371eb090,ffff8000371eafe0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff8000371eb090) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371eb090) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x721ada233e0, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83062a0a) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83592440,1,ffff8000371eae38) at pool_do_get+0x5e6 pool_get(ffffffff83592440,1) at pool_get+0x141 shmget_allocate_segment(ffff8000371b76f8,ffff8000371eb090,0,ffff8000371eafe0) at shmget_allocate_segment+0x1a7 sys_shmget(ffff8000371b76f8,ffff8000371eb090,ffff8000371eafe0) at sys_shmget+0x1b2 sys/kern/sysv_shm.c:480 syscall(ffff8000371eb090) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371eb090) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x721ada233e0, count: -8