cdb and windbg unable to load MiniDumps, but VS 2008 loads them fine

坚强是说给别人听的谎言 提交于 2019-12-24 16:34:18

问题


I am trying to build some automated crash dump analysis, but I cannot get cdb or windbg to load my crash dumps. They load just fine in VS 2008.

When I run dumpchk.exe on the file, I get:

Loading Dump File [c:\devx86\temp\ErrorDump.mdmp]
User Mini Dump File: Only registers, stack and portions of memory are available

ERROR: Memory range data only partially present in dump (RVA 0x1011F, size 0x94)
**** DebugClient cannot open DumpFile - error 80070570
DumpFile is corrupt

When I run cdb on the file, I get:

ERROR: Memory range data only partially present in dump (RVA 0x1011F, size 0x94)
Debuggee initialization failed, Win32 error 0n1392
    "The file or directory is corrupted and unreadable."

回答1:


Installing the latest version of the tools fixed the problem



来源:https://stackoverflow.com/questions/1491646/cdb-and-windbg-unable-to-load-minidumps-but-vs-2008-loads-them-fine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!