This was a problem with my 830. It seems to be a problem with my new 840 as well. Towards then end of a 45mi ride 840 turned off and restarted. It continued after reconnecting to all devices but any distance traveled was lost. I can provide the crash logs if that helps.