I did have similar issue the other day, when I was probing tool it went true pass the signal from the probe (good I have E-Stop on the probe as well)
That did happen when i was using MDI
The problem was the G code
G91 G31 G1 Z-30 F150 -when I did in this order It did crash
G91 G1 G31 Z-30 F150 - works without issue
Hope that will help