3614102 - Reset stack housekeeping when compileProc fails.