I have the same issue with 4.7.1 .
I have a 30+ hour print. and the print will run to about 40%, and then all of a sudden it says it is done, head freezes on the part, screen says the print is done and wants me to confirm.
This only happens with the 4.7.1 - 4.6.x never had the issue.
I did notice, this happened on some smaller prints when I had previewed sliced and then exported the gcode.
So far.. wasted about half a spool of pla - but now.. trying 4.6 to get things done.
I appreciate anyone's thoughts or help.