Mechanisms of local thermal stability in high temperature superconductors