panic: pool_do_get: shmpl free list modified: page 0xfffffd80648c3000; item addr 0xfffffd80648c32a0; offset 0x40=0x689798d4 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *255659 46521 0 0 0x4000000 1K syz-executor 171760 60564 0 0 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336c1c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83900a78,1,ffff80003c421b98) at pool_do_get+0x5df pool_get(ffffffff83900a78,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000378087e8,ffff80003c421df0,172,ffff80003c421d40) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000378087e8,ffff80003c421df0,ffff80003c421d40) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c421df0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421df0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaeedd2007c0, 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 0xfffffd80648c3000; item addr 0xfffffd80648c32a0; offset 0x40=0x689798d4 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336c1c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83900a78,1,ffff80003c421b98) at pool_do_get+0x5df pool_get(ffffffff83900a78,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000378087e8,ffff80003c421df0,172,ffff80003c421d40) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000378087e8,ffff80003c421df0,ffff80003c421d40) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c421df0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421df0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaeedd2007c0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4219c0 rbx 0xffff8000299eeddf rdx 0xffff800001470d40 rcx 0xffff8000378087e8 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x99eee22e9e8a9060 r11 0xac135e3e045cf4d0 r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff811b9065 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4219b0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=255659 pid=46521 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037808d18,0xffff80003c490d38 process=0xffff80003c4270e0 user=0xffff80003c41c000, vmspace=0xfffffd806b9d6018 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46521 153590 18701 0 2 0 syz-executor *46521 255659 18701 0 7 0x4000000 syz-executor 73802 7010 68720 0 2 0 syz-executor 73802 90896 68720 0 3 0x4000080 fsleep syz-executor 5620 222281 33009 0 3 0x80 nanoslp syz-executor 5620 299239 33009 0 3 0x4000080 fsleep syz-executor 5620 382224 33009 0 3 0x4000080 fsleep syz-executor 78317 176445 63450 0 2 0 syz-executor 78317 256668 63450 0 3 0x4000080 kqsel syz-executor 78317 462988 63450 0 3 0x4000080 kqsel syz-executor 60564 171760 81725 0 7 0 syz-executor 60564 78211 81725 0 3 0x4000080 fifor syz-executor 60564 192780 81725 0 2 0x4000000 syz-executor 33009 272530 35742 0 3 0x82 nanoslp syz-executor 1028 198340 0 0 3 0x14200 acct acct 46352 73377 0 0 3 0x14200 bored sosplice 92309 225864 35742 0 3 0x82 nanoslp syz-executor 18701 367913 35742 0 3 0x82 nanoslp syz-executor 81725 124061 35742 0 3 0x82 nanoslp syz-executor 67874 480755 35742 0 3 0x82 nanoslp syz-executor 63450 289327 35742 0 3 0x82 nanoslp syz-executor 20860 252630 35742 0 3 0x2 biowait syz-executor 68720 170787 35742 0 3 0x82 nanoslp syz-executor 35742 396540 14244 0 3 0x82 kqread syz-executor 14244 151717 2397 0 3 0x10008a sigsusp ksh 2397 477499 23890 0 3 0x98 kqread sshd-session 23890 241706 57345 0 3 0x92 kqread sshd-session 85163 97180 1 0 3 0x100083 ttyin getty 57345 106723 1 0 3 0x88 kqread sshd 18415 445130 3166 74 3 0x1100092 bpf pflogd 3166 147699 1 0 3 0x80 sbwait pflogd 68145 112358 71350 73 3 0x1100090 kqread syslogd 71350 438832 1 0 3 0x100082 sbwait syslogd 91263 477854 1 0 3 0x100080 kqread resolvd 75293 73167 10315 77 3 0x100092 kqread dhcpleased 97102 194871 10315 77 3 0x100092 kqread dhcpleased 10315 123262 1 0 3 0x80 kqread dhcpleased 73303 212879 0 0 3 0x14200 bored smr 38095 341225 0 0 2 0x14200 zerothread 39098 90277 0 0 3 0x14200 aiodoned aiodoned 11012 322860 0 0 3 0x14200 syncer update 14404 198723 0 0 3 0x14200 cleaner cleaner 73195 384428 0 0 3 0x14200 reaper reaper 43513 101579 0 0 3 0x14200 pgdaemon pagedaemon 51002 159423 0 0 3 0x14200 bored viomb 77744 320092 0 0 3 0x40014200 acpi0 acpi0 51094 181825 0 0 3 0x40014200 idle1 22618 254413 0 0 3 0x14200 bored softnet7 77362 336840 0 0 3 0x14200 bored softnet6 2421 407142 0 0 3 0x14200 bored softnet5 86488 102812 0 0 3 0x14200 bored softnet4 36688 519429 0 0 3 0x14200 bored softnet3 79712 147522 0 0 3 0x14200 bored softnet2 36724 191776 0 0 3 0x14200 bored softnet1 68647 367392 0 0 3 0x14200 bored softnet0 87403 183583 0 0 3 0x14200 bored systqmp 98642 462169 0 0 3 0x14200 bored systq 20307 416804 0 0 3 0x14200 tmoslp softclockmp 40962 405616 0 0 3 0x40014200 tmoslp softclock 67029 82765 0 0 3 0x40014200 idle0 1 33301 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex shmpl r = 0 (0xffffffff83900a90) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 pool_get+0x124 sys/kern/subr_pool.c:581 #4 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #5 sys_shmget+0x195 sys/kern/sysv_shm.c:482 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #7 Xsyscall+0x128 Process 46521 (syz-executor) thread 0xffff8000378087e8 (255659) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8394fd20) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:748 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff83900a90) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 pool_get+0x124 sys/kern/subr_pool.c:581 #4 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #5 sys_shmget+0x195 sys/kern/sysv_shm.c:482 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #7 Xsyscall+0x128 Process 20860 (syz-executor) thread 0xffff80002a2b9ca0 (252630) exclusive rrwlock inode r = 0 (0xfffffd8073af4930) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vget+0x2a2 sys/kern/vfs_subr.c:693 #6 ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203 #8 ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566 #11 namei+0x7ca sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c3331f8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10222 11156K 11729K 166960K 11985 0 pcb 17 13K 14K 166960K 122 0 rtable 189 7K 8K 166960K 337 0 pf 39 18K 19K 166960K 85 0 ifaddr 42 7K 7K 166960K 63 0 ifgroup 59 2K 2K 166960K 92 0 sysctl 3 1K 9K 166960K 10 0 counters 70 37K 37K 166960K 98 0 ioctlops 0 0K 4K 166960K 1531 0 iov 0 0K 32K 166960K 19 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1398 88K 88K 166960K 1724 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 473 0 sigio 0 0K 0K 166960K 7 0 proc 73 131K 180K 166960K 606 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 45 0 in_multi 85 6K 7K 166960K 116 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 446 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 244 160K 171K 166960K 5837 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 42 84K 103K 166960K 1577 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 31 0 NDP 13 0K 2K 166960K 41 0 temp 42 8639K 8710K 166960K 18902 0 kqueue 14 22K 30K 166960K 77 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 58 0 55 1 0 1 1 0 8 0 rtentry 176 113 0 35 5 0 5 5 0 8 0 unpcb 144 393 0 374 4 0 4 4 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 112 0 108 4 0 4 4 0 8 3 arp 128 13 0 3 1 0 1 1 0 8 0 inpcb 328 397 0 389 6 0 6 6 0 8 4 nd6 144 21 0 5 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 9 0 9 1 0 1 1 0 8 1 pppxif 1504 2 0 2 1 0 1 1 0 8 1 pffrag 232 6 0 1 1 0 1 1 0 482 0 pffrnode 88 5 0 0 1 0 1 1 0 8 0 pffrent 40 7 0 2 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 38 0 0 1 0 1 1 0 8 0 pfstkey 128 38 0 0 2 0 2 2 0 8 0 pfstate 384 37 0 0 4 0 4 4 0 8 0 pfrule 1344 27 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 502 0 142 28 0 28 28 0 8 2 art_table 40 503 0 142 5 0 5 5 0 8 0 art_node 32 113 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 pool(0xffffffff83900a78:shmpl): page inconsistency: page 0xfffffd80648c3000; 23 on list, 11 missing, 35 items per page dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2193 0 683 96 0 96 96 0 8 0 ffsino 296 2193 0 683 117 0 117 117 0 8 0 nchpl 144 2846 0 1156 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2517 0 0 52 0 52 52 0 8 0 vnodes 216 2517 0 0 140 0 140 140 0 8 0 namei 1024 9297 0 9297 2 1 1 2 0 8 1 percpumem 16 64 0 14 1 0 1 1 0 8 0 kstatmem 264 50 0 20 3 0 3 3 0 8 1 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 13976 0 13975 10 2 8 8 1 8 7 plimitpl 152 60 0 43 1 0 1 1 0 8 0 sigapl 424 779 0 724 7 0 7 7 0 8 0 knotepl 120 562 0 0 18 0 18 18 0 8 0 kqueuepl 224 120 0 108 2 0 2 2 0 8 1 pipepl 344 143 0 115 3 0 3 3 0 8 0 fdescpl 528 751 0 720 3 0 3 3 0 8 0 filepl 160 3912 0 3690 14 0 14 14 0 8 3 lockfpl 104 142 0 136 1 0 1 1 0 8 0 lockfspl 48 66 0 60 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 35 0 18 1 0 1 1 0 8 0 ucredpl 104 452 0 439 1 0 1 1 0 8 0 zombiepl 144 726 0 724 1 0 1 1 0 8 0 processpl 1248 779 0 724 5 0 5 5 0 8 0 procpl 664 1324 0 1261 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 752 853 0 823 14 3 11 14 0 8 7 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 1170 0 0 73 0 73 73 0 8 0 bufpl 280 5636 0 126 394 0 394 394 0 8 0 anonpl 32 9300 0 0 75 0 75 75 0 246 0 amapchunkpl 152 18120 0 17600 29 3 26 26 0 158 2 amappl16 200 2771 0 2739 20 5 15 19 0 8 5 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 112 0 100 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1409 0 1377 4 1 3 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 23 0 19 1 0 1 1 0 8 0 amappl7 128 122 0 110 1 0 1 1 0 8 0 amappl6 120 190 0 187 1 0 1 1 0 8 0 amappl5 112 138 0 128 1 0 1 1 0 8 0 amappl4 104 302 0 281 1 0 1 1 0 8 0 amappl3 96 3473 0 3356 4 0 4 4 0 8 0 amappl2 88 721 0 659 2 0 2 2 0 8 0 amappl1 80 9605 0 9003 15 1 14 15 0 8 1 amappl 88 5105 0 4935 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 752 0 721 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 752 0 721 1 0 1 1 0 8 0 vmmpekpl 168 7523 0 7478 3 0 3 3 0 8 0 vmmpepl 168 53591 0 51592 104 0 104 104 0 357 9 vmsppl 488 751 0 721 5 0 5 5 0 8 0 rwobjpl 80 19288 0 15809 74 0 74 74 0 8 0 pdppl 4096 1511 0 1442 99 28 71 85 0 8 2 pvpl 32 16394 0 0 134 1 133 133 0 265 0 pmappl 256 751 0 721 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 336 0 32 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83827ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff8394fb18) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8394fb18) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 intr_handler(ffff80003c487930,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff8394fb18) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8394fb18) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x783cd214fb70, count: 4 ddb{0}> trace x86_ipi_db(ffffffff83827ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff8394fb18) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8394fb18) at __mp_lock+0x1a3 sys/kern/kern_lock.c:165 intr_handler(ffff80003c487930,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff8394fb18) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8394fb18) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x783cd214fb70, count: -11 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:438 panic(ffffffff8336c1c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83900a78,1,ffff80003c421b98) at pool_do_get+0x5df pool_get(ffffffff83900a78,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000378087e8,ffff80003c421df0,172,ffff80003c421d40) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000378087e8,ffff80003c421df0,ffff80003c421d40) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c421df0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421df0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaeedd2007c0, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8336c1c0) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff83900a78,1,ffff80003c421b98) at pool_do_get+0x5df pool_get(ffffffff83900a78,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000378087e8,ffff80003c421df0,172,ffff80003c421d40) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000378087e8,ffff80003c421df0,ffff80003c421d40) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c421df0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421df0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaeedd2007c0, count: -8