Crash-only software

Crash-only software refers to computer programs that handle failures by simply restarting, without attempting any sophisticated recovery.[1] Correctly written components of crash-only software can microreboot to a known-good state without the help of a user. Since failure-handling and normal startup use the same methods, this can increase the chance that bugs in failure-handling code will be noticed,[clarification needed] except when there are leftover artifacts, such as data corruption from a severe failure, that don't occur during normal startup.[citation needed]

Crash-only software also has benefits for end-users. All too often, applications do not save their data and settings while running, only at the end of their use. For example, word processors usually save settings when they are closed. A crash-only application is designed to save all changed user settings soon after they are changed, so that the persistent state matches that of the running machine. No matter how an application terminates (be it a clean close or the sudden failure of a laptop battery), the state will persist.

See also

References


🔥 Top keywords: Main PageShannen DohertySpecial:SearchCarlos AlcarazList of United States presidential assassination attempts and plotsAttempted assassination of Donald TrumpDonald TrumpRichard Simmons2024 shooting at a Donald Trump rallyLamine YamalNovak DjokovicNico WilliamsUEFA European ChampionshipWikipedia:Featured picturesThomas Matthew CrooksProject 2025Attempted assassination of Ronald ReaganUEFA Euro 2024Jacoby JonesAR-15–style rifleMukesh AmbaniLonglegsSpain national football teamKimberly CheatleKalki 2898 ADList of Wimbledon gentlemen's singles championsCole PalmerGareth SouthgateJohn Hinckley Jr.Harry KaneLuke PerryAntifa (United States)United States Secret Service.xxxDeaths in 2024Ruth WestheimerEvan VucciButler, PennsylvaniaIndian 2