panic: softclock: invalid to_clock: 1635131448 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 4024 18917 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fae3f1) at panic+0x1cf sys/kern/subr_prf.c:198 softclock(0) at softclock+0x276 sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xea sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 Xspllower() at Xspllower+0x1d printf(ffffffff83093d00) at printf+0xa3 sys/kern/subr_prf.c:532 uvm_fault_unwire_locked(fffffd807ec83c18,b93a9287000,b93a9486000) at uvm_fault_unwire_locked+0x2f2 uvm_unmap_kill_entry_withlock(fffffd807ec83c18,fffffd8065da7a00,0) at uvm_unmap_kill_entry_withlock+0x81 sys/uvm/uvm_map.c:1861 uvm_map_teardown(fffffd807ec83c18) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd807ec83c18) at uvmspace_free+0xbd sys/uvm/uvm_map.c:3422 reaper(ffff80002a45b958) at reaper+0x225 sys/kern/kern_exit.c:481 end trace frame: 0x0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: softclock: invalid to_clock: 1635131448 ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fae3f1) at panic+0x1cf sys/kern/subr_prf.c:198 softclock(0) at softclock+0x276 sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xea sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 Xspllower() at Xspllower+0x1d printf(ffffffff83093d00) at printf+0xa3 sys/kern/subr_prf.c:532 uvm_fault_unwire_locked(fffffd807ec83c18,b93a9287000,b93a9486000) at uvm_fault_unwire_locked+0x2f2 uvm_unmap_kill_entry_withlock(fffffd807ec83c18,fffffd8065da7a00,0) at uvm_unmap_kill_entry_withlock+0x81 sys/uvm/uvm_map.c:1861 uvm_map_teardown(fffffd807ec83c18) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd807ec83c18) at uvmspace_free+0xbd sys/uvm/uvm_map.c:3422 reaper(ffff80002a45b958) at reaper+0x225 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a458f10 rbx 0xffffffff835c5790 timeout_todo rdx 0 rcx 0 rax 0xffff80002a45b958 r8 0x101010101010101 r9 0x8080808080808080 r10 0xd1db1092f47fbb4 r11 0x1263dd99301bae19 r12 0 r13 0xffffffff83573af0 logsoftc+0x30 r14 0 r15 0x1 rip 0xffffffff81c1d1e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a458f00 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (reaper) tid=4024 pid=18917 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=85, usrpri=86, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a40d950,0xffff80002a45b6e0 process=0xffff80002a410a80 user=0xffff80002a454000, vmspace=0xffffffff834c2750 estcpu=36, cpticks=100, pctcpu=14.40, user=0, sys=171672, intr=38 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73222 455213 41572 0 2 0xc081000 syz-executor 73222 146232 41572 0 3 0xc003000 suspend syz-executor 67823 505009 42871 0 3 0x8000082 wait syz-executor 89439 493816 42871 0 3 0x8000082 wait syz-executor 41572 89018 42871 0 3 0x8000082 wait syz-executor 98413 376127 42871 0 3 0x8000082 wait syz-executor 21381 273539 42871 0 3 0x8000082 wait syz-executor 89269 240646 42871 0 3 0x8000082 wait syz-executor 9915 379156 42871 0 3 0x8000082 wait syz-executor 79842 376880 1 0 3 0x18100083 ttyin getty 52623 224440 0 0 3 0x14200 acct acct 67313 318698 0 0 3 0x14200 bored sosplice 42871 436890 61731 0 3 0x8000082 wait syz-executor 61731 458518 90289 0 3 0x810008a sigsusp ksh 90289 422391 2737 0 3 0x18000098 kqread sshd-session 2737 276898 81050 0 3 0x18000092 kqread sshd-session 81050 349352 1 0 3 0x18000088 kqread sshd 60070 453264 96614 73 2 0x19100010 syslogd 96614 333779 1 0 3 0x18100082 sbwait syslogd 23967 334167 1 0 3 0x18100080 kqread resolvd 77181 479254 62882 77 3 0x18100092 kqread dhcpleased 32550 143292 62882 77 3 0x18100092 kqread dhcpleased 62882 299266 1 0 3 0x18000080 kqread dhcpleased 63070 17353 0 0 2 0x14200 smr 54844 260138 0 0 2 0x14200 zerothread 81427 520784 0 0 3 0x14200 aiodoned aiodoned 81458 178397 0 0 2 0x14600 update 4976 442775 0 0 3 0x14200 cleaner cleaner *18917 4024 0 0 7 0x14200 reaper 72899 415308 0 0 3 0x14200 pgdaemon pagedaemon 90633 33892 0 0 3 0x14200 bored viomb 49572 216011 0 0 3 0x40014200 acpi0 acpi0 38139 425009 0 0 3 0x14200 bored softnet3 3091 85704 0 0 3 0x14200 bored softnet2 72642 90108 0 0 3 0x14200 bored softnet1 94798 225074 0 0 3 0x14200 bored softnet0 73719 334719 0 0 3 0x14200 bored systqmp 33803 217854 0 0 3 0x14200 bored systq 59753 13450 0 0 2 0x40014200 softclock 66127 454202 0 0 3 0x40014200 idle0 1 131144 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 10211 10109K 12202K 166960K 15460 0 pcb 17 20K 22K 166960K 725 0 rtable 205 10K 10K 166960K 5114 0 pf 39 14K 18K 166960K 587 0 ifaddr 41 8K 9K 166960K 655 0 ifgroup 58 2K 2K 166960K 709 0 sysctl 3 0K 2K 166960K 8 0 counters 32 17K 17K 166960K 200 0 ioctlops 0 0K 4K 166960K 548 0 iov 0 0K 18K 166960K 335 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1646 103K 104K 166960K 5445 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 68K 76K 166960K 61 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 307 0 dirhash 15 2K 3K 166960K 72 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 11 37K 97K 166960K 4132 0 sigio 0 0K 0K 166960K 43 0 proc 59 59K 124K 166960K 4583 0 subproc 56 3K 3K 166960K 1066 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 317 0 in_multi 85 6K 7K 166960K 1737 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 7 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 2670 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 261 91K 107K 166960K 33012 0 UVM aobj 75 5K 6K 166960K 83 0 pinsyscall 32 64K 104K 166960K 8825 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 166 0 NDP 13 0K 2K 166960K 481 0 temp 99 6809K 6890K 166960K 118760 0 kqueue 13 20K 32K 166960K 336 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 721 0 718 3 2 1 3 0 8 0 rtentry 112 1805 0 1719 5 2 3 4 0 8 0 unpcb 144 3874 0 3859 15 9 6 8 0 8 5 syncache 336 8 0 8 2 2 0 1 0 8 0 tcpqe 32 3 0 3 1 1 0 1 0 8 0 tcpcb 808 1397 0 1393 23 15 8 8 0 8 7 arp 88 348 0 331 1 0 1 1 0 8 0 ipq 40 9 0 9 1 0 1 1 0 8 1 ipqe 40 120 0 120 1 0 1 1 0 8 1 inpcb 336 4951 0 4944 30 23 7 10 0 8 6 nd6 104 470 0 449 1 0 1 1 0 8 0 pkpcb 40 86 0 86 4 3 1 1 0 8 1 kcovpl 48 152 0 144 1 0 1 1 0 8 0 ppxss 1072 16 0 16 4 3 1 1 0 8 1 pfstscr 40 12 0 12 2 2 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 7 0 5 1 0 1 1 0 8 0 pfanchor 1288 11 0 7 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 22 0 20 2 1 1 1 0 8 0 pfstate 344 11 0 10 2 1 1 1 0 8 0 pfrule 1344 106 0 92 2 0 2 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 7000 0 6627 35 8 27 31 0 8 3 art_table 32 7001 0 6627 4 0 4 4 0 8 0 art_node 16 1799 0 1724 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 305 0 295 1 0 1 1 0 8 0 shmpl 112 80 0 8 3 0 3 3 0 8 0 dirhash 1024 59 0 39 3 0 3 3 0 8 0 dino2pl 256 6287 0 4515 111 0 111 111 0 8 0 ffsino 240 6287 0 4515 105 0 105 105 0 8 0 nchpl 144 9475 0 8751 68 41 27 67 0 8 0 uvmvnodes 80 8785 0 0 180 0 180 180 0 8 0 vnodes 216 8785 0 0 489 0 489 489 0 8 0 namei 1024 54018 0 54018 5 4 1 2 0 8 1 vcpupl 3904 12 0 0 2 0 2 2 0 8 0 vmpool 664 17 0 5 2 1 1 1 0 8 0 pfiaddrpl 120 3 0 1 1 0 1 1 0 8 0 kstatmem 264 362 0 336 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 91460 0 91460 16 13 3 8 1 8 3 plimitpl 152 998 0 980 1 0 1 1 0 8 0 sigapl 424 4129 0 4081 7 1 6 7 0 8 0 futexpl 64 40930 0 40930 1 0 1 1 0 8 1 knotepl 120 71352 0 71305 18 8 10 10 0 8 8 kqueuepl 184 982 0 973 7 3 4 4 0 8 3 pipepl 288 992 0 965 10 7 3 7 0 8 0 fdescpl 432 4109 0 4086 5 1 4 5 0 8 0 filepl 120 32033 0 31846 35 23 12 19 0 8 5 lockfpl 104 1058 0 1056 2 1 1 2 0 8 0 lockfspl 48 374 0 372 1 0 1 1 0 8 0 sessionpl 144 163 0 155 1 0 1 1 0 8 0 pgrppl 48 342 0 326 1 0 1 1 0 8 0 ucredpl 104 5605 0 5590 3 1 2 2 0 8 1 zombiepl 144 5537 0 5529 2 1 1 1 0 8 0 processpl 1088 4129 0 4081 4 0 4 4 0 8 0 procpl 648 7899 0 7836 8 2 6 7 0 8 0 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 504 9724 0 9699 188 176 12 33 0 8 8 mcl64k 65536 93 0 93 2 1 1 1 0 8 1 mcl16k 16384 18 0 18 4 3 1 1 0 8 1 mcl12k 12288 15 0 15 3 2 1 1 0 8 1 mcl9k 9216 10 0 10 3 2 1 1 0 8 1 mcl8k 8192 112 0 112 4 3 1 1 0 8 1 mcl4k 4096 83 0 83 4 3 1 1 0 8 1 mcl2k2 2112 9 0 9 3 2 1 1 0 8 1 mcl2k 2048 14673 0 14577 32 18 14 28 0 8 1 mtagpl 96 92 0 92 1 0 1 1 0 8 1 mbufpl 256 48132 0 47929 47 25 22 27 0 8 7 bufpl 280 14582 0 5793 628 0 628 628 0 8 0 anonpl 24 547938 0 539569 156 80 76 79 0 187 25 amapchunkpl 152 104488 0 103653 86 53 33 42 0 158 0 amappl16 200 8000 0 7971 62 51 11 15 0 8 8 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 400 0 390 1 0 1 1 0 8 0 amappl13 176 12 0 12 2 1 1 1 0 8 1 amappl12 168 6980 0 6948 3 1 2 3 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 131 0 131 1 1 0 1 0 8 0 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 381 0 369 1 0 1 1 0 8 0 amappl6 120 1572 0 1570 1 0 1 1 0 8 0 amappl5 112 689 0 680 1 0 1 1 0 8 0 amappl4 104 717 0 701 1 0 1 1 0 8 0 amappl3 96 20157 0 20018 5 1 4 4 0 8 0 amappl2 88 2575 0 2517 2 0 2 2 0 8 0 amappl1 80 28002 0 27461 16 3 13 14 0 8 1 amappl 88 31502 0 31306 5 0 5 5 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 7 0 7 2 2 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 82 0 8 2 0 2 2 0 8 0 uaddrrnd 24 4126 0 4085 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4126 0 4085 1 0 1 1 0 8 0 vmmpekpl 168 34171 0 34126 3 0 3 3 0 8 0 vmmpepl 168 270950 0 269001 123 28 95 96 0 357 10 vmsppl 344 4125 0 4084 5 1 4 4 0 8 0 rwobjpl 24 79674 0 69874 60 0 60 60 0 8 0 pdppl 4096 8258 0 8180 324 246 78 82 0 8 0 pvpl 32 2046588 0 2027291 836 573 263 382 0 265 102 pmappl 216 4125 0 4084 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 937 0 536 12 0 12 12 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:437 panic(ffffffff82fae3f1) at panic+0x1cf sys/kern/subr_prf.c:198 softclock(0) at softclock+0x276 sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xea sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 Xspllower() at Xspllower+0x1d printf(ffffffff83093d00) at printf+0xa3 sys/kern/subr_prf.c:532 uvm_fault_unwire_locked(fffffd807ec83c18,b93a9287000,b93a9486000) at uvm_fault_unwire_locked+0x2f2 uvm_unmap_kill_entry_withlock(fffffd807ec83c18,fffffd8065da7a00,0) at uvm_unmap_kill_entry_withlock+0x81 sys/uvm/uvm_map.c:1861 uvm_map_teardown(fffffd807ec83c18) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd807ec83c18) at uvmspace_free+0xbd sys/uvm/uvm_map.c:3422 reaper(ffff80002a45b958) at reaper+0x225 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82fae3f1) at panic+0x1cf sys/kern/subr_prf.c:198 softclock(0) at softclock+0x276 sys/kern/kern_timeout.c:759 softintr_dispatch(0) at softintr_dispatch+0xea sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 Xspllower() at Xspllower+0x1d printf(ffffffff83093d00) at printf+0xa3 sys/kern/subr_prf.c:532 uvm_fault_unwire_locked(fffffd807ec83c18,b93a9287000,b93a9486000) at uvm_fault_unwire_locked+0x2f2 uvm_unmap_kill_entry_withlock(fffffd807ec83c18,fffffd8065da7a00,0) at uvm_unmap_kill_entry_withlock+0x81 sys/uvm/uvm_map.c:1861 uvm_map_teardown(fffffd807ec83c18) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd807ec83c18) at uvmspace_free+0xbd sys/uvm/uvm_map.c:3422 reaper(ffff80002a45b958) at reaper+0x225 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: -12