How to analyze and drive the blue screen

Source: Internet
Author: User

Step 1: view the blue screenCodeInformation to roughly locate the location of the Code that causes the blue screen. Because many parameters of the blue screen code record the memory address referenced when a blue screen occurs, for example:
The computer has restarted after detecting an error. Check error: 0x0000001e (0xc0000005, 0xf7ce8bad, 0x00000000, 0x00e2ddd0 ).

Here, the parameter 0xf7ce8bad points to the code location that causes the exception. By loading the address table against the system kernel driver, you can find the driver name that causes the exception, then, based on the principle of the PE Structure memory ing file, after decompiling the driver code, you can find the driver that causes the blue screen from the corresponding offset.ProgramCode location.

Step 2: For the analysis that does not directly specify the reference address in the parameters of the blue screen code, you need to save the dump file for debugging and analysis. For example:
The computer has restarted after detecting an error. Check error: 0x0000000a (0x0000002c, 0x00000002, 0x00000000, 0x80441a1e)

The debugging tool can use Microsoft windbg. During debugging, the corresponding dump system symbol file is used. The debugging steps are described in detail on the Internet, you can find the location of the Code that caused the blue screen. If you need to perform detailed debugging, it is best not to use minidump, but to set it to a full memory dump.

Step 3: for frequent blue screen reboots, using SoftICE for dynamic debugging is the simplest and most effective method. After SoftICE is installed in the system, if the system generates exceptions, softICE directly intercepts the driver. It is not a problem to use the powerful command system provided by SoftICE to find out the cause. Of course, the driver of SoftICE has not been uninstalled when the blue screen is turned off, otherwise, you need to use dual-host for remote debugging.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.