windows服务器dmp文件分析,如何用WinDbg分析MEMORY.DMP文件

本文介绍了如何在Windows服务器上生成并分析MEMORY.DMP文件以诊断问题。通过设置系统启动参数,当发生蓝屏后,系统会自动生成MEMORY.DMP。接着,下载并安装Windows Debug Tools,配置符号文件路径,然后使用WinDbg打开MEMORY.DMP文件进行分析。通过输入特定命令,可以获取详细的调试信息,识别导致蓝屏的原因,例如在案例中,问题出在storport.sys驱动上。解决方案是查找和更新相关的驱动程序。
摘要由CSDN通过智能技术生成

1. 我的电脑,属性->高级->启动,最下面的内存调试选最后一项的全部,确定后重新启动

2. 蓝屏后不要急着重启,系统会保存整个内存内容,然后会自动重启

3. 重启后,windows目录会多出 MEMORY.DMP, 如果1步骤选完全调试,那么这个文件和你的内存一样大

4. 下载安装windwos 的 debug tools, 我这有下载地址,或微软网站

http://public.hshh.org/SysTools/debug/dbg_x86_6.6.07.5.exe

5. 安装后创建一个临时目录,例如 c:\temp

6. 启动 windbg

7. windbg界面: file->symbol file path (ctrl+s) 输入:

SRV*c:\temp*http://msdl.microsoft.com/download/symbols

然后确定

8. windbg界面: file->open crash dump(ctrl+d),打开windows目录下面的 memory.dmp

9. 打开后,等待提示

当出现 Use !analyze -v to get detailed debugging information. 字样后,在下面输入框

!analyze -v

10. 等待分析完毕,可以知道什么导致的出错

我贴出之前服务器问题:

Use !analyze -v to get detailed debugging information.

BugCheck 3B, {c0000005, fffffadf291e4ec4, fffffadf25015d90, 0}

Page cc2d8 not present in the dump file. Type ".hh dbgerr004" for details

Page cdecc not present in the dump file. Type ".hh dbgerr004" for details

*** ERROR: Module load completed but symbols could not be loaded for HpCISSs2.sysPage cdecc not present in the dump file. Type ".hh dbgerr004" for details

Page cc2d8 not present in the dump file. Type ".hh dbgerr004" for details

Page c549d not present in the dump file. Type ".hh dbgerr004" for details

Page c555e not present in the dump file. Type ".hh dbgerr004" for details

PEB is paged out (Peb.Ldr = 000007ff`fffd4018).  Type ".hh dbgerr001" for details

Page cdecc not present in the dump file. Type ".hh dbgerr004" for details

Page cc2d8 not present in the dump file. Type ".hh dbgerr004" for details

Page c549d not present in the dump

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值