Catastrophic failures of energetic materials