It seems with some models, the "Random start points for perimeters" setting could cause a crash.
I made a model for the purposes of quality testing, and when trying to build the Gcode it kept crashing.
I played around with settings, and seems the random start points if what's doing it.
I'll throw in the model so you can test for yourself and see if what's causing it could be narrowed down.