panic: softclock: invalid to_clock: -559070960 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282bd59) at panic+0x165 sys/kern/subr_prf.c:198 softclock(0) at softclock+0x1fd sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xc1 sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2cd sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82d18ff0) at sched_idle+0x2f1 sys/kern/kern_sched.c:183 end trace frame: 0x0, count: 8 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: -559070960 ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282bd59) at panic+0x165 sys/kern/subr_prf.c:198 softclock(0) at softclock+0x1fd sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xc1 sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2cd sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82d18ff0) at sched_idle+0x2f1 sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -7 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a5934b0 rbx 0xffffffff82d67b30 timeout_todo rdx 0 rcx 0 rax 0xffff80002a58da90 r8 0x101010101010101 r9 0x8080808080808080 r10 0x45f5332723551363 r11 0x70906af422ff6ed0 r12 0 r13 0xffffffff82e53b30 rdrand_tmo r14 0 r15 0x1 rip 0xffffffff8275e6bc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a5934a0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb> show proc PROC (idle0) tid=179134 pid=44273 tcnt=1 stat=onproc flags process=14000 proc=40000200 runpri=0, usrpri=50, slppri=0, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xae124f51e148989f, list=0xffff80002a58dd38,0xffff80002a58d7f8 process=0xffff8000fffff240 user=0xffff80002a58e000, vmspace=0xffffffff82d38dd8 estcpu=0, cpticks=30828, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56279 105780 1 0 3 0x18100083 ttyin getty 32870 124973 0 0 3 0x14200 acct acct 77039 368382 0 0 3 0x14280 nfsidl nfsio 73898 105708 0 0 3 0x14280 nfsidl nfsio 1616 161908 0 0 3 0x14280 nfsidl nfsio 66895 273076 0 0 3 0x14280 nfsidl nfsio 64687 237274 0 0 3 0x14280 nfsidl nfsio 72118 415596 0 0 3 0x14280 nfsidl nfsio 31493 442890 0 0 3 0x14280 nfsidl nfsio 85593 93840 0 0 3 0x14280 nfsidl nfsio 87800 392619 0 0 3 0x14280 nfsidl nfsio 85176 521887 0 0 3 0x14280 nfsidl nfsio 15869 501182 0 0 3 0x14280 nfsidl nfsio 99923 299123 0 0 3 0x14280 nfsidl nfsio 37657 170702 0 0 3 0x14280 nfsidl nfsio 90669 383865 0 0 3 0x14280 nfsidl nfsio 76039 264545 0 0 3 0x14280 nfsidl nfsio 86191 44659 0 0 3 0x14280 nfsidl nfsio 21143 408408 0 0 3 0x14280 nfsidl nfsio 96760 498109 0 0 3 0x14280 nfsidl nfsio 51336 139924 0 0 3 0x14280 nfsidl nfsio 23125 13481 0 0 3 0x14280 nfsidl nfsio 49847 30175 0 0 3 0x14200 bored sosplice 93911 292749 75999 0 3 0x1800009a kqread sshd 75999 105679 1 0 3 0x18000088 kqread sshd 88419 471896 19423 73 3 0x19100090 kqread syslogd 19423 41873 1 0 3 0x18100082 netio syslogd 92512 129756 1 0 3 0x18100080 kqread resolvd 41875 93101 67072 77 3 0x18100092 kqread dhcpleased 32809 311425 67072 77 3 0x18100092 kqread dhcpleased 67072 461454 1 0 3 0x18000080 kqread dhcpleased 20208 12650 0 0 3 0x14200 bored smr 71249 6493 0 0 3 0x14200 pgzero zerothread 20944 8998 0 0 3 0x14200 aiodoned aiodoned 67068 498051 0 0 3 0x14200 syncer update 12864 377838 0 0 3 0x14200 cleaner cleaner 88833 246908 0 0 3 0x14200 reaper reaper 24095 231575 0 0 3 0x14200 pgdaemon pagedaemon 62643 425209 0 0 3 0x14200 bored viomb 42934 223787 0 0 3 0x40014200 acpi0 acpi0 2802 416333 0 0 3 0x14200 bored softnet3 40857 471133 0 0 3 0x14200 bored softnet2 38644 281795 0 0 3 0x14200 bored softnet1 70529 298965 0 0 3 0x14200 bored softnet0 51988 505164 0 0 3 0x14200 bored systqmp 44987 80897 0 0 3 0x14200 bored systq 60388 224283 0 0 3 0x40014200 tmoslp softclock *44273 179134 0 0 7 0x40014200 idle0 1 272833 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10178 6398K 7090K 166960K 32205 0 pcb 15 16K 18K 166960K 555 0 rtable 63 2K 7K 166960K 3251 0 pf 12 6K 9K 166960K 341 0 ifaddr 12 7K 15K 166960K 285 0 ifgroup 17 1K 2K 166960K 564 0 sysctl 3 0K 0K 166960K 3 0 counters 22 16K 17K 166960K 153 0 ioctlops 0 0K 2K 166960K 524 0 iov 0 0K 24K 166960K 881 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1551 97K 98K 166960K 7531 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 142 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 210 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 1 0K 73K 166960K 10356 0 sigio 0 0K 0K 166960K 477 0 proc 58 59K 83K 166960K 1629 0 subproc 0 0K 6K 166960K 524 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1046 0 in_multi 11 0K 7K 166960K 504 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 2117 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 163 176K 274K 166960K 96588 0 UVM aobj 131 4K 4K 166960K 131 0 pinsyscall 19 38K 100K 166960K 2260 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 194 0 NDP 3 0K 1K 166960K 214 0 temp 42 6802K 6932K 166960K 56307 0 kqueue 11 16K 30K 166960K 620 0 SYN cache 2 104K 112K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 1598 0 1595 8 3 5 5 0 8 4 rtentry 112 733 0 710 4 0 4 4 0 8 2 unpcb 144 9991 0 9978 20 14 6 10 0 8 5 syncache 336 70 0 70 3 2 1 1 0 8 1 tcpqe 32 120 201 120 2 2 0 1 0 8 0 tcpcb 808 2923 0 2911 27 18 9 15 0 8 7 arp 88 115 0 113 1 0 1 1 0 8 0 ipq 40 11 0 11 2 1 1 1 0 8 1 ipqe 40 36 0 36 2 1 1 1 0 8 1 inpcb 360 6727 0 6712 31 20 11 15 0 8 8 ip6q 72 2 0 2 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 123 0 123 1 0 1 1 0 8 1 pkpcb 40 15 0 15 2 1 1 1 0 8 1 kcovpl 48 40 0 40 1 0 1 1 0 8 1 ppxss 1072 22 0 22 3 2 1 1 0 8 1 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2492 0 2396 41 13 28 31 0 8 22 art_table 32 2493 0 2396 4 0 4 4 0 8 3 art_node 16 690 0 670 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 208 0 198 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 14918 0 13391 96 0 96 96 0 8 0 ffsino 240 14918 0 13391 91 0 91 91 0 8 0 nchpl 144 30049 0 28331 66 0 66 66 0 8 0 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 96420 0 96420 4 3 1 2 0 8 1 vcpupl 2048 112 0 0 14 0 14 14 0 8 0 vmpool 664 115 0 3 10 0 10 10 0 8 0 kstatmem 264 268 0 262 2 0 2 2 0 8 1 scxspl 216 88174 0 88174 13 9 4 8 1 8 4 plimitpl 152 770 0 765 1 0 1 1 0 8 0 sigapl 424 10612 0 10563 8 0 8 8 0 8 0 futexpl 64 106432 0 106432 1 0 1 1 0 8 1 knotepl 120 93274 0 93246 18 7 11 16 0 8 8 kqueuepl 184 2093 0 2086 13 9 4 7 0 8 3 pipepl 288 1348 0 1347 11 4 7 7 0 8 6 fdescpl 432 10567 0 10556 4 0 4 4 0 8 1 filepl 120 58545 0 58496 32 21 11 16 0 8 8 lockfpl 104 2735 0 2733 4 2 2 2 0 8 1 lockfspl 48 927 0 925 1 0 1 1 0 8 0 sessionpl 144 56 0 49 1 0 1 1 0 8 0 pgrppl 48 238 0 231 1 0 1 1 0 8 0 ucredpl 104 8406 0 8396 1 0 1 1 0 8 0 zombiepl 144 10563 0 10563 2 1 1 1 0 8 1 processpl 1072 10612 0 10563 5 0 5 5 0 8 0 procpl 680 25724 0 25675 9 0 9 9 0 8 1 sosppl 168 99 0 99 3 2 1 1 0 8 1 sockpl 488 18377 0 18346 262 248 14 34 0 8 8 mcl64k 65536 318 0 317 3 2 1 1 0 8 0 mcl16k 16384 163 0 163 3 2 1 1 0 8 1 mcl12k 12288 438 0 438 3 2 1 1 0 8 1 mcl9k 9216 146 0 146 3 2 1 1 0 8 1 mcl8k 8192 509 0 508 4 2 2 2 0 8 1 mcl4k 4096 1581 0 1580 3 2 1 1 0 8 0 mcl2k2 2112 57 0 57 3 2 1 1 0 8 1 mcl2k 2048 87118 0 87069 42 31 11 34 0 8 3 mtagpl 96 2293 0 2293 26 5 21 21 0 8 21 mbufpl 256 239732 0 239657 1481 1444 37 866 0 8 8 bufpl 280 20286 0 13937 455 0 455 455 0 8 0 anonpl 24 1207078 0 1204745 146 35 111 111 0 188 61 amapchunkpl 152 308405 0 308256 48 8 40 44 0 158 24 amappl16 200 25686 0 25654 87 69 18 36 0 8 8 amappl15 192 82 0 82 1 0 1 1 0 8 1 amappl14 184 291 0 282 2 1 1 2 0 8 0 amappl13 176 37 0 37 3 2 1 1 0 8 1 amappl12 168 11699 0 11688 2 0 2 2 0 8 0 amappl11 160 68 0 58 1 0 1 1 0 8 0 amappl10 152 83 0 83 1 0 1 1 0 8 1 amappl9 144 256 0 255 1 0 1 1 0 8 0 amappl8 136 430 0 430 4 0 4 4 0 8 4 amappl7 128 88 0 87 1 0 1 1 0 8 0 amappl6 120 784 0 774 2 1 1 2 0 8 0 amappl5 112 463 0 451 1 0 1 1 0 8 0 amappl4 104 818 0 792 2 1 1 2 0 8 0 amappl3 96 60075 0 60048 3 0 3 3 0 8 0 amappl2 88 11310 0 11261 4 1 3 4 0 8 1 amappl1 80 47483 0 47074 22 10 12 22 0 8 0 amappl 88 95578 0 95505 7 0 7 7 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 72 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 10682 0 10559 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10682 0 10559 1 0 1 1 0 8 0 vmmpekpl 168 72950 0 72901 4 0 4 4 0 8 0 vmmpepl 168 636300 0 635294 170 34 136 136 0 357 54 vmsppl 352 10681 0 10559 13 0 13 13 0 8 0 rwobjpl 24 156941 0 150229 47 0 47 47 0 8 0 pdppl 4096 21370 0 21230 592 440 152 176 0 8 12 pvpl 32 3080387 0 3075840 440 241 199 358 0 265 104 pmappl 216 10681 0 10559 8 0 8 8 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2431 0 1965 39 12 27 38 0 8 8 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282bd59) at panic+0x165 sys/kern/subr_prf.c:198 softclock(0) at softclock+0x1fd sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xc1 sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2cd sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82d18ff0) at sched_idle+0x2f1 sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8282bd59) at panic+0x165 sys/kern/subr_prf.c:198 softclock(0) at softclock+0x1fd sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xc1 sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2cd sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82d18ff0) at sched_idle+0x2f1 sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -7