Entropy and enthalpy catastrophe as a stability limit for crystalline material