Knife crashes Blender 4.2 when displaying measurements along edge

Exact steps for others to reproduce the error
On the default cube go on edit mode and do the following:
1- Press k to activate knife.
2- Click on a vertex.
3- Press S to display measurements.
4- Move mouse pointer along the edge until it crashes.