Computer Physicians, LLC Colorado customers frequently ask many questions about their computers. Therefore we have created a blog to help customers understand some topics in the computer and internet world.
Why do Computers Crash?
A computer crash is when your computer will not boot into the Windows operating system, or freezes and will not run at all.
Computers crash because of errors in the operating system (OS) software or errors in the computer hardware.
A variety of hardware components must function correctly in order for a computer to work. These components, like many things, age over time and can develop faults. These faults are often transient and they do not appear consistently. The system power supply can fail in this manner. Normally a computer’s power supply converts alternating current to clean direct current. If it starts to fail, the computer can crash accidentally when the power supply generates a noisy signal. The random access memory (RAM) can also fail in an intermittent way, particularly if it gets hot. Because the values RAM stores get corrupted unpredictably, it causes random system crashes. The central processing unit (CPU) can also be the source of crashes due to excessive heat. The (often loud) fans on most common computers are there to prevent this type of crash, though they may eventually fail.
More permanent faults happen with errors on a computer’s disk. Each disk stores information in units named sectors. Most new disks come with bad sectors that occur in the manufacturing process and are marked at the factory. Makers expect this and include ample additional sectors to replace the defective ones. Sectors can go bad later, however, and lose the information stored on them. If these sectors happen to hold system information, they can cause a crash. Worse, a disk can fail completely when the computer gets jarred and the head that reads information makes contact with the disk surface.
Computer crashes can also be caused by software.
The OS does more than provide an interface for the user to operate the computer. It also provides a consistent interface between applications and the hardware, and acts to share system resources between different programs. As a result, there are a number of errors that can occur. Perhaps the most common is a glitch that arises when the OS tries to access an incorrect memory address, perhaps as a result of a programming error. In Windows, this can lead to an error known as a General Protection Fault (GPF). Other errors drive the OS into an infinite loop, in which the computer executes the same instructions over and over without hope of escape. In these cases, the computer might seem to “lock up”–the system doesn’t crash, but is no longer responsive to input and needs to be reset. Still other problems result when a bug allows information to be written into a memory buffer that is too small to accept it. The additional data “overflows” out of the buffer and overwrites information in memory, corrupting the OS state. These same errors can occur in application programs. Newer Operating systems are robust against application crashes, but in older systems application bugs can affect the OS and cause a system-wide crash. Modern operating systems are carefully tested, and tend to be relatively stable, but drivers that are added to the OS to allow the use of additional devices such as printers may not be, and are often the source of crashes.
The OS can also crash when it fails in its job of managing system resources correctly. It is possible for the OS to reach a state of deadlock, in which multiple programs each have control of some resource another program needs, and each is waiting for the other to relinquish control of the resource. Alternatively, the system might be switching back and forth between a few programs, each of which needs a significant proportion of memory resources. Because the switching takes time (as memory information is stored to and read from the disk), it is possible for the machine to thrash, which means it spends so much time swapping programs back and forth that little or no productive processing occurs. A crashing machine may be slow or unresponsive, but its disk is still operating and it will generally recover after being left to itself for a few minutes.
Crashing can occur as a result of the OS failing to allocate and recover memory space properly. As the OS allows programs to run, it allocates memory to them. A memory leak occurs when the OS fails to recover the memory correctly when programs stop. Over time, the OS’s internal accounting will show that there is little memory available. Computers can crash as a result of different devices trying to use the same internal ID to operate. These types of crashes are more common after adding new, conflicting hardware to a system.
An OS can crash if information it needs is corrupted on disk. This often happens when a computer crashes, loses power, or is shut down without having the opportunity to write the contents of memory to the appropriate files. A system crash can therefore lead to later crashes upon rebooting. A virus infecting the system can also cause file corruption and cause a computer to crash.
Computer Physicians, LLC Colorado provides:
- System Crash Recovery
- Data Recovery
- Internet setup
- Computer, internet, and network Troubleshooting
- Virus, spyware, malware, and adware removal
- Hardware and software computer repair
- Computer Sales, systems, parts
- Upgrades and Installations
- Building PC computer systems
- tutoring & training
- Computer and network security
- Computer PC repair
Located in Erie, CO we service the Colorado front range, including:
Erie, Boulder, Longmont, Denver, Brighton, Louisville, Lafayette, Fredrick, Firestone, Fort Lupton, Thornton, Northglenn, Arvada, Superior, Broomfield, Gunbarrel, Henderson, Englewood, Aurora, Lakewood, Berthoud, Lyons, Niwot, Dacono, University of Colorado at Boulder, Weld and Boulder counties, and surrounding areas of Colorado.