panic: softclock: invalid to_clock: -558907731
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8334c7a9) at panic+0x1cf sys/kern/subr_prf.c:198
softclock(0) at softclock+0x256
softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87
dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:847
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x42e sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffffffff837f8ff0) at sched_idle+0x361 sys/kern/kern_sched.c:191
end trace frame: 0x0, 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>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: softclock: invalid to_clock: -558907731
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8334c7a9) at panic+0x1cf sys/kern/subr_prf.c:198
softclock(0) at softclock+0x256
softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87
dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:847
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x42e sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffffffff837f8ff0) at sched_idle+0x361 sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -8
ddb> show registers
rdi 0
rsi 0x1
rbp 0xffff80002a747aa0
rbx 0x1
rdx 0
rcx 0
rax 0xffff80002a73d9f0
r8 0x101010101010101
r9 0x8080808080808080
r10 0x7b30c483d2988311
r11 0x85c61f144a7b7afe
r12 0
r13 0xffffffff838e1650 logsoftc+0x30
r14 0
r15 0x1
rip 0xffffffff8150a355 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80002a747a90
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb> show proc
PROC (idle0) tid=356547 pid=33107 tcnt=1 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
runpri=0, usrpri=50, slppri=0, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xcf5963aa56db8c9c, list=0xffff80002a73dc88,0xffff80002a73c540
process=0xffff80002a740da0 user=0xffff80002a742000, vmspace=0xffffffff838e6388
estcpu=0, cpticks=6116, pctcpu=0.0, user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
10506 343534 56211 0 3 0x82 sysctllk syz-executor
2386 281380 56211 0 3 0x82 sysctllk syz-executor
62967 409774 56211 0 3 0x82 sysctllk syz-executor
69409 212828 56211 0 3 0x82 sysctllk syz-executor
26203 190905 56211 0 3 0x82 sysctllk syz-executor
12968 243234 56211 0 3 0x82 sysctllk syz-executor
41704 423290 56211 0 3 0x82 sysctllk syz-executor
88427 96179 56211 0 3 0x82 sysctllk syz-executor
35140 325171 1 -1 3 0x10 vmmapbsy syz-executor
35140 375322 1 -1 3 0x4000010 vmmapbsy syz-executor
35140 36779 1 -1 3 0x4000010 fltagain2 syz-executor
249 144495 0 0 3 0x14280 nfsidl nfsio
81077 319296 0 0 3 0x14280 nfsidl nfsio
35216 480886 0 0 3 0x14280 nfsidl nfsio
13191 130591 0 0 3 0x14280 nfsidl nfsio
78161 43211 0 0 3 0x14280 nfsidl nfsio
64543 109643 0 0 3 0x14280 nfsidl nfsio
21867 28128 0 0 3 0x14280 nfsidl nfsio
66442 346699 0 0 3 0x14280 nfsidl nfsio
68345 517294 0 0 3 0x14280 nfsidl nfsio
96970 116962 0 0 3 0x14280 nfsidl nfsio
96461 151334 0 0 3 0x14280 nfsidl nfsio
52710 408047 0 0 3 0x14280 nfsidl nfsio
2729 42655 0 0 3 0x14280 nfsidl nfsio
17372 96049 0 0 3 0x14280 nfsidl nfsio
48217 514944 0 0 3 0x14280 nfsidl nfsio
95481 283658 0 0 3 0x14280 nfsidl nfsio
57789 170690 0 0 3 0x14280 nfsidl nfsio
41575 334513 0 0 3 0x14280 nfsidl nfsio
81612 357016 0 0 3 0x14280 nfsidl nfsio
51074 414213 0 0 3 0x14280 nfsidl nfsio
19066 277613 0 0 3 0x14200 bored sosplice
56211 504438 43966 0 3 0x82 kqread syz-executor
43966 64236 71731 0 3 0x10008a sigsusp ksh
71731 325249 27418 0 3 0x98 kqread sshd-session
27418 125699 90484 0 3 0x92 kqread sshd-session
48564 36282 1 0 3 0x100083 ttyopn getty
90484 240431 1 0 3 0x88 kqread sshd
81939 9061 2754 73 3 0x1100090 kqread syslogd
2754 129708 1 0 3 0x100082 sbwait syslogd
80807 451270 1 0 3 0x100080 kqread resolvd
88447 405515 53511 77 3 0x100092 sysctllk dhcpleased
40948 120056 53511 77 3 0x100092 kqread dhcpleased
53511 505212 1 0 3 0x80 kqread dhcpleased
82329 118498 0 0 3 0x14200 bored smr
8756 416166 0 0 3 0x14200 pgzero zerothread
68602 162059 0 0 3 0x14200 aiodoned aiodoned
83309 214730 0 0 3 0x14200 syncer update
39997 498371 0 0 3 0x14200 cleaner cleaner
57010 406496 0 0 3 0x14200 reaper reaper
16587 19783 0 0 3 0x14200 pgdaemon pagedaemon
20383 414060 0 0 3 0x14200 bored viomb
53510 68304 0 0 3 0x40014200 acpi0 acpi0
40979 360904 0 0 3 0x14200 bored softnet7
65821 283516 0 0 3 0x14200 bored softnet6
27065 143467 0 0 3 0x14200 bored softnet5
60388 178371 0 0 3 0x14200 bored softnet4
10336 290535 0 0 3 0x14200 bored softnet3
61572 121341 0 0 3 0x14200 bored softnet2
3386 206763 0 0 3 0x14200 bored softnet1
65148 421009 0 0 3 0x14200 bored softnet0
96971 383170 0 0 3 0x14200 bored systqmp
21650 415857 0 0 3 0x14200 bored systq
53499 510553 0 0 3 0x40014200 tmoslp softclock
*33107 356547 0 0 7 0x40014200 idle0
1 408475 0 0 3 0x82 wait init
0 0 -1 0 3 0x10010200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10174 11048K 15218K 166960K 18018 0
pcb 17 16K 24K 166960K 1010 0
rtable 120 9K 10K 166960K 845 0
pf 22 12K 16K 166960K 298 0
ifaddr 15 3K 8K 166960K 209 0
ifgroup 26 1K 2K 166960K 356 0
sysctl 4 1K 9K 166960K 58 0
counters 26 17K 18K 166960K 250 0
ioctlops 0 0K 4K 166960K 1155 0
iov 0 0K 24K 166960K 570 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1600 100K 101K 166960K 5007 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 3 5K 9K 166960K 59 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 1K 166960K 320 0
dirhash 12 2K 2K 166960K 60 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 11 13K 240K 166960K 3749 0
sigio 0 0K 0K 166960K 173 0
proc 61 59K 91K 166960K 946 0
subproc 9 0K 4K 166960K 94 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 400 0
in_multi 22 1K 7K 166960K 302 0
ether_multi 1 0K 0K 166960K 32 0
mrt 2 0K 0K 166960K 20 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 103 466K 466K 166960K 103 0
exec 0 0K 1K 166960K 1156 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 5 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 156 93K 187K 166960K 35915 0
UVM aobj 131 6K 6K 166960K 139 0
pinsyscall 32 64K 94K 166960K 4901 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 1K 166960K 161 0
NDP 5 0K 2K 166960K 137 0
temp 55 8642K 8899K 166960K 135253 0
kqueue 13 20K 32K 166960K 651 0
SYN cache 2 16K 16K 166960K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 709 0 706 5 2 3 3 0 8 2
rtentry 136 237 0 214 4 0 4 4 0 8 0
unpcb 144 3509 0 3492 11 5 6 6 0 8 5
syncache 336 9 0 9 1 1 0 1 0 8 0
tcpqe 32 3 0 3 1 1 0 1 0 8 0
tcpcb 736 1764 0 1760 12 5 7 8 0 8 6
arp 88 22 0 18 1 0 1 1 0 8 0
ipq 40 6 0 6 2 1 1 1 0 8 1
ipqe 40 7 0 7 2 1 1 1 0 8 1
inpcb 328 4464 0 4457 20 11 9 13 0 8 8
ip6q 72 49 0 49 1 0 1 1 0 8 1
ip6af 40 91 0 91 1 0 1 1 0 8 1
nd6 104 34 0 32 1 0 1 1 0 8 0
pkpcb 40 34 0 34 2 1 1 1 0 8 1
kcovpl 48 10 0 9 1 0 1 1 0 8 0
mppekey 1024 3 0 3 2 1 1 1 0 8 1
ppxss 1072 183 0 183 2 1 1 1 0 8 1
pppxif 1384 48 0 48 2 1 1 1 0 8 1
pfstscr 40 1 0 0 1 0 1 1 0 8 0
pfrktable 1344 3 0 3 2 1 1 1 0 8 1
pfstitem 24 6 0 0 1 0 1 1 0 8 0
pfstkey 128 7 0 3 1 0 1 1 0 8 0
pfstate 384 4 0 1 1 0 1 1 0 8 0
pfrule 1344 7 0 6 1 0 1 1 0 8 0
rttmr 136 16 0 16 2 1 1 1 0 8 1
art_heap8 4096 7 0 2 6 0 6 6 0 8 1
art_heap4 256 1359 0 1225 32 14 18 32 0 8 8
art_table 40 1366 0 1227 6 0 6 6 0 8 0
art_node 32 227 0 207 1 0 1 1 0 8 0
sysvmsgpl 40 12 0 5 1 0 1 1 0 8 0
semupl 112 3 0 3 2 1 1 1 0 8 1
semapl 112 312 0 302 1 0 1 1 0 8 0
shmpl 112 136 0 8 4 0 4 4 0 8 0
dirhash 1024 49 0 32 3 0 3 3 0 8 0
dino2pl 256 8352 0 6813 97 0 97 97 0 8 0
ffsino 256 8352 0 6813 97 0 97 97 0 8 0
nchpl 144 13724 0 13147 64 33 31 64 0 8 8
rtmask 32 15 0 15 2 1 1 1 0 8 1
uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0
vnodes 216 5926 0 0 330 0 330 330 0 8 0
namei 1024 52472 0 52472 2 1 1 2 0 8 1
kstatmem 264 234 0 224 2 0 2 2 0 8 0
scsiplug 72 22 0 22 2 1 1 1 0 8 1
scxspl 216 48043 0 48043 9 7 2 8 1 8 2
plimitpl 152 1119 0 1102 1 0 1 1 0 8 0
sigapl 424 4023 0 3959 9 0 9 9 0 8 0
knotepl 120 247462 0 247415 44 34 10 18 0 8 8
kqueuepl 184 1657 0 1647 10 6 4 7 0 8 3
pipepl 304 655 0 627 8 5 3 8 0 8 0
fdescpl 448 3972 0 3949 5 1 4 5 0 8 0
filepl 120 31467 0 31326 16 4 12 14 0 8 5
lockfpl 104 1728 0 1726 3 1 2 2 0 8 1
lockfspl 48 575 0 573 1 0 1 1 0 8 0
sessionpl 144 29 0 21 1 0 1 1 0 8 0
pgrppl 48 187 0 170 1 0 1 1 0 8 0
ucredpl 104 6349 0 6337 1 0 1 1 0 8 0
zombiepl 144 5681 0 5681 1 0 1 1 0 8 1
processpl 1168 4023 0 3959 6 0 6 6 0 8 0
procpl 664 10538 0 10472 9 1 8 9 0 8 0
sosppl 168 12 0 12 2 1 1 1 0 8 1
sockpl 552 9451 0 9424 23 12 11 14 0 8 8
mcl64k 65536 164 0 164 2 1 1 1 0 8 1
mcl16k 16384 19 0 19 2 1 1 1 0 8 1
mcl12k 12288 18 0 18 2 1 1 1 0 8 1
mcl9k 9216 8 0 8 2 1 1 1 0 8 1
mcl8k 8192 96 0 96 2 1 1 1 0 8 1
mcl4k 4096 7989 0 7935 14 6 8 14 0 8 0
mcl2k2 2112 7 0 7 2 1 1 1 0 8 1
mcl2k 2048 5579 0 5552 10 1 9 9 0 8 5
mtagpl 96 34 0 34 1 0 1 1 0 8 1
mbufpl 256 46971 0 46673 34 4 30 30 0 8 7
bufpl 280 14285 0 8057 446 0 446 446 0 8 0
anonpl 24 511408 0 505844 102 32 70 70 0 187 19
amapchunkpl 152 125197 0 124875 42 13 29 39 0 158 10
amappl16 200 9816 0 9696 52 31 21 25 0 8 8
amappl15 192 16 0 16 1 1 0 1 0 8 0
amappl14 184 121 0 111 1 0 1 1 0 8 0
amappl13 176 145 0 145 2 1 1 1 0 8 1
amappl12 168 4623 0 4608 3 1 2 3 0 8 0
amappl11 160 59 0 49 1 0 1 1 0 8 0
amappl10 152 8 0 8 1 1 0 1 0 8 0
amappl9 144 263 0 263 1 1 0 1 0 8 0
amappl8 136 27 0 24 1 0 1 1 0 8 0
amappl7 128 112 0 100 1 0 1 1 0 8 0
amappl6 120 195 0 191 1 0 1 1 0 8 0
amappl5 112 126 0 119 1 0 1 1 0 8 0
amappl4 104 292 0 276 1 0 1 1 0 8 0
amappl3 96 26051 0 25995 4 0 4 4 0 8 0
amappl2 88 737 0 681 2 0 2 2 0 8 0
amappl1 80 24174 0 23654 17 1 16 17 0 8 1
amappl 88 34811 0 34713 5 0 5 5 0 92 0
dma65536 65536 2 0 2 1 1 0 1 0 8 0
dma8192 8192 1 0 1 1 0 1 1 0 8 1
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma2048 2048 2 0 2 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma512 512 1 0 1 1 0 1 1 0 8 1
dma256 256 10 0 10 2 1 1 1 0 8 1
dma128 128 263 0 263 2 1 1 1 0 8 1
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 20 0 19 1 0 1 1 0 8 0
aobjpl 72 138 0 8 3 0 3 3 0 8 0
uaddrrnd 24 3972 0 3949 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 3972 0 3949 1 0 1 1 0 8 0
vmmpekpl 168 31740 0 31695 3 0 3 3 0 8 0
vmmpepl 168 253394 0 251917 109 8 101 109 0 357 9
vmsppl 368 3971 0 3949 4 1 3 4 0 8 0
rwobjpl 40 66539 0 59640 76 1 75 75 0 8 1
pdppl 4096 7951 0 7898 129 72 57 81 0 8 4
pvpl 32 1588321 0 1578446 177 33 144 144 0 265 36
pool(pvpl): free list modified: page 0xfffffd80698f5000; item ordinal 84; addr 0xfffffd80698f5e60 (p 0xfffffd80698f5000); offset 0x8=0xffffffff
pvpl: pool(0xffffffff838f1a50:pvpl): free list modified: page 0xfffffd80698f5000; item ordinal 93; addr 0xfffffd80698f5e80 (p 0xfffffd80698f5000); offset 0x0=0xffffffffffffffff
pmappl 216 3971 0 3949 3 0 3 3 0 8 1
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 468 0 114 11 0 11 11 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8334c7a9) at panic+0x1cf sys/kern/subr_prf.c:198
softclock(0) at softclock+0x256
softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87
dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:847
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x42e sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffffffff837f8ff0) at sched_idle+0x361 sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -8
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8334c7a9) at panic+0x1cf sys/kern/subr_prf.c:198
softclock(0) at softclock+0x256
softintr_dispatch(0) at softintr_dispatch+0xf9 sys/kern/kern_softintr.c:87
dosoftint(0) at dosoftint+0x48 sys/arch/amd64/amd64/intr.c:847
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x42e sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffffffff837f8ff0) at sched_idle+0x361 sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -8