Interaction of a screw dislocation with a parabolic cavity and a semi-infinite crack