I have encountered 2 crashes, not sure what triggered it but I think whenever the turret's arrow is hitting or about to hit with battlements' arrow at the same time, it crashes.
Or whenever the enemy is climbing and got hit by arrows from turrets, archer, and battlements at the same time.
These two picture below are the exact moments when it crashed, two different games.