Strain localization in a continuum as an instability event