Share to: share facebook share twitter share wa share telegram print page

Triple fault

On the x86 computer architecture, a triple fault is a special kind of exception generated by the CPU when an exception occurs while the CPU is trying to invoke the double fault exception handler, which itself handles exceptions occurring while trying to invoke a regular exception handler.

x86 processors beginning with the 80286 will cause a shutdown cycle to occur when a triple fault is encountered. This typically causes the motherboard hardware to initiate a CPU reset, which, in turn, causes the whole computer to reboot.[1][2]

Possible causes of triple faults

Triple faults indicate a problem with the operating system kernel or device drivers. In modern operating systems, a triple fault is typically caused by a buffer overflow or underflow in a device driver which writes over the interrupt descriptor table (IDT). If the IDT is corrupted, when the next interrupt happens, the processor will be unable to call either the needed interrupt handler or the double fault handler because the descriptors in the IDT are corrupted.[citation needed]

Virtual machines

In QEMU, a triple fault produces a dump of the virtual machine in the console, with the instruction pointer set to the instruction that triggered the first exception.

In VirtualBox, a triple fault causes a Guru Meditation error to be displayed to the user. A virtual machine in this state has most features disabled and cannot be restarted. If the VirtualBox Debugger is open, a message is printed indicating a Triple fault has occurred, followed by a register dump and disassembly of the last instruction executed, similar to the output of the rg debugger command.

When using Intel VT-x, a triple fault causes a VM exit, with exit reason 2. The exit reason is saved to the VMCS and may be handled by the VMM software.

Other uses

The Intel 80286 processor was the first x86 processor to introduce the now-ubiquitous protected mode. However, the 286 could not revert to the basic 8086-compatible "real mode" without resetting the processor, which can only be done using hardware external to the CPU. On the IBM AT and compatibles, the documented method of doing this was to use a special function on the Intel 8042 keyboard controller, which would assert the RESET pin of the processor. However, intentionally triple-faulting the CPU was found to cause the transition to occur much faster (800 microseconds instead of 15+ milliseconds) and more cleanly, permitting multitasking operating systems to switch back and forth at high speed.[3]

Some operating system kernels, such as Linux, still use triple faults as a last effort in their rebooting process if an ACPI reboot fails. This is done by setting the IDT register to 0 and then issuing an interrupt.[1] Since the table now has length 0, all attempts to access it fail and the processor generates a triple fault.

References

  1. ^ a b Collins, Robert (2000). "Triple Faulting the CPU". Productivity Enhancements and Programming Tricks. Archived from the original on 2017-09-09. Retrieved 2015-11-22.
  2. ^ Collins, Robert (2000). "ELEGANT RESET". Archived from the original on 2017-09-09. Retrieved 2017-09-09.
  3. ^ Osterman, Larry (2005-02-08). "Faster Syscall Trap redux". Larry Osterman's WebLog. MSDN Blogs. Archived from the original on 2017-09-09. Retrieved 2010-07-23.

Read other articles:

Questa voce sull'argomento aviazione è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. I montanti o puntoni cabane (cabane strut in lingua inglese) è uno dei termini comuni ereditato dalla terminologia costruttiva di un velivolo biplano, che può essere tradotto come: montanti della sezione centrale. Questi elementi strutturali supportano l'ala superiore sulla fusoliera ed insieme con altri componenti, qual…

Hanum Salsabiela RaisHanum Salsabiela Rais Anggota Dewan Perwakilan Rakyat Daerah Provinsi Daerah Istimewa YogyakartaMasa jabatan2 Oktober 2019 – 29 April 2023[1]GubernurHamengkubuwana X PenggantiMardiyonoMayoritas23.567 suara[2] Informasi pribadiLahir12 April 1982 (umur 41)Yogyakarta, IndonesiaPartai politikPartai Ummat (sejak 2023)Partai Amanat Nasional (hingga 2023)Suami/istriRangga AlmahendraHubunganAbdul Rozaq Rais (paman)Ahmad Hanafi Rais (kakak laki-laki)Ah…

  لمعانٍ أخرى، طالع مارغريت من النمسا (توضيح). مارغريت النمساوية ملكة إسبانيا (بالألمانية: Margarete von Österreich)‏    معلومات شخصية الميلاد 25 ديسمبر 1584  غراتس  الوفاة 3 أكتوبر 1611 (26 سنة) [1]  الإسكوريال  سبب الوفاة اضطراب النفاس  مكان الدفن بانثيون الملوك …

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada April 2017. Tatsuya ShiozawaInformasi pribadiNama lengkap Tatsuya ShiozawaTanggal lahir 11 November 1982 (umur 41)Tempat lahir Prefektur Shizuoka, JepangPosisi bermain PenyerangKarier senior*Tahun Tim Tampil (Gol)2001-2003 Shimizu S-Pulse * Penampilan dan gol di k…

2019 South Korean filmBring Me HomeHangul나를 찾아줘 Directed byKim Seung-wooScreenplay byKim Seung-wooProduced byPark Se-joonStarring Lee Young-ae Yoo Jae-myung Park Hae-joon Lee Won-keun CinematographyLee Mo-gaeEdited byKim Chang-juProductioncompany26 CompanyRelease date November 27, 2019 (2019-11-27) (South Korea) Running time108 minutesCountrySouth KoreaLanguageKoreanBox officeUS$4.4 million[1] Bring Me Home (Korean: 나를 찾아줘; Hanja:&#…

Kereta api PasundanKereta api Pasundan persiapan melintas langsung Stasiun PalurInformasi umumJenis layananKereta api antarkotaStatusBeroperasiDaerah operasiDaerah Operasi II BandungPendahuluBadrasuryaMulai beroperasi1996Operator saat iniKereta Api IndonesiaJumlah penumpang harian1.300 penumpang per hari[1][butuh rujukan]Lintas pelayananStasiun awalKiaracondongJumlah pemberhentian27 stasiunStasiun akhirSurabaya GubengJarak tempuh691 kmWaktu tempuh rerata13 jam 38 menit[2]…

Marlon BrandoBrando pada tahun 1950LahirMarlon Brando Jr.(1924-04-03)3 April 1924Omaha, Nebraska, A.S.Meninggal1 Juli 2004(2004-07-01) (umur 80)Los Angeles, California, A.S.PekerjaanAktor, sutradara film, aktivisTahun aktif1944–2004[1]Karya terkenal A Streetcar Named Desire Viva Zapata! Julius Caesar The Wild One On the Waterfront The Godfather Last Tango in Paris Apocalypse Now Suami/istri Anna Kashfi ​ ​(m. 1957; c. 1959)​ Mov…

14e cérémonie des Saturn Awards Saturn Awards Organisée par Academy of Science Fiction, Fantasy and Horror Films Détails Date 17 mai 1987 Lieu États-Unis Site web http://www.saturnawards.org/ Résumé Meilleur film de science-fiction Aliens, le retour Meilleur film fantastique La Tête dans les nuages Meilleur film d'horreur La Mouche Chronologie 13e cérémonie des Saturn Awards 15e cérémonie des Saturn Awards modifier  La 14e cérémonie des Saturn Awards, réco…

Knight's Cross recipientsAllgradesGrand CrossGolden Oak Leaves, Swordsand DiamondsOak Leaves, Swords and DiamondsOak Leaves and SwordsOakLeaves 1940–41 1942 1943 1944 1945 Foreign Knight'sCross A Ba–Bm Bn–Bz C D E F G Ha–Hm Hn–Hz I J Ka–Km Kn–Kz L M N O P Q R Sa–Schr Schu–Sz T U V W X–Z Foreign  Knight's Cross The Knight's Cross of the Iron Cross (German: Ritterkreuz des Eisernen Kreuzes) and its variants were the highest awards in the military and paramilitary forces of…

Suad Beširević Nazionalità  Jugoslavia Slovenia (dal 1991) Calcio Ruolo attaccante Termine carriera 1996 Carriera Giovanili 1977-1983 Svoboda Squadre di club1 1983 Svoboda? (?)1983-1984 Slovan Lubiana30 (3)1984-1989 Borac Banja Luka84 (37)1989-1990 Rijeka18 (3)1990-1992 Apollōn Limassol25 (19)1992-1993 Publikum Celje11 (7)1993-1994 APEP Pitsilia20 (10)1994-1995 Arīs Limassol28 (13)1995-1996 Omonia Aradippou11 (1) Carriera da allena…

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs to be updated. Please help update this article to reflect recent events or newly available information. (September 2022) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Bay Fe…

Welborn Village Archeological Site(12 Po 190)Caborn-Welborn culture and some of its larger sites.Location within Indiana todayLocationUniontown, Kentucky, Posey County, Indiana,  USARegionPosey County, IndianaCoordinates37°47′41″N 87°59′20″W / 37.79472°N 87.98889°W / 37.79472; -87.98889HistoryCulturesCaborn-Welborn culture Welborn Village Archeological Site (12 Po 19), also known as the Murphy's Landings site, is an archaeological site of the pr…

Supreme Court of the United States38°53′26″N 77°00′16″W / 38.89056°N 77.00444°W / 38.89056; -77.00444EstablishedMarch 4, 1789; 235 years ago (1789-03-04)LocationWashington, D.C.Coordinates38°53′26″N 77°00′16″W / 38.89056°N 77.00444°W / 38.89056; -77.00444Composition methodPresidential nomination with Senate confirmationAuthorized byConstitution of the United States, Art. III, § 1Judge term lengthlife …

England Template‑class England portalThis template is within the scope of WikiProject England, a collaborative effort to improve the coverage of England on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.EnglandWikipedia:WikiProject EnglandTemplate:WikiProject EnglandEngland-related articlesTemplateThis template does not require a rating on Wikipedia's content assessment scale. This template was consider…

Guerra del PacíficoMappa dei confini attuali e precedenti alla guerra del Pacifico tra Cile, Bolivia e PerùData14 febbraio 1879 - 20 ottobre 1883 LuogoCosta occidentale del Sudamerica Casus belliTassa di 10 centesimi per quintale di salnitro esportato dalla società cilena Compañía de Salitres y Ferrocarril de Antofagasta, dal territorio boliviano EsitoVittoria cilena; Annessione della regione di Antofagasta, già parte della Bolivia e della regione di Tarapacá già parte del Perù Schieram…

Facial lymph nodesThe lymphatics of the face.Facial lymph nodes labelled 8 - 12DetailsSystemLymphatic systemIdentifiersLatinnodi lymphoidei facialesFMA233946Anatomical terminology[edit on Wikidata] The facial lymph nodes comprise three groups: (a) infraorbital or maxillary, scattered over the infraorbital region from the groove between the nose and cheek to the zygomatic arch; (b) buccinator, one or more placed on the buccinator muscle opposite the angle of the mouth; (c) supramandibular, on…

Genus of palms Clinosperma Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Monocots Clade: Commelinids Order: Arecales Family: Arecaceae Subfamily: Arecoideae Tribe: Areceae Subtribe: Clinospermatinae Genus: ClinospermaBecc., 1920 Synonyms[1] Brongniartikentia Becc.Lavoixia H.E.Moore Clinosperma is a palm tree genus in the family Arecaceae. The genus has 4 known species, all endemic to the Island of New Caledonia, in the Melanesia bioregion of th…

American actress and producer (1923–1988) Bonita GranvilleGranville c. 1946BornBonita Gloria Granville(1923-02-02)February 2, 1923New York City, U.S.DiedOctober 11, 1988(1988-10-11) (aged 65)Santa Monica, California, U.S.Resting placeHoly Cross Cemetery, Culver City, CaliforniaOther namesBonita Granville WratherOccupationsActressproducerYears active1926–1981Known forThese ThreeNancy Drew... ReporterNancy Drew... DetectiveNancy Drew... Trouble ShooterNancy Drew and the Hid…

Karoo CommandoKaroo Commando emblemCountry South AfricaAllegiance  Republic of South Africa  Republic of South Africa Branch  South African Army  South African Army TypeInfantryRoleLight InfantrySizeOne BattalionPart ofSouth African Infantry CorpsArmy Territorial ReserveGarrison/HQBeaufort WestMilitary unit Karoo Commando was a light infantry regiment of the South African Army. It formed part of the South African Army Infantry Formation as well as the South African …

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字が含まれています(詳細)。 数字の大字(だいじ)は、漢数字の一種。通常用いる単純な字形の漢数字(小字)の代わりに同じ音の別の漢字を用いるものである。 概要 壱万円日本銀行券(「壱」が大字) 弐千円日本銀行券(「弐」が大字) 漢数字には「一」「二」「三」と続く小字と、「壱」「弐」…

Kembali kehalaman sebelumnya