Text this: Local structural instability and formation of hot spots in materials under mechanical loading