kernel: integer divide fault trap, code=0

4 views
Skip to first unread message

syzbot

unread,
Jun 8, 2020, 12:34:17 AM6/8/20
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 957dfd9f Add powerdown code.
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=168e7832100000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=9c309db201f06e39a8ba

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

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

kernel: integer divide fault trap, code=0
Stopped at pf_get_transaddr+0x298: idivl %r13d,%eax
ddb{1}>
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> trace
pf_get_transaddr(ffff800000a6d550,ffff800020e91180,ffff800020e91038,ffff800020e91060) at pf_get_transaddr+0x298 sys/net/pf_lb.c:689
pf_test_rule(ffff800020e91180,ffff800020e91270,ffff800020e91280,ffff800020e91260,ffff800020e91248,3) at pf_test_rule+0x495 sys/net/pf.c:3822
pf_test(2,2,ffff80000017b2a8,ffff800020e91378) at pf_test+0x1909 sys/net/pf.c:7101
ip_output(fffffd806f67b600,0,fffffd806f6de4d0,800,0,fffffd806f6de460) at ip_output+0xc5e sys/netinet/ip_output.c:421
tcp_output(ffff800000a0b320) at tcp_output+0x2664 sys/netinet/tcp_output.c:1040
tcp_usrreq(fffffd806eb477d8,9,fffffd806f67bb00,0,0,ffff800020edeeb0) at tcp_usrreq+0xa55
sosend(fffffd806eb477d8,0,ffff800020e917e8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549
dofilewritev(ffff800020edeeb0,4,ffff800020e917e8,0,ffff800020e918d0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365
sys_write(ffff800020edeeb0,ffff800020e91880,ffff800020e918d0) at sys_write+0x83 sys/kern/sys_generic.c:285
syscall(ffff800020e91950) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800020e91950) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeb9a0, count: -11
ddb{1}> show registers
rdi 0
rsi 0xfffe __ALIGN_SIZE+0xeffe
rbp 0xffff800020e90fd0
rbx 0
rdx 0
rcx 0xffff __ALIGN_SIZE+0xefff
rax 0x7497 __ALIGN_SIZE+0x6497
r8 0xffffffff81877f46 pf_insert_src_node+0x2d6
r9 0x1
r10 0x2
r11 0x20dcae043e6e93cb
r12 0x7497 __ALIGN_SIZE+0x6497
r13 0
r14 0xffff800020e91180
r15 0xffff800000a6d550
rip 0xffffffff817d89d8 pf_get_transaddr+0x298
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800020e90f60
ss 0x10
pf_get_transaddr+0x298: idivl %r13d,%eax
ddb{1}> show proc
PROC (sshd) pid=50190 stat=onproc
flags process=12<EXEC,SUGID,8ORPHAN> proc=0
pri=24, usrpri=51, nice=20
forw=0xffffffffffffffff, list=0xffff800020ede760,0xffff800020edf610
process=0xffff800020ec8f78 user=0xffff800020e8c000, vmspace=0xfffffd806e95b2e8
estcpu=1, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
92029 71536 1548 0 7 0 syz-executor.1
78715 66311 0 0 3 0x14200 bored sosplice
1548 376128 38635 0 3 0x82 nanosleep syz-executor.1
22103 180700 38635 0 2 0x2 syz-executor.0
38635 416577 73341 0 3 0x82 thrsleep syz-fuzzer
38635 192886 73341 0 3 0x4000082 nanosleep syz-fuzzer
38635 371088 73341 0 3 0x4000082 thrsleep syz-fuzzer
38635 268051 73341 0 3 0x4000082 nanosleep syz-fuzzer
38635 78726 73341 0 3 0x4000082 thrsleep syz-fuzzer
38635 493359 73341 0 3 0x4000082 thrsleep syz-fuzzer
38635 299597 73341 0 3 0x4000082 thrsleep syz-fuzzer
38635 322000 73341 0 3 0x4000082 thrsleep syz-fuzzer
38635 296389 73341 0 3 0x4000082 kqread syz-fuzzer
38635 457278 73341 0 3 0x4000082 thrsleep syz-fuzzer
73341 144279 53208 0 3 0x10008a pause ksh
*53208 50190 45403 0 7 0x12 sshd
34173 392399 1 0 3 0x100083 ttyin getty
45403 226214 1 0 3 0x80 select sshd
50996 260358 53999 74 3 0x100092 bpf pflogd
53999 478863 1 0 3 0x80 netio pflogd
5515 414330 11554 73 3 0x100090 kqread syslogd
11554 413915 1 0 3 0x100082 netio syslogd
18358 46125 1 77 3 0x100090 poll dhclient
14700 181812 1 0 3 0x80 poll dhclient
79570 477512 0 0 3 0x14200 bored smr
56666 440103 0 0 2 0x14200 zerothread
4058 456126 0 0 3 0x14200 aiodoned aiodoned
55961 107892 0 0 3 0x14200 syncer update
83836 411997 0 0 3 0x14200 cleaner cleaner
83265 412703 0 0 3 0x14200 reaper reaper
39908 282705 0 0 3 0x14200 pgdaemon pagedaemon
60747 401987 0 0 3 0x14200 bored crynlk
82465 244750 0 0 3 0x14200 bored crypto
49605 372855 0 0 3 0x40014200 acpi0 acpi0
96310 343783 0 0 3 0x40014200 idle1
86029 502881 0 0 3 0x14200 bored softnet
70424 388375 0 0 3 0x14200 bored systqmp
78876 97298 0 0 3 0x14200 bored systq
99905 201944 0 0 3 0x40014200 bored softclock
59999 282093 0 0 3 0x40014200 idle0
1 208523 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 53208 (sshd) thread 0xffff800020edeeb0 (50190)
exclusive rwlock netlock r = 0 (0xffffffff82509548)
#0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1 solock+0x5a sys/kern/uipc_socket2.c:282
#2 sosend+0x559 sys/kern/uipc_socket.c:537
#3 dofilewritev+0x1b6 sys/kern/sys_generic.c:365
#4 sys_write+0x83 sys/kern/sys_generic.c:285
#5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
#6 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9504 6410K 6666K 78643K 10811 0
pcb 13 8K 8K 78643K 45 0
rtable 128 8K 8K 78643K 312 0
ifaddr 62 12K 13K 78643K 84 0
counters 43 33K 34K 78643K 51 0
ioctlops 0 0K 4K 78643K 1509 0
iov 0 0K 16K 78643K 20 0
mount 1 1K 1K 78643K 1 0
vnodes 1219 77K 77K 78643K 1289 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 5 0
VM map 2 1K 1K 78643K 2 0
sem 11 1K 1K 78643K 25 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1824 197K 290K 78643K 13058 0
file desc 5 13K 25K 78643K 191 0
proc 62 63K 95K 78643K 461 0
subproc 32 2K 2K 78643K 34 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 10 0
in_multi 33 2K 2K 78643K 46 0
ether_multi 1 0K 0K 78643K 5 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 37 175K 175K 78643K 37 0
exec 0 0K 1K 78643K 226 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 116 55K 55K 78643K 1561 0
UVM aobj 15 2K 2K 78643K 17 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 18 0
NDP 10 0K 0K 78643K 18 0
temp 87 3038K 3103K 78643K 6068 0
kqueue 3 4K 8K 78643K 8 0
SYN cache 2 16K 16K 78643K 2 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp 64 6 0 0 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 80 25 0 23 1 0 1 1 0 8 0
rtentry 112 46 0 1 2 0 2 2 0 8 0
unpcb 120 84 0 74 1 0 1 1 0 8 0
syncache 264 4 0 4 1 1 0 1 0 8 0
tcpqe 32 428 0 428 1 1 0 1 0 8 0
tcpcb 544 66 0 62 1 0 1 1 0 8 0
inpcb 280 186 0 178 3 1 2 2 0 8 1
nd6 48 7 0 0 1 0 1 1 0 8 0
pfosfp 40 846 0 423 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfrktable 1344 23 0 15 1 0 1 1 0 8 0
pfstitem 24 17 0 17 1 0 1 1 0 8 1
pfstkey 112 17 0 17 1 0 1 1 0 8 1
pfstate 328 17 0 13 2 0 2 2 0 8 0
pfsrctr 152 1 0 0 1 0 1 1 0 8 0
pfrule 1360 33 0 18 3 1 2 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 203 0 0 13 0 13 13 0 8 0
art_table 32 204 0 0 2 0 2 2 0 8 0
art_node 16 45 0 4 1 0 1 1 0 8 0
semupl 112 6 0 6 1 1 0 1 0 8 0
semapl 112 9 0 0 1 0 1 1 0 8 0
shmpl 112 15 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1630 0 223 89 0 89 89 0 8 0
ffsino 272 1630 0 223 95 1 94 94 0 8 0
nchpl 144 2171 0 560 60 0 60 60 0 8 0
uvmvnodes 72 1724 0 0 32 0 32 32 0 8 0
vnodes 208 1724 0 0 91 0 91 91 0 8 0
namei 1024 5780 0 5780 2 1 1 1 0 8 1
percpumem 16 36 0 4 1 0 1 1 0 8 0
vcpupl 1984 4 0 0 1 0 1 1 0 8 0
vmpool 560 6 0 2 2 1 1 1 0 8 0
pfiaddrpl 120 10 0 2 1 0 1 1 0 8 0
scxspl 192 5496 0 5496 7 5 2 6 0 8 2
plimitpl 152 23 0 15 1 0 1 1 0 8 0
sigapl 424 407 0 375 4 0 4 4 0 8 0
futexpl 56 2394 0 2394 1 0 1 1 0 8 1
knotepl 112 68 0 49 1 0 1 1 0 8 0
kqueuepl 144 33 0 31 1 0 1 1 0 8 0
pipelkpl 48 103 0 93 1 0 1 1 0 8 0
pipepl 120 206 0 187 1 0 1 1 0 8 0
fdescpl 496 391 0 375 3 0 3 3 0 8 0
filepl 152 2178 0 2078 6 1 5 5 0 8 1
lockfpl 104 37 0 36 1 0 1 1 0 8 0
lockfspl 48 15 0 14 1 0 1 1 0 8 0
sessionpl 112 18 0 7 1 0 1 1 0 8 0
pgrppl 48 18 0 7 1 0 1 1 0 8 0
ucredpl 96 166 0 155 1 0 1 1 0 8 0
zombiepl 144 375 0 375 2 1 1 1 0 8 1
processpl 984 407 0 375 6 1 5 5 0 8 0
procpl 624 794 0 753 4 0 4 4 0 8 0
sockpl 400 295 0 276 4 1 3 3 0 8 1
mcl64k 65536 5 0 0 1 0 1 1 0 8 0
mcl16k 16384 1 0 0 1 0 1 1 0 8 0
mcl12k 12288 1 0 0 1 0 1 1 0 8 0
mcl9k 9216 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 2 0 0 1 0 1 1 0 8 0
mcl4k 4096 4 0 0 1 0 1 1 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 195 0 0 24 0 24 24 0 8 0
mtagpl 80 13 0 0 1 0 1 1 0 8 0
mbufpl 256 207 0 0 13 0 13 13 0 8 0
bufpl 280 3528 0 134 243 0 243 243 0 8 0
anonpl 16 50813 0 35280 69 6 63 68 0 124 0
amapchunkpl 152 2207 0 2058 12 4 8 12 0 158 0
amappl16 192 1648 0 822 42 0 42 42 0 8 0
amappl15 184 1 0 1 1 1 0 1 0 8 0
amappl14 176 28 0 21 1 0 1 1 0 8 0
amappl13 168 112 0 108 1 0 1 1 0 8 0
amappl12 160 7 0 5 2 1 1 1 0 8 0
amappl11 152 60 0 45 1 0 1 1 0 8 0
amappl10 144 105 0 98 1 0 1 1 0 8 0
amappl9 136 384 0 382 1 0 1 1 0 8 0
amappl8 128 338 0 310 1 0 1 1 0 8 0
amappl7 120 194 0 181 1 0 1 1 0 8 0
amappl6 112 24 0 22 1 0 1 1 0 8 0
amappl5 104 302 0 285 1 0 1 1 0 8 0
amappl4 96 576 0 545 1 0 1 1 0 8 0
amappl3 88 105 0 99 1 0 1 1 0 8 0
amappl2 80 2177 0 2113 2 0 2 2 0 8 0
amappl1 72 18434 0 17999 23 13 10 18 0 8 0
amappl 80 1049 0 1004 2 0 2 2 0 84 0
dma4096 4096 1 0 1 1 1 0 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 16 0 2 1 0 1 1 0 8 0
uaddrrnd 24 397 0 377 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 397 0 377 1 0 1 1 0 8 0
vmmpekpl 168 7079 0 7045 2 0 2 2 0 8 0
vmmpepl 168 54258 0 52308 117 15 102 112 0 357 12
vmsppl 368 396 0 377 2 0 2 2 0 8 0
pdppl 4096 802 0 758 6 0 6 6 0 8 0
pvpl 32 169388 0 150736 166 5 161 166 0 265 9
pmappl 232 396 0 377 3 1 2 2 0 8 0
extentpl 40 53 0 36 1 0 1 1 0 8 0
phpool 112 266 0 6 8 0 8 8 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff824f2ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352
x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
alltraps() at alltraps+0x138
end of kernel
end trace frame: 0x7f7ffffef660, count: -4
ddb{0}> machine ddbcpu 1
Stopped at pf_get_transaddr+0x298: idivl %r13d,%eax
ddb{1}> trace
pf_get_transaddr(ffff800000a6d550,ffff800020e91180,ffff800020e91038,ffff800020e91060) at pf_get_transaddr+0x298 sys/net/pf_lb.c:689
pf_test_rule(ffff800020e91180,ffff800020e91270,ffff800020e91280,ffff800020e91260,ffff800020e91248,3) at pf_test_rule+0x495 sys/net/pf.c:3822
pf_test(2,2,ffff80000017b2a8,ffff800020e91378) at pf_test+0x1909 sys/net/pf.c:7101
ip_output(fffffd806f67b600,0,fffffd806f6de4d0,800,0,fffffd806f6de460) at ip_output+0xc5e sys/netinet/ip_output.c:421
tcp_output(ffff800000a0b320) at tcp_output+0x2664 sys/netinet/tcp_output.c:1040
tcp_usrreq(fffffd806eb477d8,9,fffffd806f67bb00,0,0,ffff800020edeeb0) at tcp_usrreq+0xa55
sosend(fffffd806eb477d8,0,ffff800020e917e8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549
dofilewritev(ffff800020edeeb0,4,ffff800020e917e8,0,ffff800020e918d0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365
sys_write(ffff800020edeeb0,ffff800020e91880,ffff800020e918d0) at sys_write+0x83 sys/kern/sys_generic.c:285
syscall(ffff800020e91950) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800020e91950) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeb9a0, count: -11


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jun 8, 2020, 12:46:15 AM6/8/20
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 957dfd9f Add powerdown code.
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1344f451100000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16a379a6100000

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

login: kernel: integer divide fault trap, code=0
Stopped at pf_get_transaddr+0x298: idivl %r13d,%eax
ddb{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
the kernel did not panic
ddb{0}> trace
pf_get_transaddr(ffff8000009dca98,ffff800020e27230,ffff800020e270e8,ffff800020e27110) at pf_get_transaddr+0x298 sys/net/pf_lb.c:689
pf_test_rule(ffff800020e27230,ffff800020e27320,ffff800020e27330,ffff800020e27310,ffff800020e272f8,3) at pf_test_rule+0x495 sys/net/pf.c:3822
pf_test(18,2,ffff8000009d5000,ffff800020e274b0) at pf_test+0x1a35 sys/net/pf.c:7025
ip6_output(fffffd807e9b5500,ffffffff826428e0,0,0,ffff800020e27548,0) at ip6_output+0x1152 sys/netinet6/ip6_output.c:618
mld6_sendpkt(ffff800000a22f80,83,0) at mld6_sendpkt+0x2da sys/netinet6/mld6.c:465
mld6_fasttimeo() at mld6_fasttimeo+0x162 mld6_checktimer sys/netinet6/mld6.c:363 [inline]
mld6_fasttimeo() at mld6_fasttimeo+0x162 sys/netinet6/mld6.c:341
pffasttimo(ffffffff826414c0) at pffasttimo+0x85 sys/kern/uipc_domain.c:292
timeout_run(ffffffff826414c0) at timeout_run+0xc4 timeout_sync_leave sys/kern/kern_timeout.c:184 [inline]
timeout_run(ffffffff826414c0) at timeout_run+0xc4 sys/kern/kern_timeout.c:490
softclock_thread(ffff800020e19110) at softclock_thread+0x16a sys/kern/kern_timeout.c:580
end trace frame: 0x0, count: -9
ddb{0}> show registers
rdi 0
rsi 0xfffe __ALIGN_SIZE+0xeffe
rbp 0xffff800020e27080
rbx 0
rdx 0
rcx 0xffff __ALIGN_SIZE+0xefff
rax 0x82
r8 0xffffffff81877f46 pf_insert_src_node+0x2d6
r9 0x1
r10 0x2
r11 0xfbc099beb0d79726
r12 0x82
r13 0
r14 0xffff800020e27230
r15 0xffff8000009dca98
rip 0xffffffff817d89d8 pf_get_transaddr+0x298
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800020e27010
ss 0x10
pf_get_transaddr+0x298: idivl %r13d,%eax
ddb{0}> show proc
PROC (softclock) pid=466435 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
pri=0, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff800020e195f0,0xffff800020e18eb0
process=0xffff800020e1ab88 user=0xffff800020e22000, vmspace=0xffffffff8269be28
estcpu=0, cpticks=0, pctcpu=0.0
user=0, sys=0, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
45448 365535 25069 0 7 0x482 syz-executor.0
96372 434432 25069 0 3 0x82 nanosleep syz-executor.1
25069 507532 22447 0 3 0x82 thrsleep syz-execprog
25069 473902 22447 0 3 0x4000082 nanosleep syz-execprog
25069 146679 22447 0 3 0x4000082 thrsleep syz-execprog
25069 58675 22447 0 3 0x4000082 thrsleep syz-execprog
25069 145670 22447 0 3 0x4000082 thrsleep syz-execprog
25069 298467 22447 0 3 0x4000082 kqread syz-execprog
25069 274410 22447 0 3 0x4000082 thrsleep syz-execprog
25069 316121 22447 0 3 0x4000082 thrsleep syz-execprog
25069 372196 22447 0 3 0x4000082 thrsleep syz-execprog
25069 274401 22447 0 3 0x4000082 nanosleep syz-execprog
25069 93806 22447 0 3 0x4000082 thrsleep syz-execprog
22447 510222 35174 0 3 0x10008a pause ksh
35174 220030 41873 0 3 0x92 select sshd
67170 254277 1 0 3 0x100083 ttyin getty
41873 99014 1 0 3 0x80 select sshd
57800 120709 50290 74 3 0x100092 bpf pflogd
50290 451134 1 0 3 0x80 netio pflogd
52160 204592 49261 73 3 0x100090 kqread syslogd
49261 32383 1 0 3 0x100082 netio syslogd
16987 517094 1 77 3 0x100090 poll dhclient
28086 63858 1 0 3 0x80 poll dhclient
41834 521158 0 0 3 0x14200 bored smr
58013 262456 0 0 2 0x14200 zerothread
80443 132118 0 0 3 0x14200 aiodoned aiodoned
65793 314066 0 0 3 0x14200 syncer update
35494 206201 0 0 3 0x14200 cleaner cleaner
43897 499192 0 0 3 0x14200 reaper reaper
92829 249770 0 0 3 0x14200 pgdaemon pagedaemon
81197 502633 0 0 3 0x14200 bored crynlk
79679 452329 0 0 3 0x14200 bored crypto
50797 266814 0 0 3 0x40014200 acpi0 acpi0
65057 97236 0 0 3 0x40014200 idle1
78151 108578 0 0 3 0x14200 bored softnet
41330 24715 0 0 3 0x14200 bored systqmp
75416 223930 0 0 3 0x14200 bored systq
*95743 466435 0 0 7 0x40014200 softclock
52580 21325 0 0 3 0x40014200 idle0
1 93943 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 95743 (softclock) thread 0xffff800020e19110 (466435)
exclusive rwlock netlock r = 0 (0xffffffff82509548)
#0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1 mld6_fasttimeo+0x1d sys/netinet6/mld6.c:336
#2 pffasttimo+0x85 sys/kern/uipc_domain.c:292
#3 timeout_run+0xc4 timeout_sync_leave sys/kern/kern_timeout.c:184 [inline]
#3 timeout_run+0xc4 sys/kern/kern_timeout.c:490
#4 softclock_thread+0x16a sys/kern/kern_timeout.c:580
#5 proc_trampoline+0x1c
shared rwlock timeout r = 0 (0xffffffff8252bfd8)
#0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1 timeout_run+0xb9 sys/kern/kern_timeout.c:489
#2 softclock_thread+0x16a sys/kern/kern_timeout.c:580
#3 proc_trampoline+0x1c
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff826481a8)
#0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1 __mp_acquire_count+0x51 sys/kern/kern_lock.c:227
#2 mi_switch+0x392 sys/kern/sched_bsd.c:435
#3 sleep_finish+0x113 sys/kern/kern_synch.c:418
#4 softclock_thread+0x103 sys/kern/kern_timeout.c:575
#5 proc_trampoline+0x1c
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9471 6398K 6398K 78643K 10564 0
pcb 13 8K 8K 78643K 13 0
rtable 110 4K 5K 78643K 206 0
ifaddr 45 10K 10K 78643K 46 0
counters 43 33K 33K 78643K 43 0
ioctlops 0 0K 8K 78643K 2297 0
mount 1 1K 1K 78643K 1 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 1824 197K 290K 78643K 13058 0
file desc 4 9K 25K 78643K 453 0
proc 59 63K 83K 78643K 438 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
in_multi 33 2K 2K 78643K 33 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 1K 78643K 210 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 79 20K 21K 78643K 2178 0
UVM aobj 2 2K 2K 78643K 2 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 6 0K 0K 78643K 10 0
temp 34 3031K 3095K 78643K 2806 0
kqueue 3 4K 4K 78643K 3 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
arp 64 6 0 0 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 80 19 0 17 1 0 1 1 0 8 0
rtentry 112 45 0 1 2 0 2 2 0 8 0
unpcb 120 29 0 19 1 0 1 1 0 8 0
syncache 264 5 0 5 1 1 0 1 0 8 0
tcpcb 544 8 0 5 1 0 1 1 0 8 0
inpcb 280 37 0 31 1 0 1 1 0 8 0
nd6 48 6 0 0 1 0 1 1 0 8 0
pfosfp 40 846 0 423 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfrktable 1344 3 0 1 1 0 1 1 0 8 0
pfstitem 24 12 0 0 1 0 1 1 0 8 0
pfstkey 112 12 0 0 1 0 1 1 0 8 0
pfstate 328 12 0 0 1 0 1 1 0 8 0
pfsrctr 152 1 0 0 1 0 1 1 0 8 0
pfrule 1360 22 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 188 0 0 12 0 12 12 0 8 0
art_table 32 189 0 0 2 0 2 2 0 8 0
art_node 16 44 0 4 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1846 0 439 88 0 88 88 0 8 0
ffsino 272 1846 0 439 94 0 94 94 0 8 0
nchpl 144 2484 0 874 60 0 60 60 0 8 0
uvmvnodes 72 1856 0 0 34 0 34 34 0 8 0
vnodes 208 1856 0 0 98 0 98 98 0 8 0
namei 1024 6823 0 6823 1 0 1 1 0 8 1
percpumem 16 32 0 0 1 0 1 1 0 8 0
pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0
scxspl 192 6377 0 6377 2 1 1 2 0 8 1
plimitpl 152 16 0 8 1 0 1 1 0 8 0
sigapl 424 672 0 642 4 0 4 4 0 8 0
futexpl 56 2848 0 2848 1 0 1 1 0 8 1
knotepl 112 59 0 42 1 0 1 1 0 8 0
kqueuepl 144 2 0 0 1 0 1 1 0 8 0
pipelkpl 48 81 0 71 1 0 1 1 0 8 0
pipepl 120 162 0 143 1 0 1 1 0 8 0
fdescpl 496 657 0 642 3 0 3 3 0 8 0
filepl 152 2399 0 2332 3 0 3 3 0 8 0
lockfpl 104 5 0 4 1 0 1 1 0 8 0
lockfspl 48 3 0 2 1 0 1 1 0 8 0
sessionpl 112 20 0 9 1 0 1 1 0 8 0
pgrppl 48 20 0 9 1 0 1 1 0 8 0
ucredpl 96 62 0 53 1 0 1 1 0 8 0
zombiepl 144 642 0 640 1 0 1 1 0 8 0
processpl 984 672 0 640 5 0 5 5 0 8 0
procpl 624 1438 0 1396 4 0 4 4 0 8 0
sockpl 400 85 0 67 3 0 3 3 0 8 1
mcl4k 4096 2 0 0 1 0 1 1 0 8 0
mcl2k 2048 69 0 0 9 0 9 9 0 8 0
mtagpl 80 1 0 0 1 0 1 1 0 8 0
mbufpl 256 136 0 0 8 0 8 8 0 8 0
bufpl 280 3414 0 133 235 0 235 235 0 8 0
anonpl 16 45241 0 43324 13 1 12 12 0 124 4
amapchunkpl 152 3027 0 2958 6 0 6 6 0 158 1
amappl16 192 1912 0 1859 3 0 3 3 0 8 0
amappl15 184 4 0 3 2 1 1 1 0 8 0
amappl14 176 243 0 236 1 0 1 1 0 8 0
amappl13 168 241 0 237 1 0 1 1 0 8 0
amappl12 160 4 0 3 1 0 1 1 0 8 0
amappl11 152 52 0 37 1 0 1 1 0 8 0
amappl10 144 23 0 20 1 0 1 1 0 8 0
amappl9 136 239 0 236 1 0 1 1 0 8 0
amappl8 128 291 0 282 1 0 1 1 0 8 0
amappl7 120 122 0 111 1 0 1 1 0 8 0
amappl6 112 21 0 20 1 0 1 1 0 8 0
amappl5 104 552 0 538 1 0 1 1 0 8 0
amappl4 96 724 0 695 1 0 1 1 0 8 0
amappl3 88 312 0 307 1 0 1 1 0 8 0
amappl2 80 4303 0 4243 2 0 2 2 0 8 0
amappl1 72 23518 0 23087 23 5 18 18 0 8 8
amappl 80 1678 0 1647 1 0 1 1 0 84 0
dma4096 4096 1 0 1 1 1 0 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 1 0 0 1 0 1 1 0 8 0
uaddrrnd 24 657 0 642 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 657 0 642 1 0 1 1 0 8 0
vmmpekpl 168 8789 0 8765 2 0 2 2 0 8 0
vmmpepl 168 67299 0 66308 78 6 72 72 0 357 25
vmsppl 368 656 0 642 2 0 2 2 0 8 0
pdppl 4096 1322 0 1284 6 0 6 6 0 8 0
pvpl 32 178340 0 173979 104 0 104 104 0 265 67
pmappl 232 656 0 642 2 0 2 2 0 8 1
extentpl 40 53 0 36 1 0 1 1 0 8 0
phpool 112 237 0 3 7 0 7 7 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}>

Reply all
Reply to author
Forward
0 new messages