The crack-contact and the free-end problem for a strip under residual stress