That sounds like you might be having noise issues on your limit switches. I ran many carves successfully, then suddenly started having problems like what you describe.
For now, I’ve turned off hard limits ($21=0, in machine inspector). I’m going to be ordering an opto isolator board to elminate the noise issue. Hopefully that will be a permanent fix.