On the solution of the problem of a curvilinear crack in a finite plane elastic medium