panic: pool_do_get: shmpl free list modified: page 0xfffffd806ba29000; item addr 0xfffffd806ba29d20; offset 0x40=0x6970138c Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 460906 38700 32767 0x10 0 0 syz-executor *323459 26393 32767 0x10 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833a59e6) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff8399b4d0,1,ffff80003c433498) at pool_do_get+0x5df pool_get(ffffffff8399b4d0,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffe8020,ffff80003c4336f0,2,ffff80003c433640) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffe8020,ffff80003c4336f0,ffff80003c433640) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4336f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4336f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5a26795af10, 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 0xfffffd806ba29000; item addr 0xfffffd806ba29d20; offset 0x40=0x6970138c ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833a59e6) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff8399b4d0,1,ffff80003c433498) at pool_do_get+0x5df pool_get(ffffffff8399b4d0,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffe8020,ffff80003c4336f0,2,ffff80003c433640) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffe8020,ffff80003c4336f0,ffff80003c433640) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4336f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4336f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5a26795af10, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4332c0 rbx 0xffff8000299dee07 rdx 0xffff800001574500 rcx 0xffff8000fffe8020 rax 0xffff8000299ddff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x8551e32c6590ecd2 r11 0x8fde1dfcc796d4d4 r12 0xffff8000299dec08 r13 0 r14 0 r15 0x1 rip 0xffffffff826066a5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4332b0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=323459 pid=26393 tcnt=3 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=0xffff80003c440560,0xffffffff8396b138 process=0xffff8000fffe7040 user=0xffff80003c42e000, vmspace=0xfffffd806cc03208 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 38700 460906 20572 32767 7 0x10 syz-executor 38700 503661 20572 32767 2 0x4000010 syz-executor 4407 504795 44884 32767 2 0x10 syz-executor 4407 400635 44884 32767 3 0x4000090 fsleep syz-executor 26877 422941 98535 32767 2 0x10 syz-executor 26877 214586 98535 32767 3 0x4000010 biowait syz-executor 18980 278580 74246 32767 2 0x10 syz-executor 18980 105994 74246 32767 2 0x4000010 syz-executor 26393 440512 91290 32767 2 0x10 syz-executor 26393 74985 91290 32767 3 0x4000090 fifor syz-executor *26393 323459 91290 32767 7 0x4000010 syz-executor 40539 29974 79337 32767 2 0x10 syz-executor 40539 213577 79337 32767 3 0x4000090 fsleep syz-executor 64890 9558 21757 32767 3 0x90 nanoslp syz-executor 64890 294514 21757 32767 3 0x4000090 lockf syz-executor 64890 167748 21757 32767 3 0x4000090 fsleep syz-executor 74246 454858 33189 32767 3 0x90 nanoslp syz-executor 79337 111786 97508 32767 3 0x90 nanoslp syz-executor 20572 19275 8009 32767 3 0x90 nanoslp syz-executor 44884 85519 91948 32767 3 0x90 nanoslp syz-executor 3446 104214 72523 32767 3 0x10 biowait syz-executor 91290 231988 69122 32767 3 0x90 nanoslp syz-executor 21757 178584 27818 32767 3 0x90 nanoslp syz-executor 98535 314023 1723 32767 3 0x90 nanoslp syz-executor 8009 398178 6537 0 3 0x82 wait syz-executor 97508 447204 6537 0 3 0x82 wait syz-executor 69122 153354 6537 0 3 0x82 wait syz-executor 27818 478500 6537 0 3 0x82 wait syz-executor 72523 168238 6537 0 3 0x82 wait syz-executor 33189 301502 6537 0 3 0x82 wait syz-executor 91948 348594 6537 0 3 0x82 wait syz-executor 1723 302698 6537 0 3 0x82 wait syz-executor 6537 94010 81518 0 3 0x82 kqread syz-executor 81518 294099 24935 0 3 0x10008a sigsusp ksh 24935 198977 43635 0 3 0x98 kqread sshd-session 43635 433694 72840 0 3 0x92 kqread sshd-session 48513 432775 1 0 3 0x100083 ttyin getty 72840 408917 1 0 3 0x88 kqread sshd 49104 353733 99045 73 3 0x1100090 kqread syslogd 99045 137219 1 0 3 0x100082 sbwait syslogd 66904 28677 1 0 3 0x100080 kqread resolvd 81319 426651 40319 77 3 0x100092 kqread dhcpleased 30503 289768 40319 77 3 0x100092 kqread dhcpleased 40319 470924 1 0 3 0x80 kqread dhcpleased 10919 45669 0 0 3 0x14200 bored smr 45529 122271 0 0 2 0x14200 zerothread 42837 183011 0 0 3 0x14200 aiodoned aiodoned 78973 334125 0 0 3 0x14200 syncer update 73746 313107 0 0 3 0x14200 cleaner cleaner 6823 350569 0 0 3 0x14200 reaper reaper 30562 473976 0 0 3 0x14200 pgdaemon pagedaemon 22036 334051 0 0 3 0x14200 bored viomb 98010 409725 0 0 3 0x40014200 acpi0 acpi0 82001 272004 0 0 3 0x40014200 idle1 25997 504541 0 0 3 0x14200 bored softnet1 19938 10388 0 0 3 0x14200 bored softnet0 75061 278363 0 0 3 0x14200 bored systqmp 30814 41020 0 0 3 0x14200 bored systq 98395 220981 0 0 3 0x14200 tmoslp softclockmp 67734 69582 0 0 3 0x40014200 tmoslp softclock 70260 10111 0 0 3 0x40014200 idle0 1 8432 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 (0xffffffff8399b4e8) #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+0x4b4 sys/kern/kern_lock.c:487 #2 pool_get+0x124 sys/kern/subr_pool.c:581 #3 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #4 sys_shmget+0x195 sys/kern/sysv_shm.c:482 #5 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #6 Xsyscall+0x128 Process 26877 (syz-executor) thread 0xffff80003c440fc0 (214586) exclusive rrwlock inode r = 0 (0xfffffd800f7bab40) #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+0xbd sys/kern/vfs_vops.c:527 #4 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232 #6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_makeinode+0xcd sys/ufs/ufs/ufs_vnops.c:1732 #8 ufs_create+0x4e sys/ufs/ufs/ufs_vnops.c:147 #9 VOP_CREATE+0xfe sys/kern/vfs_vops.c:103 #10 vn_open+0x34d sys/kern/vfs_vnops.c:116 #11 doopenat+0x35b sys/kern/vfs_syscalls.c:1138 #12 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #12 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd800f7ba8f0) #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+0xbd 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 vn_open+0x1f1 sys/kern/vfs_vnops.c:107 #8 doopenat+0x35b sys/kern/vfs_syscalls.c:1138 #9 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775 #10 Xsyscall+0x128 Process 26393 (syz-executor) thread 0xffff8000fffe8020 (323459) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838c0880) #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:775 #2 Xsyscall+0x128 exclusive mutex shmpl r = 0 (0xffffffff8399b4e8) #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+0x4b4 sys/kern/kern_lock.c:487 #2 pool_get+0x124 sys/kern/subr_pool.c:581 #3 shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 #4 sys_shmget+0x195 sys/kern/sysv_shm.c:482 #5 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 #6 Xsyscall+0x128 Process 3446 (syz-executor) thread 0xffff80002a27c7e0 (104214) exclusive rrwlock inode r = 0 (0xfffffd800f7ba6a0) #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+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vget+0x2a2 sys/kern/vfs_subr.c:686 #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:775 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d263c60) #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+0xbd 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:775 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11053 12018K 12034K 166960K 12144 0 pcb 17 12K 12K 166960K 17 0 rtable 237 6K 7K 166960K 358 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 9K 166960K 6 0 counters 70 37K 37K 166960K 70 0 ioctlops 0 0K 2K 166960K 32 0 iov 0 0K 14K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1336 84K 84K 166960K 1361 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 25 93K 121K 166960K 248 0 sigio 0 0K 0K 166960K 3 0 proc 58 99K 163K 166960K 498 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 22 0 in_multi 99 7K 7K 166960K 100 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 367 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 261 178K 192K 166960K 3903 0 UVM aobj 5 2K 3K 166960K 6 0 pinsyscall 46 92K 113K 166960K 1311 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 27 0 temp 75 8688K 8752K 166960K 4267 0 kqueue 13 20K 28K 166960K 42 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 45 0 42 1 0 1 1 0 8 0 rtentry 176 111 0 1 5 0 5 5 0 8 0 unpcb 144 233 0 215 6 0 6 6 0 8 5 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 54 0 47 2 0 2 2 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 156 0 143 2 0 2 2 0 8 0 nd6 152 24 0 0 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 453 0 0 29 0 29 29 0 8 0 art_table 40 454 0 0 5 0 5 5 0 8 0 art_node 32 111 0 11 1 0 1 1 0 8 0 semapl 112 5 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 1 1 0 1 1 0 8 0 pool(0xffffffff8399b4d0:shmpl): page inconsistency: page 0xfffffd806ba29000; 32 on list, 2 missing, 35 items per page dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1695 0 187 95 0 95 95 0 8 0 ffsino 296 1695 0 187 117 0 117 117 0 8 0 nchpl 144 2036 0 346 63 0 63 63 0 8 0 vnodes 216 1776 0 0 99 0 99 99 0 8 0 namei 1024 6033 0 6032 1 0 1 1 0 8 0 percpumem 16 50 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 6685 0 6683 3 1 2 2 1 8 1 plimitpl 152 55 0 31 2 0 2 2 0 8 1 sigapl 424 534 0 481 7 0 7 7 0 8 0 knotepl 120 112 0 0 4 0 4 4 0 8 0 kqueuepl 224 50 0 39 1 0 1 1 0 8 0 pipepl 344 119 0 92 3 0 3 3 0 8 0 fdescpl 528 518 0 481 3 0 3 3 0 8 0 filepl 160 2079 0 1856 16 0 16 16 0 8 6 lockfpl 104 31 0 26 1 0 1 1 0 8 0 lockfspl 48 14 0 10 1 0 1 1 0 8 0 sessionpl 144 24 0 8 1 0 1 1 0 8 0 pgrppl 48 32 0 8 1 0 1 1 0 8 0 ucredpl 104 234 0 215 1 0 1 1 0 8 0 zombiepl 144 481 0 481 1 0 1 1 0 8 1 processpl 1232 534 0 481 5 0 5 5 0 8 0 procpl 664 716 0 654 7 0 7 7 0 8 1 sockpl 752 434 0 400 18 0 18 18 0 8 14 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 108 0 0 14 0 14 14 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 1817 0 0 114 0 114 114 0 8 0 bufpl 280 2431 0 115 166 0 166 166 0 8 0 anonpl 32 7438 0 0 60 0 60 60 0 246 0 amapchunkpl 152 12192 0 11456 38 0 38 38 0 158 7 amappl16 200 2249 0 2228 15 1 14 14 0 8 11 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 49 0 49 1 1 0 1 0 8 0 amappl13 176 400 0 399 1 0 1 1 0 8 0 amappl12 168 860 0 814 3 0 3 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 245 0 245 1 1 0 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 71 0 70 1 0 1 1 0 8 0 amappl6 120 287 0 274 1 0 1 1 0 8 0 amappl5 112 77 0 70 1 0 1 1 0 8 0 amappl4 104 384 0 360 1 0 1 1 0 8 0 amappl3 96 1855 0 1755 3 0 3 3 0 8 0 amappl2 88 643 0 567 2 0 2 2 0 8 0 amappl1 80 9914 0 9353 15 0 15 15 0 8 0 amappl 88 3184 0 2996 5 0 5 5 0 92 0 uvmvnodes 80 101 0 0 3 0 3 3 0 8 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 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 518 0 481 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 518 0 481 1 0 1 1 0 8 0 vmmpekpl 168 6053 0 6021 2 0 2 2 0 8 0 vmmpepl 168 41561 0 39512 103 0 103 103 0 357 8 vmsppl 488 517 0 481 7 1 6 6 0 8 1 rwobjpl 80 15104 0 14166 26 1 25 25 0 8 2 pdppl 4096 1043 0 962 107 22 85 95 0 8 4 pvpl 32 14797 0 0 120 0 120 120 0 265 0 pmappl 256 517 0 481 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 380 0 25 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8388dff0) 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 __mp_lock(ffffffff838c0080) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff838c0080) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80003c44d210,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x79e88cc41160, count: 9 ddb{0}> trace x86_ipi_db(ffffffff8388dff0) 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 __mp_lock(ffffffff838c0080) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff838c0080) at __mp_lock+0x192 sys/kern/kern_lock.c:173 intr_handler(ffff80003c44d210,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x79e88cc41160, count: -6 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(ffffffff833a59e6) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff8399b4d0,1,ffff80003c433498) at pool_do_get+0x5df pool_get(ffffffff8399b4d0,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffe8020,ffff80003c4336f0,2,ffff80003c433640) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffe8020,ffff80003c4336f0,ffff80003c433640) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4336f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4336f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5a26795af10, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833a59e6) at panic+0x1e5 sys/kern/subr_prf.c:198 pool_do_get(ffffffff8399b4d0,1,ffff80003c433498) at pool_do_get+0x5df pool_get(ffffffff8399b4d0,1) at pool_get+0x162 sys/kern/subr_pool.c:-1 shmget_allocate_segment(ffff8000fffe8020,ffff80003c4336f0,2,ffff80003c433640) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1 sys_shmget(ffff8000fffe8020,ffff80003c4336f0,ffff80003c433640) at sys_shmget+0x195 sys/kern/sysv_shm.c:482 syscall(ffff80003c4336f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4336f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5a26795af10, count: -8