Blue Screen of Death

Blue Screen of Death in Windows 8 includes a sad emoticon

Blue Screen of Death (also known as a blue screen or BSoD) is an error screen displayed on a Windows computer system after a fatal system error, also known as a system crash: when the operating system reaches a condition where it can no longer operate safely.

History

A Windows NT 4.0 BSoD, seen on a baggage claim monitor in Geneva International Airport

BSoDs have been present in Windows NT 3.1 (the first version of the Windows NT family, released in 1993) and all Windows operating systems released afterwards. (See History of Microsoft Windows.) BSoDs can be caused by poorly written device drivers or malfunctioning hardware, such as faulty memory, power supply issues, overheating of components, or hardware running beyond its specification limits. In the Windows 9x era, incompatible DLLs or bugs in the operating system kernel could also cause BSoDs. Because of the instability and lack of memory protection in Windows 9x, BSoDs were much more common.

Incorrect attribution

On 4 September 2014, several online journals, including Business Insider,[1] DailyTech,[2] Engadget,[3] Gizmodo,[4] Lifehacker,[5] Neowin,[6] Softpedia,[7] TechSpot,[8] The Register,[9] and The Verge[10] attributed the creation of the Blue Screen of Death to Microsoft's former CEO Steve Ballmer while citing a source that never said such a thing: An article by Raymond Chen (Microsoft employee) titled "Who wrote the text for the Ctrl+Alt+Del dialog in Windows 3.1?"[11] The article was about the creation of the first rudimentary task manager in Windows 3.x, which shared visual similarities with a BSoD.[11] In a follow up on 9 September 2014, Raymond Chen complained about this widespread mistake, claimed responsibility for revising the BSoD in Windows 95 and panned BGR.com for having "entirely fabricated a scenario and posited it as real".[12] Engadget later updated its article to correct the mistake.[3]

Format

Until Windows Server 2012, BSoDs showed silver text on a navy blue background with information about current memory values and register values. Windows Server 2012 and Windows 8 use a cerulean background instead.

Windows 95, 98 and ME BSoDs use 80×25 text mode. BSoDs in the Windows NT family use 80×50 text mode on a 720×400 screen. Windows XP BSoDs use the Lucida Console font while the Windows Vista and 7 BSoD uses the Consolas font. Windows 8, Windows Server 2012 use Segoe UI and attempt to render the BSoD at native resolution, otherwise defaulting to 640x480.

Windows NT

A stop error as seen in Windows XP

In Windows NT family of operating systems, the blue screen of death (officially known as a Stop error, and referred to as "bug check" in the Windows software development kit and driver development kit documentation) occurs when the kernel or a driver running in kernel mode encounters an error from which it cannot recover. This is usually caused by an illegal operation being performed. The only safe action the operating system can take in this situation is to restart the computer. As a result, data may be lost, as users are not given an opportunity to save data that has not yet been saved to the hard drive.

The text on the error screen contains the code of the error and its symbolic name (e.g. "0x0000001E, KMODE_EXCEPTION_NOT_HANDLED") along with four error-dependent values in parentheses that are there to help software engineers fix the problem that occurred. Depending on the error code, it may display the address where the problem occurred, along with the driver which is loaded at that address. Under Windows NT, the second and third sections of the screen may contain information on all loaded drivers and a stack dump, respectively. The driver information is in three columns; the first lists the base address of the driver, the second lists the driver's creation date (as a Unix timestamp), and the third lists the name of the driver.[13]

ReactOS, an attempt at creating a free and open-source implementation of a Windows NT-compatible operating system, also features its own BSoD similar to the one in Windows NT family.

By default, Windows will create a memory dump file when a stop error occurs. Depending on the OS version, there may be several formats this can be saved in, ranging from a 64kB "minidump" (introduced in Windows 2000) to a "complete dump" which is effectively a copy of the entire contents of physical memory (RAM). The resulting memory dump file may be debugged later, using a kernel debugger. For Windows WinDBG or KD debuggers from Debugging Tools for Windows are used.[14] A debugger is necessary to obtain a stack trace, and may be required to ascertain the true cause of the problem; as the information on-screen is limited and thus possibly misleading, it may hide the true source of the error. By default, Windows XP is configured to save only a 64kB minidump when it encounters a stop error, and to then automatically reboot the computer. Because this process happens very quickly, the blue screen may be seen only for an instant or not at all. Users have sometimes noted this as a random reboot rather than a traditional stop error, and are only aware of an issue after Windows reboots and displays a notification that it has recovered from a serious error. This happens only when the computer has a function called "Auto Restart" enabled, which can be disabled in the Control Panel which in turn shows the stop error.

Microsoft Windows can also be configured to send live debugging information to a kernel debugger running on a separate computer. If a stop error is encountered while a live kernel debugger is attached to the system, Windows will halt execution and cause the debugger to break in, rather than displaying the BSoD. The debugger can then be used to examine the contents of memory and determine the source of the problem.

A BSoD can also be caused by a critical boot loader error, where the operating system is unable to access the boot partition due to incorrect storage drivers, a damaged file system or similar problems. The error code in this situation is STOP 0x0000007B (INACCESSIBLE_BOOT_DEVICE). In such cases, there is no memory dump saved. Since the system is unable to boot from the hard drive in this situation, correction of the problem often requires using the repair tools found on the Windows installation disc.

Details

Before Windows Server 2012, each BSoD displayed an error name in uppercase (e.g. APC_INDEX_MISMATCH), a hexadecimal error number (e.g. 0x00000001) and four parameters. The last two are shown together in the following format:[15]

error code (parameter 1, parameter 2, parameter 3, parameter 4) error name

Depending on the error number and its nature, all, some, or even none of the parameters contain data pertaining to what went wrong, and/or where it happened. In addition, the error screens showed four paragraphs of general explanation and advice and may have included other technical data such the file name of the culprit and memory addresses.

With the release of Windows Server 2012, the BSoD was changed, removing all of the above in favor of the error name, and a concise description. Windows 8 added a sad emoticon as well. The hexadecimal error code and parameters can still be found in the Windows Event Log or in memory dumps.

Windows 9x

A blue screen of death, as appears on Windows 9x

The blue screen of death frequently occurs in Microsoft's home desktop operating systems Windows 95, 98, and ME. In these operating systems, the BSoD is the main way for virtual device drivers to report errors to the user. It is internally referred to by the name of "_VWIN32_FaultPopup". A Windows 9x BSoD gives the user the option either to restart or continue. However, VxDs do not display BSoDs frivolously — they usually indicate a problem that cannot be fixed without restarting the computer, and hence after a BSoD is displayed the system is usually unstable or unresponsive.

The most common BSoD is on a 25×80 screen which is the operating system's way of reporting an interrupt caused by a processor exception; it is a more serious form of the general protection fault dialog boxes. The memory address of the error is given and the error type is a hexadecimal number from 00 to 11 (0 to 17 decimal). The error codes are as follows:[16]

Reasons for BSoDs include:

Damaged hardware may also cause a BSoD.

In Windows 95 and 98, a BSoD occurs when the system attempts to access the file "c:\con\con" or "c:\aux\aux" on the hard drive. This could be inserted on a website to crash visitors' machines. On 16 March 2000, Microsoft released a security update to resolve this issue.[17]

A famous instance of a Windows 9x BSoD occurred during a presentation of a Windows 98 Beta by Bill Gates at COMDEX on April 20, 1998: The demo PC crashed with a BSoD when his assistant, Chris Capossela, connected a scanner to the PC to demonstrate Windows 98's support for Plug and Play devices. This event brought thunderous applause from the crowd and Gates replied after a nervous pause: "That must be why we're not shipping Windows 98 yet."[18]

Windows CE

The simplest version of the blue screen occurs in Windows CE except the versions for Pocket PC. The blue screen in Windows CE 3.0 is similar to the one in Windows NT.

Similar screens

OS/2, MS-DOS, Windows 3.1[12] and iOS displayed a Black Screen of Death. Windows 98 and early builds of Windows Vista displayed the red screen from a boot loader error.[19][20][21] Stop errors are comparable to kernel panics in OS X, Linux, and other Unix-like systems.

OS X

Older OS X versions have a kernel failure screen, which resembles the BSoD in the sense that a sudden screen appears and that freezes everything on the computer, where the only solution from that point forward is rebooting. Beginning with OS X Mountain Lion, the computer automatically restarts after a kernel failure and displays a message for a few seconds explaining that the computer has been restarted.[22]

Leopard features a blue screen but not that of death. Leopard's blue screen was part of a regular boot process in some situations. Some users, upgrading from Mac OS X 10.4 Tiger to Mac OS X 10.5 Leopard and having installed Application Enhancer, experienced a similar experience to a blue screen of death: on booting, the screen remained blue for an indefinite period of time because Application Enhancer's framework was not compatible with the new handlers that Leopard included. However, Apple became aware of the problem and posted a solution.[23] Nevertheless, Leopard's blue screen was not meant to inform and/or describe an error as the blue screen is just a consequence of the regular boot process.

In the new Finder sidebar, all Windows PCs connected to the same local network of a Mac running Leopard are represented with an icon representing a beige box CRT monitor displaying a Windows 9x blue screen of death.[24]

iPhone 5S

In September and October 2013, mainstream outlets reported iPhone 5S randomly showing a blank blue screen after which reboots occur, as well as random reboots without a blue screen, caused by the a kernel panic. The Verge attributes the blue screen and reboots to iWork, a bundled app of iPhone 5S.[25][26][27] More possible problems for the BSOD are iWork apps, when people multi-task, FaceTime, Safari, Camera, and when people press the home button.[28] Another issue could be when using an app that isn't made for iOS 7 or that the app isn't updated to run the iPhone's 64 bit Apple A7 chip. The iPhone 5S blue screen can also be attributed to a faulty screen replacement. The motherboard is damaged because the wrong screws were put back into the wrong places.[29] In some cases the iPhone 5S blue screen can be reverted by putting the screws back into the right places.

See also

References

  1. Smith, Dave (4 September 2014). "Steve Ballmer Wrote The Blue Screen Of Death". Business Insider. Business Insider Inc. Retrieved 10 September 2014.
  2. Mick, Jason (4 September 2014). "Microsoft Exec Reveals Steve Ballmer Created Original Blue Screen of Death Message". Daily Tech. DailyTech LLC. Retrieved 10 September 2014.
  3. 1 2 Fingas, Jon (4 September 2014). "Steve Ballmer wrote Windows' first Ctrl-Alt-Delete message (updated)". Engadget. AOL. Retrieved 10 September 2014.
  4. Condliffe, Jamie (4 September 2014). "Steve Ballmer Wrote the Blue Screen of Death". Gizmodo. Gawker. Retrieved 10 September 2014.
  5. Kidman, Alex (5 September 2014). "Steve Ballmer Wrote The BSOD, So Stop Slacking Off". Gizmodo. Allure Media. Retrieved 10 September 2014.
  6. Sams, Brad (4 September 2014). "Steve Ballmer wrote the BSOD text". Neowin. Neowin LLC. Retrieved 10 September 2014.
  7. Popa, Bogdan (4 September 2014). "Steve Ballmer Himself Created the First Blue Screen of Death Text". Softpedia. SoftNews SRL. Retrieved 10 September 2014.
  8. Schiesser, Tim (4 September 2014). "The original Blue Screen of Death was written by Steve Ballmer". TechSpot. Retrieved 10 September 2014.
  9. Sharwood, Simon (4 September 2014). "Ballmer PERSONALLY wrote Windows' Blue Screen of Death text". The Register. Retrieved 10 September 2014.
  10. Warren, Tom (4 September 2014). "Steve Ballmer wrote the Blue Screen of Death message". The Verge. Vox Media. Retrieved 10 September 2014.
  11. 1 2 Chen, Raymond (2 September 2014). "Who wrote the text for the Ctrl+Alt+Del dialog in Windows 3.1?". The Old New Thing. Microsoft. Retrieved 10 September 2014.
  12. 1 2 Chen, Raymond (9 September 2014). "Steve Ballmer did not write the text for the blue screen of death". The Old New Thing. Microsoft. Retrieved 10 September 2014.
  13. Microsoft Windows NT Workstation Resource Kit (1st ed.). Redmond, WA: Microsoft Press. 29 October 1996. ISBN 1-57231-343-9.
  14. http://msdn.microsoft.com/en-us/library/windows/hardware/dn745912(v=vs.85).aspx
  15. STOP: 0x00000001 (parameter, parameter, parameter, parameter) APC_INDEX_MIS
  16. "What Are Fatal Exception Errors". Support. Microsoft. 19 January 2007. Retrieved 16 October 2013.
  17. Microsoft Corporation (2000). "Patch Available for "DOS Device in Path Name" Vulnerability". TechNet. Microsoft. Retrieved 4 March 2006.
  18. Garmon, Jay (12 April 2007). "Video: Bill Gates, meet the Blue Screen of Death". TechRepublic. CBS Interactive. Retrieved 20 December 2013.
  19. "Advanced Configuration and Power Interface Errors on Red Screen". Support (1.3 ed.). Microsoft. 10 August 2007. Retrieved 19 July 2014.
  20. Best, Jo (11 May 2005). "Red screen of death?". CNET. CBS Interactive. Retrieved 9 September 2013.
  21. Farrell, Nick (3 June 2005). "Microsoft sees red over blue screen of death". The Inquirer. Incisive Media. Retrieved 9 September 2013.
  22. "OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support". support.apple.com. Retrieved 2015-05-30.
  23. "Blue screen" appears after installing Leopard and restarting
  24. Leopard Blue Screen of Death as you can see in CoverFlow
  25. THE VERGE: iPhone 5s users report 'Blue Screen Of Death' reboots
  26. iPhone in Canada: iPhone 5s's ‘Blue Screen of Death’ Bug Affecting iWork for iOS Users
  27. iMore: iOS 7 blue screen of death caught on video
  28. "How to fix 'blue screen of death' on the iPhone 5s". news.com.au. 12 October 2013.
  29. iPhone 5s Blue Screen

External links

Wikimedia Commons has media related to:
This article is issued from Wikipedia - version of the Thursday, February 04, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.