assert "_kernel_lock_held()" failed in uvm_map.c

0 views
Skip to first unread message

syzbot

unread,
Aug 31, 2021, 11:39:17 PM8/31/21
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 444296aeff58 Honour netinet6 when generating symlinks to t..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=172b1723300000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=dd7a70eaf794705db27e

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dd7a70...@syzkaller.appspotmail.com

panic: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_map.c", line 3641
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*108370 83975 0 0 0x4000000 1 syz-executor.1
354406 90976 0 0x14000 0x200 0 reaper
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202
__assert(ffffffff824bffea,ffffffff824cd928,e39,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161
uvmspace_free(fffffd806ee75e68) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641
vm_impl_init_vmx(ffff800021295c70,ffff800021262fc0) at vm_impl_init_vmx+0x159
vm_create(ffff800000b66800,ffff800021262fc0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline]
vm_create(ffff800000b66800,ffff800021262fc0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510
vmmioctl(a00,c5005601,ffff800000b66800,1,ffff800021262fc0) at vmmioctl+0x1f2
VOP_IOCTL(fffffd806e38b830,c5005601,ffff800000b66800,1,fffffd807f7d8660,ffff800021262fc0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295
vn_ioctl(fffffd8069be61e8,c5005601,ffff800000b66800,ffff800021262fc0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531
sys_ioctl(ffff800021262fc0,ffff800022ead908,ffff800022ead950) at sys_ioctl+0x4a2
syscall(ffff800022ead9d0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800022ead9d0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x89521665c90, count: 3
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: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_map.c", line 3641
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202
__assert(ffffffff824bffea,ffffffff824cd928,e39,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161
uvmspace_free(fffffd806ee75e68) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641
vm_impl_init_vmx(ffff800021295c70,ffff800021262fc0) at vm_impl_init_vmx+0x159
vm_create(ffff800000b66800,ffff800021262fc0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline]
vm_create(ffff800000b66800,ffff800021262fc0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510
vmmioctl(a00,c5005601,ffff800000b66800,1,ffff800021262fc0) at vmmioctl+0x1f2
VOP_IOCTL(fffffd806e38b830,c5005601,ffff800000b66800,1,fffffd807f7d8660,ffff800021262fc0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295
vn_ioctl(fffffd8069be61e8,c5005601,ffff800000b66800,ffff800021262fc0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531
sys_ioctl(ffff800021262fc0,ffff800022ead908,ffff800022ead950) at sys_ioctl+0x4a2
syscall(ffff800022ead9d0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800022ead9d0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x89521665c90, count: -12
ddb{1}> show registers
rdi 0
rsi 0x1
rbp 0xffff800022ead400
rbx 0xffff800020d39bff
rdx 0x8b
rcx 0x2
rax 0x8a
r8 0xffffffff81a0be34 kprintf+0x144
r9 0x1
r10 0x324f258e8a1e7b35
r11 0x2810d4c242613b5c
r12 0xffff800020d39a00
r13 0
r14 0
r15 0x1
rip 0xffffffff81e3e908 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800022ead3f0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.1) pid=108370 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=74, nice=20
forw=0xffffffffffffffff, list=0xffff800021262000,0xffffffff82913618
process=0xffff8000ffffa188 user=0xffff800022ea8000, vmspace=0xfffffd806ee755c8
estcpu=36, cpticks=2, pctcpu=0.0
user=0, sys=2, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
83975 135525 88489 0 2 0 syz-executor.1
*83975 108370 88489 0 7 0x4000000 syz-executor.1
88489 96575 47522 0 3 0x82 nanoslp syz-executor.1
28959 348733 47522 0 3 0x82 nanoslp syz-executor.0
47522 349034 92509 0 3 0x82 thrsleep syz-fuzzer
47522 9384 92509 0 3 0x4000082 thrsleep syz-fuzzer
47522 63850 92509 0 3 0x4000082 thrsleep syz-fuzzer
47522 268158 92509 0 3 0x4000082 thrsleep syz-fuzzer
47522 381793 92509 0 3 0x4000082 thrsleep syz-fuzzer
47522 83387 92509 0 3 0x4000082 thrsleep syz-fuzzer
47522 282260 92509 0 3 0x4000082 kqread syz-fuzzer
47522 309734 92509 0 3 0x4000082 thrsleep syz-fuzzer
92509 153408 7928 0 3 0x10008a sigsusp ksh
7928 206772 62068 0 3 0x9a select sshd
13263 218800 1 0 3 0x100083 ttyin getty
62068 320453 1 0 3 0x88 select sshd
48532 82663 56133 74 3 0x100092 bpf pflogd
56133 167659 1 0 3 0x80 netio pflogd
88927 200394 76258 73 3 0x100090 kqread syslogd
76258 264302 1 0 3 0x100082 netio syslogd
2505 144614 1 0 3 0x100080 kqread resolvd
3567 306921 96392 77 3 0x100092 kqread dhcpleased
27445 243637 96392 77 3 0x100092 kqread dhcpleased
96392 420276 1 0 3 0x80 kqread dhcpleased
89909 441484 0 0 3 0x14200 bored smr
10810 206019 0 0 2 0x14200 zerothread
47761 369254 0 0 3 0x14200 aiodoned aiodoned
15722 113415 0 0 3 0x14200 syncer update
30111 144356 0 0 3 0x14200 cleaner cleaner
90976 354406 0 0 7 0x14200 reaper
96282 424233 0 0 3 0x14200 pgdaemon pagedaemon
98619 82135 0 0 3 0x14200 bored crynlk
39947 422382 0 0 3 0x14200 bored crypto
61942 130955 0 0 3 0x14200 bored viomb
27379 482852 0 0 3 0x40014200 acpi0 acpi0
59695 410915 0 0 3 0x40014200 idle1
8710 65714 0 0 3 0x14200 bored softnet
76470 192603 0 0 3 0x14200 bored systqmp
51602 147832 0 0 3 0x14200 bored systq
40868 312696 0 0 3 0x40014200 bored softclock
87770 204075 0 0 3 0x40014200 idle0
1 53763 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
CPU 0:


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 1, 2021, 1:42:22 AM9/1/21
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 444296aeff58 Honour netinet6 when generating symlinks to t..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=10fd3a91300000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1060dba9300000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10a57845300000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dd7a70...@syzkaller.appspotmail.com

panic: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_map.c", line 3641
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*399744 50503 0 0x2 0 0 syz-executor7269
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202
__assert(ffffffff824bffea,ffffffff824cd928,e39,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161
uvmspace_free(fffffd806f14b178) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641
vm_impl_init_vmx(ffff800021215810,ffff8000ffff7cf0) at vm_impl_init_vmx+0x159
vm_create(ffff800000b29800,ffff8000ffff7cf0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline]
vm_create(ffff800000b29800,ffff8000ffff7cf0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510
vmmioctl(a00,c5005601,ffff800000b29800,1,ffff8000ffff7cf0) at vmmioctl+0x1f2
VOP_IOCTL(fffffd806e3fb750,c5005601,ffff800000b29800,1,fffffd807f7d8780,ffff8000ffff7cf0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295
vn_ioctl(fffffd806e48c860,c5005601,ffff800000b29800,ffff8000ffff7cf0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531
sys_ioctl(ffff8000ffff7cf0,ffff8000212290e8,ffff800021229130) at sys_ioctl+0x4a2
syscall(ffff8000212291b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000212291b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff82b0, count: 3
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{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_map.c", line 3641
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202
__assert(ffffffff824bffea,ffffffff824cd928,e39,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161
uvmspace_free(fffffd806f14b178) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641
vm_impl_init_vmx(ffff800021215810,ffff8000ffff7cf0) at vm_impl_init_vmx+0x159
vm_create(ffff800000b29800,ffff8000ffff7cf0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline]
vm_create(ffff800000b29800,ffff8000ffff7cf0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510
vmmioctl(a00,c5005601,ffff800000b29800,1,ffff8000ffff7cf0) at vmmioctl+0x1f2
VOP_IOCTL(fffffd806e3fb750,c5005601,ffff800000b29800,1,fffffd807f7d8780,ffff8000ffff7cf0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295
vn_ioctl(fffffd806e48c860,c5005601,ffff800000b29800,ffff8000ffff7cf0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531
sys_ioctl(ffff8000ffff7cf0,ffff8000212290e8,ffff800021229130) at sys_ioctl+0x4a2
syscall(ffff8000212291b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000212291b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff82b0, count: -12
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff800021228be0
rbx 0xffffffff8280abff cpu_info_full_primary+0x2bff
rdx 0x8b
rcx 0x2
rax 0x8a
r8 0xffffffff81a0be34 kprintf+0x144
r9 0x1
r10 0x40196d6b9371f6a0
r11 0xb767ae8f1a1f75b0
r12 0xffffffff8280aa00 cpu_info_full_primary+0x2a00
r13 0
r14 0
r15 0x1
rip 0xffffffff81e3e908 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800021228bd0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor7269) pid=399744 stat=onproc
flags process=2<EXEC> proc=0
pri=53, usrpri=53, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffff62b0,0xffffffff82913618
process=0xffff80002120ae20 user=0xffff800021224000, vmspace=0xfffffd806f14b008
estcpu=3, cpticks=2, pctcpu=0.0
user=0, sys=2, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
*50503 399744 55479 0 7 0x2 syz-executor7269
55479 65601 69566 0 3 0x10008a sigsusp ksh
69566 521937 39393 0 3 0x9a select sshd
50310 372305 1 0 3 0x100083 ttyin getty
39393 421249 1 0 3 0x88 select sshd
30288 166732 17082 74 3 0x100092 bpf pflogd
17082 476698 1 0 3 0x80 netio pflogd
52064 407308 39319 73 3 0x100090 kqread syslogd
39319 254209 1 0 3 0x100082 netio syslogd
18608 47821 1 0 3 0x100080 kqread resolvd
94341 512179 7017 77 3 0x100092 kqread dhcpleased
68745 313064 7017 77 3 0x100092 kqread dhcpleased
7017 410230 1 0 3 0x80 kqread dhcpleased
95393 154645 0 0 3 0x14200 bored smr
82959 72468 0 0 3 0x14200 pgzero zerothread
79410 127088 0 0 3 0x14200 aiodoned aiodoned
12050 287159 0 0 3 0x14200 syncer update
71557 203843 0 0 3 0x14200 cleaner cleaner
94885 274093 0 0 3 0x14200 reaper reaper
18214 160255 0 0 3 0x14200 pgdaemon pagedaemon
11684 143842 0 0 3 0x14200 bored crynlk
8871 326875 0 0 3 0x14200 bored crypto
25366 410310 0 0 3 0x14200 bored viomb
44122 233888 0 0 3 0x40014200 acpi0 acpi0
63721 517444 0 0 7 0x40014200 idle1
94647 116471 0 0 3 0x14200 bored softnet
65669 191529 0 0 3 0x14200 bored systqmp
73708 471960 0 0 3 0x14200 bored systq
51829 421663 0 0 3 0x40014200 bored softclock
53980 131144 0 0 3 0x40014200 idle0
1 90089 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 50503 (syz-executor7269) thread 0xffff8000ffff7cf0 (399744)
exclusive rwlock vmlistlock r = 0 (0xffff800000655c78)
#0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1 vm_create+0x12e vm_impl_init sys/arch/amd64/amd64/vmm.c:1688 [inline]
#1 vm_create+0x12e sys/arch/amd64/amd64/vmm.c:1510
#2 vmmioctl+0x1f2
#3 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295
#4 vn_ioctl+0xba sys/kern/vfs_vnops.c:531
#5 sys_ioctl+0x4a2
#6 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#6 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
#7 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10111 6416K 6417K 78643K 11201 0
pcb 13 8K 8K 78643K 13 0
rtable 62 2K 2K 78643K 112 0
ifaddr 29 8K 8K 78643K 30 0
counters 40 33K 33K 78643K 40 0
ioctlops 1 2K 4K 78643K 1480 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 6 0
vnodes 1183 74K 75K 78643K 1188 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 1K 78643K 2 0
VM map 2 1K 1K 78643K 2 0
sem 2 0K 0K 78643K 2 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12598 0
file desc 1 0K 0K 78643K 1 0
proc 67 87K 87K 78643K 278 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
in_multi 11 0K 0K 78643K 11 0
ether_multi 1 0K 0K 78643K 1 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 19 95K 95K 78643K 19 0
exec 0 0K 2K 78643K 348 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 84 16K 16K 78643K 1732 0
UVM aobj 3 2K 2K 78643K 3 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 4 0K 0K 78643K 4 0
temp 23 4193K 4257K 78643K 1963 0
kqueue 9 12K 12K 78643K 9 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 17 0 14 1 0 1 1 0 8 0
rtentry 112 23 0 1 1 0 1 1 0 8 0
unpcb 120 35 0 20 1 0 1 1 0 8 0
syncache 296 5 0 5 1 0 1 1 0 8 1
tcpcb 736 8 0 5 1 0 1 1 0 8 0
arp 120 2 0 0 1 0 1 1 0 8 0
inpcb 304 32 0 26 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
pfstitem 24 9 0 0 1 0 1 1 0 8 0
pfstkey 112 9 0 0 1 0 1 1 0 8 0
pfstate 320 9 0 0 1 0 1 1 0 8 0
pfrule 1360 21 0 16 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 97 0 0 7 0 7 7 0 8 0
art_table 32 98 0 0 1 0 1 1 0 8 0
art_node 16 22 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1413 0 23 87 0 87 87 0 8 0
ffsino 272 1413 0 23 93 0 93 93 0 8 0
nchpl 144 1588 0 40 58 0 58 58 0 8 0
uvmvnodes 72 1423 0 0 26 0 26 26 0 8 0
vnodes 224 1423 0 0 84 0 84 84 0 8 0
namei 1024 4147 0 4147 1 0 1 1 0 8 1
percpumem 16 32 0 0 1 0 1 1 0 8 0
vmpool 560 1 0 0 1 0 1 1 0 8 0
scxspl 216 3478 0 3478 2 1 1 2 0 8 1
plimitpl 152 16 0 9 1 0 1 1 0 8 0
sigapl 424 255 0 224 4 0 4 4 0 8 0
knotepl 112 25 0 0 1 0 1 1 0 8 0
kqueuepl 216 5 0 0 1 0 1 1 0 8 0
pipepl 336 69 0 66 1 0 1 1 0 8 0
fdescpl 496 239 0 224 3 0 3 3 0 8 0
filepl 152 1085 0 1026 3 0 3 3 0 8 0
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 18 0 9 1 0 1 1 0 8 0
pgrppl 48 18 0 9 1 0 1 1 0 8 0
ucredpl 96 69 0 57 1 0 1 1 0 8 0
zombiepl 144 224 0 224 1 0 1 1 0 8 1
processpl 1072 255 0 224 3 0 3 3 0 8 0
procpl 672 255 0 224 3 0 3 3 0 8 0
sockpl 480 84 0 60 4 0 4 4 0 8 0
mcl8k 8192 5 0 0 1 0 1 1 0 8 0
mcl4k 4096 2 0 0 1 0 1 1 0 8 0
mcl2k 2048 57 0 0 8 0 8 8 0 8 0
mtagpl 96 3 0 0 1 0 1 1 0 8 0
mbufpl 256 104 0 0 7 0 7 7 0 8 0
bufpl 280 2012 0 93 138 0 138 138 0 8 0
anonpl 24 32732 0 30426 17 2 15 17 0 186 1
amapchunkpl 152 3043 0 2899 8 2 6 8 0 158 0
amappl16 200 96 0 92 1 0 1 1 0 8 0
amappl13 176 18 0 17 1 0 1 1 0 8 0
amappl12 168 9 0 9 1 0 1 1 0 8 1
amappl11 160 44 0 30 1 0 1 1 0 8 0
amappl10 152 24 0 20 1 0 1 1 0 8 0
amappl9 144 223 0 219 1 0 1 1 0 8 0
amappl8 136 275 0 275 1 0 1 1 0 8 1
amappl7 128 51 0 44 1 0 1 1 0 8 0
amappl6 120 85 0 80 1 0 1 1 0 8 0
amappl5 112 176 0 159 1 0 1 1 0 8 0
amappl4 104 526 0 506 1 0 1 1 0 8 0
amappl3 96 48 0 45 1 0 1 1 0 8 0
amappl2 88 401 0 355 2 0 2 2 0 8 0
amappl1 80 7576 0 7200 9 0 9 9 0 8 0
amappl 88 1485 0 1420 2 0 2 2 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 64 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 240 0 224 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 240 0 224 1 0 1 1 0 8 0
vmmpekpl 168 6024 0 6008 1 0 1 1 0 8 0
vmmpepl 168 22450 0 21603 41 0 41 41 0 357 3
vmsppl 368 239 0 224 2 0 2 2 0 8 0
rwobjpl 56 7002 0 6450 9 0 9 9 0 8 1
pdppl 4096 488 0 448 52 12 40 44 0 8 0
pvpl 32 111865 0 107672 38 0 38 38 0 265 3
pmappl 224 239 0 224 2 0 2 2 0 8 0
extentpl 40 58 0 40 1 0 1 1 0 8 0
phpool 112 270 0 15 8 0 8 8 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff824502ee) at panic+0x177 sys/kern/subr_prf.c:202
__assert(ffffffff824bffea,ffffffff824cd928,e39,ffffffff824ce6c6) at __assert+0x25 sys/kern/subr_prf.c:161
uvmspace_free(fffffd806f14b178) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641
vm_impl_init_vmx(ffff800021215810,ffff8000ffff7cf0) at vm_impl_init_vmx+0x159
vm_create(ffff800000b29800,ffff8000ffff7cf0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline]
vm_create(ffff800000b29800,ffff8000ffff7cf0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510
vmmioctl(a00,c5005601,ffff800000b29800,1,ffff8000ffff7cf0) at vmmioctl+0x1f2
VOP_IOCTL(fffffd806e3fb750,c5005601,ffff800000b29800,1,fffffd807f7d8780,ffff8000ffff7cf0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295
vn_ioctl(fffffd806e48c860,c5005601,ffff800000b29800,ffff8000ffff7cf0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531
sys_ioctl(ffff8000ffff7cf0,ffff8000212290e8,ffff800021229130) at sys_ioctl+0x4a2
syscall(ffff8000212291b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000212291b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff82b0, count: -12
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: -5
ddb{1}>

Reply all
Reply to author
Forward
0 new messages