Stability of superconductors