Elastic and Elastic-Plastic Behaviour of a Crack in a Residual Stress Field