本文介绍了如何解决 Windbg 上显示的此错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经加载了一个 .exe 并且出现了这个错误:

I've loaded a .exe and it gave this error:

Microsoft (R) Windows Debugger Version 6.12.0002.633 X86
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\dist\SoundLog.exe"
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.           *
* Use .symfix to have the debugger choose a symbol path.                   *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00400000 0061c000   image00400000
ModLoad: 771a0000 772dc000   ntdll.dll
ModLoad: 76e10000 76ee4000   C:\Windows\system32\kernel32.dll
ModLoad: 75460000 754aa000   C:\Windows\system32\KERNELBASE.dll
ModLoad: 76550000 76619000   C:\Windows\system32\USER32.dll
ModLoad: 76b30000 76b7e000   C:\Windows\system32\GDI32.dll
ModLoad: 77310000 7731a000   C:\Windows\system32\LPK.dll
ModLoad: 76ef0000 76f8d000   C:\Windows\system32\USP10.dll
ModLoad: 75650000 756fc000   C:\Windows\system32\msvcrt.dll
ModLoad: 65ee0000 65f83000   C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.dll
(c8.704): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000000 ecx=0012fb0c edx=771e64f4 esi=fffffffe edi=00000000
eip=7723e60e esp=0012fb28 ebp=0012fb54 iopl=0         nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll -
ntdll!LdrVerifyImageMatchesChecksum+0x633:
7723e60e cc              int     3
0:000> g

然后我按了 F5 并且在执行程序时给了我这个错误(这个是我需要解决的):

Then I pressed F5 and while executing the program gave me this error (this one is what I need to solve):

ModLoad: 6f980000 6ff11000   C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
ModLoad: 6f8e0000 6f97b000   C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
ModLoad: 752f0000 752fb000   C:\Windows\system32\profapi.dll
ModLoad: 6e670000 6f168000   C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\8c1770d45c63cf5c462eeb945ef9aa5d\mscorlib.ni.dll
ModLoad: 03d90000 03dac000   SoundLogC++WrapperDLL.dll
ModLoad: 03db0000 03dcc000   SoundLogC++WrapperDLL.dll
ModLoad: 6afa0000 6affb000   C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
ModLoad: 04dd0000 04e13000   msvcm90.dll
ModLoad: 04e20000 04e63000   msvcm90.dll
ModLoad: 76aa0000 76b23000   C:\Windows\system32\CLBCatQ.DLL
ModLoad: 75280000 752df000   C:\Windows\system32\sxs.dll
ModLoad: 60340000 60348000   C:\Windows\Microsoft.NET\Framework\v2.0.50727\culture.dll
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): CLR exception - code e0434f4d (first chance)
(b78.9c8): CLR exception - code e0434f4d (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): C++ EH exception - code e06d7363 (first chance)
(b78.9c8): CLR exception - code e0434f4d (!!! second chance !!!)
eax=0012e2a4 ebx=e0434f4d ecx=00000001 edx=00000000 esi=0012e32c edi=002bada0
eip=75469617 esp=0012e2a4 ebp=0012e2f4 iopl=0         nv up ei pl nz ac po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000212
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\system32\KERNELBASE.dll -
KERNELBASE!RaiseException+0x54:
75469617 c9              leave

谁能告诉我这是什么,我该如何解决?

Can anyone tell me what is this and how can I solve it?

推荐答案

您的第一个问题是您没有设置符号路径.您可以按照消息中的建议运行.symfix",以使用 Microsoft 的公共符号服务器自动选择符号路径.第二个是未处理的异常.您需要先获取正确的符号,然后运行k"来获取堆栈跟踪,以便您更深入地了解正在发生的事情.

Your first issue is that you do not have a symbol path set. You can run ".symfix", as suggested in the message, to automatically select a symbol path using Microsoft's public symbol server. The second is an unhandled exception. You need to get proper symbols first, and then run "k" to get a stack trace that should give you more insight into what is happening.

这篇关于如何解决 Windbg 上显示的此错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-02 02:36