On cracks and dislocations in shafts under torsion