Critical configurations for dislocation nucleation from crack tips