panic: pool_do_get: shmpl free list modified: page 0xfffffd806c941000; item addr 0xfffffd806c941620; offset 0x40=0x6931a8cf
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
123675 21895 32767 0x10 0 0 syz-executor
*180055 15518 32767 0x10 0x4000000 1K syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833a328d) at panic+0x1e5 sys/kern/subr_prf.c:198
pool_do_get(ffffffff839faa18,1,ffff80003c452d88) at pool_do_get+0x5df
pool_get(ffffffff839faa18,1) at pool_get+0x162 sys/kern/subr_pool.c:-1
shmget_allocate_segment(ffff8000fffe6fb0,ffff80003c452fe0,0,ffff80003c452f30) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1
sys_shmget(ffff8000fffe6fb0,ffff80003c452fe0,ffff80003c452f30) at sys_shmget+0x195 sys/kern/sysv_shm.c:482
syscall(ffff80003c452fe0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c452fe0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x483ca3604d0, 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 0xfffffd806c941000; item addr 0xfffffd806c941620; offset 0x40=0x6931a8cf
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833a328d) at panic+0x1e5 sys/kern/subr_prf.c:198
pool_do_get(ffffffff839faa18,1,ffff80003c452d88) at pool_do_get+0x5df
pool_get(ffffffff839faa18,1) at pool_get+0x162 sys/kern/subr_pool.c:-1
shmget_allocate_segment(ffff8000fffe6fb0,ffff80003c452fe0,0,ffff80003c452f30) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1
sys_shmget(ffff8000fffe6fb0,ffff80003c452fe0,ffff80003c452f30) at sys_shmget+0x195 sys/kern/sysv_shm.c:482
syscall(ffff80003c452fe0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c452fe0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x483ca3604d0, count: -8
ddb{1}> show registers
rdi 0
rsi 0x1
rbp 0xffff80003c452bb0
rbx 0xffff8000299dee07
rdx 0
rcx 0xffff8000fffe6fb0
rax 0xffff8000299ddff0
r8 0x101010101010101
r9 0x8080808080808080
r10 0xa50f40caf158830d
r11 0xd9288f688ed5d7af
r12 0xffff8000299dec08
r13 0
r14 0
r15 0x1
rip 0xffffffff8156a625 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80003c452ba0
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=180055 pid=15518 tcnt=4 stat=onproc
flags process=10<SUGID> proc=4000000<THREAD>
runpri=32, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff8000fffe7248,0xffff8000fffe6030
process=0xffff80003b40f040 user=0xffff80003c44e000, vmspace=0xfffffd806cb0b218
estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
21895 123675 87943 32767 7 0x10 syz-executor
21895 351183 87943 32767 3 0x4000090 fsleep syz-executor
15518 347813 36022 32767 2 0x10 syz-executor
*15518 180055 36022 32767 7 0x4000010 syz-executor
15518 467820 36022 32767 3 0x4000090 fsleep syz-executor
15518 335944 36022 32767 3 0x4000090 fsleep syz-executor
95576 400995 87934 32767 2 0x10 syz-executor
95576 47329 87934 32767 3 0x4000090 fsleep syz-executor
31623 114026 52087 32767 3 0x90 nanoslp syz-executor
31623 166875 52087 32767 3 0x4000090 fsleep syz-executor
31623 517843 52087 32767 3 0x4000090 fsleep syz-executor
31623 180428 52087 32767 3 0x4000090 fsleep syz-executor
7971 259991 16388 32767 2 0x10 syz-executor
7971 267831 16388 32767 3 0x4000090 fsleep syz-executor
7971 443153 16388 32767 3 0x4000090 fsleep syz-executor
36249 478162 40514 0 3 0x82 sbwait sshd-session
52087 24133 25569 32767 3 0x90 nanoslp syz-executor
87943 287244 3952 32767 3 0x90 nanoslp syz-executor
16388 256457 11515 32767 3 0x90 nanoslp syz-executor
36022 179765 41127 32767 3 0x90 nanoslp syz-executor
75619 291591 48972 32767 3 0x90 nanoslp syz-executor
81524 86614 43108 32767 3 0x10 biowait syz-executor
87934 261777 20950 32767 3 0x90 nanoslp syz-executor
38824 304879 67758 32767 3 0x90 nanoslp syz-executor
25569 226610 34809 0 3 0x82 wait syz-executor
41127 466707 34809 0 3 0x82 wait syz-executor
43108 87180 34809 0 3 0x82 wait syz-executor
20950 300780 34809 0 3 0x82 wait syz-executor
48972 113578 34809 0 3 0x82 wait syz-executor
11515 82854 34809 0 3 0x82 wait syz-executor
67758 512303 34809 0 3 0x82 wait syz-executor
3952 432933 34809 0 3 0x82 wait syz-executor
34809 429445 43988 0 3 0x82 kqread syz-executor
43988 219910 75772 0 3 0x10008a sigsusp ksh
75772 454754 70430 0 3 0x98 kqread sshd-session
70430 292166 40514 0 3 0x92 kqread sshd-session
21782 460281 1 0 3 0x100083 ttyin getty
40514 118218 1 0 3 0x88 kqread sshd
55343 243409 18007 73 3 0x1100090 kqread syslogd
18007 335071 1 0 3 0x100082 sbwait syslogd
93153 150880 1 0 3 0x100080 kqread resolvd
86896 253751 84954 77 3 0x100092 kqread dhcpleased
44941 79230 84954 77 3 0x100092 kqread dhcpleased
84954 68897 1 0 3 0x80 kqread dhcpleased
23845 141958 0 0 3 0x14200 bored smr
98382 42970 0 0 2 0x14200 zerothread
72792 425289 0 0 3 0x14200 aiodoned aiodoned
819 519323 0 0 3 0x14200 syncer update
64921 325286 0 0 3 0x14200 cleaner cleaner
83565 376139 0 0 3 0x14200 reaper reaper
99282 389149 0 0 3 0x14200 pgdaemon pagedaemon
36605 297067 0 0 3 0x14200 bored viomb
5673 516090 0 0 3 0x40014200 acpi0 acpi0
55725 174895 0 0 3 0x40014200 idle1
82185 192325 0 0 3 0x14200 bored softnet1
15454 62355 0 0 3 0x14200 bored softnet0
98303 489021 0 0 3 0x14200 bored systqmp
34032 4529 0 0 3 0x14200 bored systq
55051 300906 0 0 3 0x14200 tmoslp softclockmp
99165 115961 0 0 3 0x40014200 tmoslp softclock
84973 85393 0 0 3 0x40014200 idle0
1 212093 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 (0xffffffff839faa30)
#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:775
#7 Xsyscall+0x128
Process 21895 (syz-executor) thread 0xffff80003c440fb8 (123675)
shared rwlock uobjlk r = 0 (0xfffffd806f664098)
#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_read+0x3e8 sys/kern/kern_rwlock.c:413
#2 uvm_fault_lower_lookup+0x53 sys/uvm/uvm_fault.c:1214
#3 uvm_fault_lower+0x89 sys/uvm/uvm_fault.c:1348
#4 uvm_fault+0x274 sys/uvm/uvm_fault.c:-1
#5 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
#6 usertrap+0x42f sys/arch/amd64/amd64/trap.c:632
#7 recall_trap+0x8
shared rwlock vmmaplk r = 0 (0xfffffd806cb0b6e8)
#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_read+0x3e8 sys/kern/kern_rwlock.c:413
#2 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1902
#3 uvm_fault_check+0x4f sys/uvm/uvm_fault.c:699
#4 uvm_fault+0x106 sys/uvm/uvm_fault.c:633
#5 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
#6 usertrap+0x42f sys/arch/amd64/amd64/trap.c:632
#7 recall_trap+0x8
Process 15518 (syz-executor) thread 0xffff8000fffe6fb0 (180055)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838fcdc8)
#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 (0xffffffff839faa30)
#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:775
#7 Xsyscall+0x128
Process 81524 (syz-executor) thread 0xffff8000fffee7e0 (86614)
exclusive rrwlock inode r = 0 (0xfffffd807eb7ceb8)
#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 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_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112
#8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
#9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3113
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806d316320)
#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 domkdirat+0x8b sys/kern/vfs_syscalls.c:3098
#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 10193 10958K 10973K 166960K 11284 0
pcb 17 14K 16K 166960K 19 0
rtable 247 7K 7K 166960K 381 0
pf 31 16K 16K 166960K 31 0
ifaddr 42 7K 7K 166960K 44 0
ifgroup 50 2K 2K 166960K 50 0
sysctl 4 1K 9K 166960K 8 0
counters 70 37K 37K 166960K 70 0
ioctlops 0 0K 2K 166960K 34 0
iov 0 0K 14K 166960K 25 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1336 84K 84K 166960K 1440 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 7 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 33 0
dirhash 12 2K 2K 166960K 33 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 25 93K 125K 166960K 549 0
sigio 0 0K 0K 166960K 5 0
proc 63 115K 147K 166960K 510 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 2 0K 0K 166960K 83 0
in_multi 100 7K 7K 166960K 135 0
ether_multi 1 0K 0K 166960K 9 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 91 413K 413K 166960K 91 0
exec 0 0K 1K 166960K 400 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 281 199K 220K 166960K 7184 0
UVM aobj 14 4K 4K 166960K 15 0
pinsyscall 48 96K 112K 166960K 1705 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 40 0
NDP 11 0K 1K 166960K 27 0
temp 51 8674K 8738K 166960K 5830 0
kqueue 13 20K 32K 166960K 121 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 64 0 61 1 0 1 1 0 8 0
rtentry 176 118 0 3 6 0 6 6 0 8 0
unpcb 144 369 0 347 4 0 4 4 0 8 2
syncache 336 20 0 20 1 0 1 1 0 8 1
tcpqe 32 6 0 6 1 0 1 1 0 8 1
tcpcb 736 412 0 400 7 0 7 7 0 8 5
arp 136 18 0 0 1 0 1 1 0 8 0
ipq 40 6 0 2 1 0 1 1 0 8 0
ipqe 40 10 0 5 1 0 1 1 0 8 0
inpcb 328 974 0 956 13 3 10 12 0 8 8
nd6 152 31 0 2 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 498 0 8 32 0 32 32 0 8 0
art_table 40 499 0 8 6 0 6 6 0 8 0
art_node 32 118 0 13 1 0 1 1 0 8 0
sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 30 0 20 1 0 1 1 0 8 0
shmpl 112 12 0 1 1 0 1 1 0 8 0
pool(0xffffffff839faa18:shmpl): page inconsistency: page 0xfffffd806c941000; 23 on list, 11 missing, 35 items per page
dirhash 1024 31 0 14 3 0 3 3 0 8 0
dino2pl 256 2237 0 725 95 0 95 95 0 8 0
ffsino 296 2237 0 725 117 0 117 117 0 8 0
nchpl 144 3017 0 1328 63 0 63 63 0 8 0
vnodes 216 2318 0 0 129 0 129 129 0 8 0
namei 1024 10518 0 10517 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 10190 0 10189 3 2 1 2 1 8 0
plimitpl 152 336 0 312 2 0 2 2 0 8 1
sigapl 424 856 0 802 7 0 7 7 0 8 0
knotepl 120 464 0 0 15 0 15 15 0 8 0
kqueuepl 224 143 0 134 1 0 1 1 0 8 0
pipepl 344 184 0 157 6 0 6 6 0 8 3
fdescpl 528 840 0 802 4 0 4 4 0 8 0
filepl 160 5401 0 5143 16 0 16 16 0 8 3
lockfpl 104 156 0 154 1 0 1 1 0 8 0
lockfspl 48 47 0 45 1 0 1 1 0 8 0
sessionpl 144 38 0 21 1 0 1 1 0 8 0
pgrppl 48 49 0 24 1 0 1 1 0 8 0
ucredpl 104 948 0 929 1 0 1 1 0 8 0
zombiepl 144 804 0 802 1 0 1 1 0 8 0
processpl 1232 856 0 802 5 0 5 5 0 8 0
procpl 664 1593 0 1529 7 0 7 7 0 8 0
sosppl 176 5 0 5 1 0 1 1 0 8 1
sockpl 752 1410 0 1367 19 5 14 17 0 8 8
mcl64k 65536 18 0 0 3 0 3 3 0 8 0
mcl16k 16384 5 0 0 1 0 1 1 0 8 0
mcl12k 12288 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 3 0 0 1 0 1 1 0 8 0
mcl4k 4096 115 0 0 15 0 15 15 0 8 0
mcl2k 2048 64 0 0 8 0 8 8 0 8 0
mtagpl 96 1 0 0 1 0 1 1 0 8 0
mbufpl 256 1888 0 0 118 0 118 118 0 8 0
bufpl 280 3391 0 120 234 0 234 234 0 8 0
anonpl 32 7254 0 0 59 0 59 59 0 246 0
amapchunkpl 152 29698 0 28985 44 0 44 44 0 158 15
amappl16 200 2765 0 2742 14 3 11 14 0 8 7
amappl15 192 5 0 5 1 1 0 1 0 8 0
amappl14 184 7 0 7 2 1 1 1 0 8 1
amappl13 176 411 0 410 1 0 1 1 0 8 0
amappl12 168 1232 0 1184 3 0 3 3 0 8 0
amappl11 160 27 0 27 1 1 0 1 0 8 0
amappl10 152 44 0 34 1 0 1 1 0 8 0
amappl9 144 245 0 244 1 0 1 1 0 8 0
amappl8 136 46 0 45 1 0 1 1 0 8 0
amappl7 128 95 0 94 1 0 1 1 0 8 0
amappl6 120 297 0 285 1 0 1 1 0 8 0
amappl5 112 90 0 82 1 0 1 1 0 8 0
amappl4 104 468 0 442 1 0 1 1 0 8 0
amappl3 96 4140 0 4010 4 0 4 4 0 8 0
amappl2 88 661 0 600 2 0 2 2 0 8 0
amappl1 80 15175 0 14538 17 0 17 17 0 8 0
amappl 88 6282 0 6080 6 0 6 6 0 92 1
uvmvnodes 80 122 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 14 0 1 1 0 1 1 0 8 0
uaddrrnd 24 840 0 802 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 840 0 802 1 0 1 1 0 8 0
vmmpekpl 168 9964 0 9929 3 0 3 3 0 8 0
vmmpepl 168 66840 0 64651 116 0 116 116 0 357 11
vmsppl 488 839 0 802 7 1 6 6 0 8 0
rwobjpl 80 22857 0 21785 26 0 26 26 0 8 0
pdppl 4096 1687 0 1604 129 42 87 97 0 8 4
pvpl 32 15349 0 0 124 0 124 124 0 265 0
pmappl 256 839 0 802 4 1 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 422 0 45 11 0 11 11 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffffffff8383eff0) 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(ffffffff838fcbc0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff838fcbc0) at __mp_lock+0x199 sys/kern/kern_lock.c:165
intr_handler(ffff800038ff27b0,ffff80000006b400) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__mp_lock(ffffffff838fcbc0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff838fcbc0) at __mp_lock+0x192 sys/kern/kern_lock.c:165
uvm_fault(fffffd806cb0b5e8,8d5a89bf000,0,1) at uvm_fault+0x1ea sys/uvm/uvm_fault.c:656
upageflttrap(ffff800038ff2b50,8d5a89bf000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff800038ff2b50) at usertrap+0x42f sys/arch/amd64/amd64/trap.c:632
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x734dc64fb410, count: 4
ddb{0}> trace
x86_ipi_db(ffffffff8383eff0) 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(ffffffff838fcbc0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff838fcbc0) at __mp_lock+0x199 sys/kern/kern_lock.c:165
intr_handler(ffff800038ff27b0,ffff80000006b400) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
__mp_lock(ffffffff838fcbc0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff838fcbc0) at __mp_lock+0x192 sys/kern/kern_lock.c:165
uvm_fault(fffffd806cb0b5e8,8d5a89bf000,0,1) at uvm_fault+0x1ea sys/uvm/uvm_fault.c:656
upageflttrap(ffff800038ff2b50,8d5a89bf000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff800038ff2b50) at usertrap+0x42f sys/arch/amd64/amd64/trap.c:632
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x734dc64fb410, 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(ffffffff833a328d) at panic+0x1e5 sys/kern/subr_prf.c:198
pool_do_get(ffffffff839faa18,1,ffff80003c452d88) at pool_do_get+0x5df
pool_get(ffffffff839faa18,1) at pool_get+0x162 sys/kern/subr_pool.c:-1
shmget_allocate_segment(ffff8000fffe6fb0,ffff80003c452fe0,0,ffff80003c452f30) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1
sys_shmget(ffff8000fffe6fb0,ffff80003c452fe0,ffff80003c452f30) at sys_shmget+0x195 sys/kern/sysv_shm.c:482
syscall(ffff80003c452fe0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c452fe0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x483ca3604d0, count: 7
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff833a328d) at panic+0x1e5 sys/kern/subr_prf.c:198
pool_do_get(ffffffff839faa18,1,ffff80003c452d88) at pool_do_get+0x5df
pool_get(ffffffff839faa18,1) at pool_get+0x162 sys/kern/subr_pool.c:-1
shmget_allocate_segment(ffff8000fffe6fb0,ffff80003c452fe0,0,ffff80003c452f30) at shmget_allocate_segment+0x1af sys/kern/sysv_shm.c:-1
sys_shmget(ffff8000fffe6fb0,ffff80003c452fe0,ffff80003c452f30) at sys_shmget+0x195 sys/kern/sysv_shm.c:482
syscall(ffff80003c452fe0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c452fe0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x483ca3604d0, count: -8