郑州交警周日贴条时间:Minidump Analysis

来源:百度文库 编辑:九乡新闻网 时间:2024/04/28 05:37:03
So you got a XP blue screen of death (BSOD) and you'd liketo have a crack at fixing it? Well hopefully this might help.

Turn On Minidumps

If you havn't already turned on minidumps, go to the Control Panel and follow this steps:
  1. System Icon
  2. Advanced Tab
  3. Startup and Recovery -> Settings
  4. Enable Write an Event to the system log
  5. Disable Automatically Restart
  6. Select the following debugging information:
    • Small memory dump (64 Kb)
    • Small Dump Directory : %SystemRoot%\Minidump
  7. Confirm all and restart the computer.

Crash It

Do whatever to make it crash. In my case it was leave the video encoding running overnight.

Install Tools

If you havn't got the windows debugging tools installed, then install theMicrosoftDebugging Tools (Direct Link)

Analyse The MiniDump

To extract useful information out of the minidump file created:
  1. Open a command prompt (Start -> Run -> "cmd")
  2. cd \program files\debugging tools (Or wherever they are installed to)
  3. kd -z C:\WINDOWS\Minidump\Mini???????-??.dmp
  4. kd> .logopen c:\debuglog.txt
  5. kd> .sympath srv*c:\symbols*http://msdl.microsoft.com/download/symbols
  6. kd> .reload;!analyze -v;r;kv;lmnt;.logclose;q
  7. You now have a debuglog.txt in c:\, open it in a text edit (Notepad?).

Post Mortem

Look for the MODULE_NAME and IMAGE_NAME headings. This is the program thatcaused the error. Sometimes when it's a device driver it means that thatdevice is causing the BSOD and by disabling it or updating the driver yoursystem will run stable. If you don't know what device that name relates tothen Google it.

(Under no circumstance ask me about your crash. I provide this information for freewithout any support.)

Hope it helps.