Using Carveco and Openbuilds (inch) as the post processor. It made it through around half way when the router kicked off and took a dove into my project and I received that error. I have attached the file if anyone could help me to narrow it down to the file or hardware I would deeply appreciate it.
I vote EMI corrutping the USB communications. move USB cable away from all power cables, from the PSU and from the drivers to the steppers use SHORT USB cable, like 2 feet long, of good quality.
also could be USB port power saving caused a controller reset. docs.openbuilds.com for how to turn off power saving
I ran your file through a controller in test mode without any errors, so not the Gcode , pointing to an EMI problem on your machine