Catch a condition that can crash the simulator.