WinDbg Dr. Watson minidump

编程入门 行业动态 更新时间:2024-10-11 13:20:44
本文介绍了WinDbg Dr. Watson minidump - 需要最初为已安装版本构建的pdb / dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我有一个心灵文件从目标的应用程序崩溃。我可以为软件版本重建dll / pdb文件,并正确加载windbg加载符号吗?

我的问题是我们的pdb文件仅适用于主要版本(不幸的是)。这是一个日常生活,我可以重建自己,但我正在错误地跳起来。

带有!sym嘈杂:image header不匹配内存图像头。

DBGENG:C:\ ... \XXX.dll图像头不匹配内存图像标题。 DBGENG:XXX.dll - 部分符号图像加载丢失图像信息 DBGHELP:模块未完全加载到内存中。 DBGHELP:使用调试器提供的数据搜索符号。 DBGHELP:C:\ ... \XXX.pdb - 不匹配的pdb

注意我已经使用dll构建了pdb,它们来自同一个RELEASE目录(应该正在构建调试?)

这些是发布版本(作为发布版本我应该用某种方式使用debug build dll来获取更多的符号信息?

解决方案

根据我的经验可能不是。

如果您具有完整的构建目录,并使用完全相同的编译器设置构建,那么这可能会起作用。您绝对不能从调试版本加载符号到发布崩溃转储。

您将需要打开加载任何选项:.symopt + 0x40让windbg忽略时间差异。

I have a mindmp file from a target's application crash. Is it possible for me to rebuild the dll/pdb files for a version of software and have windbg load symbols correctly?

My problem is that our pdb files are only kept for major releases (unfortunately). This is a daily build, which I can rebuild myself, but I'm getting tripped up on errors.

With !sym noisy on: "image header does not match memory image header."

DBGENG: C:\...\XXX.dll image header does not match memory image header. DBGENG: XXX.dll - Partial symbol image load missing image info DBGHELP: Module is not fully loaded into memory. DBGHELP: Searching for symbols using debugger-provided data. DBGHELP: C:\...\XXX.pdb - mismatched pdb

Note I've build the pdb with the dll, they are from the same RELEASE directory (should I be building debug?)

Theses are release builds (as release builds are installed on the target and crashing) should I be somehow using the debug build dlls to get more symbol information?

解决方案

In my experience probably not.

If you have the exact build directory and build with the exact same compiler settings then this might work. You definitely will not be able to load symbols from a debug build against a release crash dump.

You will need to turn on the 'load anything' options: .symopt+0x40 to get windbg to ignore the timestamp differences.

更多推荐

WinDbg Dr. Watson minidump

本文发布于:2023-11-07 02:06:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565266.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Dr   WinDbg   minidump   Watson

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!