本文介绍了CLR例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 加载转储文件[C:\ Myy \Debuggers \dump\MathApp__PID__3976__Date__02_25_2018__Time_07_16_32AM__3__First chance exception 0XE0434F4D.dmp] 具有完整内存的用户迷你转储文件:仅应用程序数据为可用Loading Dump File [C:\My\Debuggers\dump\MathApp__PID__3976__Date__02_25_2018__Time_07_16_32AM__3__First chance exception 0XE0434F4D.dmp]User Mini Dump File with Full Memory: Only application data is available评论:'由DbgHost创建的转储。第一次机会异常0XE0434F4D' 符号搜索路径是:SRV * C:\ Myy \ Sym * http://msdl.microsoft.com/download/symbols; C:\Program Files \\ \\ Microsoft CHESS\bin\ 可执行搜索路径是: Windows 8版本9200 MP(2个推出)免费x86兼容 产品:WinNt,套件:SingleUserTS 建造者:6.2.9200.16384(win8_rtm.120725-1247) 机器名称: 调试会话时间: Sun Feb 25 08:16:36.000 2018(UTC - 7:00) $ 系统正常运行时间:0天2:39:18.002 $ 流程正常运行时间:0天0:00 :20.000 ........................................ ........................ .................. ............. 加载卸载的模块列表 ... 此转储文件有一个例外存储在其中的兴趣。 存储的异常信息可以通过.ecxr访问。 (f88.d20):CLR异常 - 代码e0434f4d(第一次/第二次机会没有可用) eax = 010 5d5a0 EBX = e0434f4d ECX = 00000001 EDX = 00000000 ESI = 0105d630 EDI = 0128a2c0 EIP = 756b1a65 ESP = 0105d5a0 EBP = 0105d5f8 IOPL = 0       &NBSP ; nv up ei pl nz ac pe nc cs = 001b SS = 0023  DS = 0023  ES = 0023  FS = 003B  GS = 0000             efl = 00200216 $ KERNELBASE!RaiseException + 0x62: 756b1a65 8b4c2454 MOV     ecx,dword ptr [esp + 54h] ss:0023:0105d5f4 = ccb2adda 0:000> k ChildEBP RetAddr 0105d5f8 696f1df4 KERNELBASE!RaiseException + 0x62 0105d658 696a4fb8 mscorwks!RaiseTheExceptionInternalOnly + 0x2a8 ***警告:无法验证mscorlib的校验和。 ni.dll 0105d71c 675a0f28 mscorwks!JIT_Throw + 0xfc 0105d738 66e7f5f8 mscorlib_ni + 0x950f28 0105d808 67331946 mscorlib_ni + 0x22f5f8 ***警告:无法验证WindowsBase.ni.dll的校验和。 0105d908 56da08ea mscorlib_ni + 0x6e1946 ***警告:无法验证PresentationFramework的校验和。 ni.dll 0105d930 54cf6470 WindowsBase_ni + 0xa08ea 0105da28 56da037c PresentationFramework_ni + 0x1d6470 0105da5c 56da010c WindowsBase_ni + 0xa037c 0105db04 56d9f547 WindowsBase_ni + 0xa010c 0105db8c 56d9ee4e WindowsBase_ni + 0x9f547 0105dbe4 54d075cc WindowsBase_ni + 0x9ee4e 0105dc14 54d33a56 PresentationFramework_ni + 0x1e75cc 0105dc28 54cfce4e PresentationFramework_ni + 0x213a56 0105dc58 54cfcf87 PresentationFramework_ni + 0x1dce4e 0105dc74 54cfcf2d PresentationFramework_ni + 0x1dcf87 0105dc8c 54d0b80f PresentationFramework_ni + 0x1dcf2d 0105dcc0 54d240aa PresentationFramework_ni + 0x1eb80f 0105dce8 54d23fed PresentationFramework_ni + 0x2040aa 0105dd00 56da7b99 PresentationFramework_ni + 0x203fed 0105dd30 56da79b9 WindowsBase_ni + 0xa7b99 0105dd70 56da78da WindowsBase_ni + 0xa79b9 0105dd94 54d0c899 WindowsBase_ni + 0xa78da 0105ddc8 54d7fdd2 PresentationFramework_ni + 0x1ec899 0105dddc 56da7b99 PresentationFramework_ni + 0x25fdd2 0105de0c 56da79b9 WindowsBase_ni + 0xa7b99 0105de4c 56da78da WindowsBase_ni + 0xa79b9 0105de68 54d3e63e WindowsBase_ni + 0xa78da 0105dea4 54d0c490 PresentationFramework_ni + 0x21e63e 0105deb0 54d0c471 PresentationFramework_ni + 0x1ec490 0105dec0 54d0c41b PresentationFramework_ni + 0x1ec471 0105de C8 54d0c3e3 PresentationFramework_ni + 0x1ec41b 0105dee4 54d3d311 PresentationFramework_ni + 0x1ec3e3 0105def4 54d3d26d PresentationFramework_ni + 0x21d311 0105df0c 56da08ea PresentationFramework_ni + 0x21d26d 0105df34 54cf6470 WindowsBase_ni + 0xa08ea 0105e02c 56da037c PresentationFramework_ni + 0x1d6470 0105e060 56da010c WindowsBase_ni + 0xa037c 0105e108 56d9fb62 WindowsBase_ni + 0xa010c 0105e14c 54d313d0 WindowsBase_ni + 0x9fb62 0105e164 54d31014 PresentationFramework_ni + 0x2113d0 0105e1b0 54d2ef87 PresentationFramework_ni + 0x211014 0105e1d8 54d1d30e PresentationFramework_ni + 0x20ef87 0105e220 54d7f479 PresentationFramework_ni + 0x1fd30e 0105e22c 54d7f431 PresentationFramework_ni + 0x25f479 0105e240 54d7f347 PresentationFramework_ni + 0x25f431 0105e260 54d7f27e PresentationFramework_ni + 0x25f347 ***警告:无法验证PresentationCor的校验和e.ni.dll 0105e2a8 53b1a6a1 PresentationFramework_ni + 0x25f27e 0105e3b0 53b04246 PresentationCore_ni!`string'+ 0x44b05 0105e3b8 53b15b78 PresentationCore_ni!`string' + 0x2e6aa 0105e578 53b144ab PresentationCore_ni!`string'+ 0x3ffdc 0105e59c 53b1438e PresentationCore_ni!`string'+ 0x3e90f 0105e5ac 54d28c28 PresentationCore_ni!`string '+ 0x3e7f2 0105e5b8 54d91079 PresentationFramework_ni + 0x208c28 0105e73c 54d28243 PresentationFramework_ni + 0x271079 0105e7dc 54d28099 PresentationFramework_ni + 0x208243 0105e7e8 54d27fa1 PresentationFramework_ni + 0x208099 0105e810 56d9a35a PresentationFramework_ni + 0x207fa1 0105e82c 56d9a24a WindowsBase_ni + 0x9a35a 0105e86c 56d98384 WindowsBase_ni + 0x9a24a 0105e890 56d9d2ad WindowsBase_ni + 0x98384 0105e8c8 56d9d238 WindowsBase_ni + 0x9d2ad 0105e8e0 69611b5c WindowsBase_ni + 0x9d238 0105e8f0 69628fba m scorwks!CallDescrWorker + 0x33 0105e970 6963563c mscorwks!CallDescrWorkerWithHandler + 0xa3 0105eab4 6963566f mscorwks!MethodDesc :: CallDescr + 0x19c 0105ead0 6963568d mscorwks! MethodDesc :: CallTargetWorker + 0x1f 0105eae8 696907e3 mscorwks!MethodDescCallSite :: Call + 0x1a 0105ecb4 6969093e mscorwks!ExecuteCodeWithGuaranteedCleanupHelper + 0x9f 0105ed64 66e85847 mscorwks !ReflectionInvocation :: ExecuteCodeWithGuaranteedCleanup + 0x10f 0105ed80 66e70475 mscorlib_ni + 0x235847 0105ed98 56d9d173 mscorlib_ni + 0x220475 0105edd4 56d97a27 WindowsBase_ni + 0x9d173 0105eeb0 56d97d13 WindowsBase_ni + 0x97a27 0105eeec 56d9a53e WindowsBase_ni + 0x97d13 0105ef38 56d9a46a WindowsBase_ni + 0x9a53e 0105ef58 56d9a35a WindowsBase_ni + 0x9a46a 0105ef74 56d9a24a WindowsBase_ni + 0x9a35a 0105efb4 56d98384 WindowsBase_ni + 0x9a24a 0105efd8 56d974e1 WindowsBase_ni + 0x98384 0105 f014 56d97430 WindowsBase_ni + 0x974e1 0105f044 56d99bac WindowsBase_ni + 0x97430 0105f094 769e7433 WindowsBase_ni + 0x99bac 0105f0c0 769e7980 user32!InternalCallWinProc + 0x23 0105f138 769e7bb2 user32!UserCallWinProcCheckWow + 0x11c 0105f1a0 769e7c19 user32!DispatchMessageWorker + 0x19e 0105f1b0 011bbb12 user32!DispatchMessageW + 0x10 警告:帧IP不在任何已知模块中。以下帧可能是错误的。 0105f1cc 56d97b24 0x11bbb12 0105f23c 56d971f9 WindowsBase_ni + 0x97b24 0105f248 56d9719c WindowsBase_ni + 0x971f9 0105f254 54cef07e WindowsBase_ni + 0x9719c 0105f260 54cee37f PresentationFramework_ni + 0x1cf07e 0105f284 54cd56d6 PresentationFramework_ni + 0x1ce37f 0105f294 54cd5699 PresentationFramework_ni + 0x1b56d6 0105f2b0 69611b5c PresentationFramework_ni + 0x1b5699 0105f2c0 69628fba mscorwks!CallDescrWorker + 0x33 0105f340 6963563c mscorwks!CallDescrWorkerWithHandler + 0xa3 0105f47c 6963566f mscorwks! MethodDesc :: CallDescr + 0x19c 0105f498 6963568d mscorwks!MethodDesc :: CallTargetWorker + 0x1f 0105f4b0 696c321d mscorwks!MethodDescCallSite :: Call + 0x1a 0105f614 696c313d mscorwks!ClassLoader :: RunMain + 0x223 0105f87c 696c365a mscorwks!Assembly :: ExecuteMainMethod + 0xa6 0105fd4c 696c3844 mscorwks!SystemDomain :: ExecuteMainMeth od + 0x45e 0105fd9c 696c3774 mscorwks!ExecuteEXE + 0x59 0105fde4 6fe8e55b mscorwks!_CorExeMain + 0x15c 0105fe1c 6ff07efd mscoreei!_CorExeMain + 0x10e 0105fe34 6ff04de3 mscoree!ShellShim__CorExeMain + 0x7d 0105fe3c 778b173e mscoree!_CorExeMain_Exported + 0x8 0105fe48 77ebaea1 kernel32!BaseThreadInitThunk + 0xe 0105fe8c 77ebae4d ntdll!__ RtlUserThreadStart + 0x4a 0105fe9c 00000000 ntdll!_RtlUserThreadStart + 0x1cComment: 'Dump created by DbgHost. First chance exception 0XE0434F4D'Symbol search path is: SRV*C:\My\Sym*http://msdl.microsoft.com/download/symbols;C:\Program Files\Microsoft CHESS\bin\Executable search path is:Windows 8 Version 9200 MP (2 procs) Free x86 compatibleProduct: WinNt, suite: SingleUserTSBuilt by: 6.2.9200.16384 (win8_rtm.120725-1247)Machine Name:Debug session time: Sun Feb 25 08:16:36.000 2018 (UTC - 7:00)System Uptime: 0 days 2:39:18.002Process Uptime: 0 days 0:00:20.000...............................................................................................Loading unloaded module list...This dump file has an exception of interest stored in it.The stored exception information can be accessed via .ecxr.(f88.d20): CLR exception - code e0434f4d (first/second chance not available)eax=0105d5a0 ebx=e0434f4d ecx=00000001 edx=00000000 esi=0105d630 edi=0128a2c0eip=756b1a65 esp=0105d5a0 ebp=0105d5f8 iopl=0 nv up ei pl nz ac pe nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200216KERNELBASE!RaiseException+0x62:756b1a65 8b4c2454 mov ecx,dword ptr [esp+54h] ss:0023:0105d5f4=ccb2adda0:000> kChildEBP RetAddr 0105d5f8 696f1df4 KERNELBASE!RaiseException+0x620105d658 696a4fb8 mscorwks!RaiseTheExceptionInternalOnly+0x2a8*** WARNING: Unable to verify checksum for mscorlib.ni.dll0105d71c 675a0f28 mscorwks!JIT_Throw+0xfc0105d738 66e7f5f8 mscorlib_ni+0x950f280105d808 67331946 mscorlib_ni+0x22f5f8*** WARNING: Unable to verify checksum for WindowsBase.ni.dll0105d908 56da08ea mscorlib_ni+0x6e1946*** WARNING: Unable to verify checksum for PresentationFramework.ni.dll0105d930 54cf6470 WindowsBase_ni+0xa08ea0105da28 56da037c PresentationFramework_ni+0x1d64700105da5c 56da010c WindowsBase_ni+0xa037c0105db04 56d9f547 WindowsBase_ni+0xa010c0105db8c 56d9ee4e WindowsBase_ni+0x9f5470105dbe4 54d075cc WindowsBase_ni+0x9ee4e0105dc14 54d33a56 PresentationFramework_ni+0x1e75cc0105dc28 54cfce4e PresentationFramework_ni+0x213a560105dc58 54cfcf87 PresentationFramework_ni+0x1dce4e0105dc74 54cfcf2d PresentationFramework_ni+0x1dcf870105dc8c 54d0b80f PresentationFramework_ni+0x1dcf2d0105dcc0 54d240aa PresentationFramework_ni+0x1eb80f0105dce8 54d23fed PresentationFramework_ni+0x2040aa0105dd00 56da7b99 PresentationFramework_ni+0x203fed0105dd30 56da79b9 WindowsBase_ni+0xa7b990105dd70 56da78da WindowsBase_ni+0xa79b90105dd94 54d0c899 WindowsBase_ni+0xa78da0105ddc8 54d7fdd2 PresentationFramework_ni+0x1ec8990105dddc 56da7b99 PresentationFramework_ni+0x25fdd20105de0c 56da79b9 WindowsBase_ni+0xa7b990105de4c 56da78da WindowsBase_ni+0xa79b90105de68 54d3e63e WindowsBase_ni+0xa78da0105dea4 54d0c490 PresentationFramework_ni+0x21e63e0105deb0 54d0c471 PresentationFramework_ni+0x1ec4900105dec0 54d0c41b PresentationFramework_ni+0x1ec4710105dec8 54d0c3e3 PresentationFramework_ni+0x1ec41b0105dee4 54d3d311 PresentationFramework_ni+0x1ec3e30105def4 54d3d26d PresentationFramework_ni+0x21d3110105df0c 56da08ea PresentationFramework_ni+0x21d26d0105df34 54cf6470 WindowsBase_ni+0xa08ea0105e02c 56da037c PresentationFramework_ni+0x1d64700105e060 56da010c WindowsBase_ni+0xa037c0105e108 56d9fb62 WindowsBase_ni+0xa010c0105e14c 54d313d0 WindowsBase_ni+0x9fb620105e164 54d31014 PresentationFramework_ni+0x2113d00105e1b0 54d2ef87 PresentationFramework_ni+0x2110140105e1d8 54d1d30e PresentationFramework_ni+0x20ef870105e220 54d7f479 PresentationFramework_ni+0x1fd30e0105e22c 54d7f431 PresentationFramework_ni+0x25f4790105e240 54d7f347 PresentationFramework_ni+0x25f4310105e260 54d7f27e PresentationFramework_ni+0x25f347*** WARNING: Unable to verify checksum for PresentationCore.ni.dll0105e2a8 53b1a6a1 PresentationFramework_ni+0x25f27e0105e3b0 53b04246 PresentationCore_ni!`string'+0x44b050105e3b8 53b15b78 PresentationCore_ni!`string'+0x2e6aa0105e578 53b144ab PresentationCore_ni!`string'+0x3ffdc0105e59c 53b1438e PresentationCore_ni!`string'+0x3e90f0105e5ac 54d28c28 PresentationCore_ni!`string'+0x3e7f20105e5b8 54d91079 PresentationFramework_ni+0x208c280105e73c 54d28243 PresentationFramework_ni+0x2710790105e7dc 54d28099 PresentationFramework_ni+0x2082430105e7e8 54d27fa1 PresentationFramework_ni+0x2080990105e810 56d9a35a PresentationFramework_ni+0x207fa10105e82c 56d9a24a WindowsBase_ni+0x9a35a0105e86c 56d98384 WindowsBase_ni+0x9a24a0105e890 56d9d2ad WindowsBase_ni+0x983840105e8c8 56d9d238 WindowsBase_ni+0x9d2ad0105e8e0 69611b5c WindowsBase_ni+0x9d2380105e8f0 69628fba mscorwks!CallDescrWorker+0x330105e970 6963563c mscorwks!CallDescrWorkerWithHandler+0xa30105eab4 6963566f mscorwks!MethodDesc::CallDescr+0x19c0105ead0 6963568d mscorwks!MethodDesc::CallTargetWorker+0x1f0105eae8 696907e3 mscorwks!MethodDescCallSite::Call+0x1a0105ecb4 6969093e mscorwks!ExecuteCodeWithGuaranteedCleanupHelper+0x9f0105ed64 66e85847 mscorwks!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup+0x10f0105ed80 66e70475 mscorlib_ni+0x2358470105ed98 56d9d173 mscorlib_ni+0x2204750105edd4 56d97a27 WindowsBase_ni+0x9d1730105eeb0 56d97d13 WindowsBase_ni+0x97a270105eeec 56d9a53e WindowsBase_ni+0x97d130105ef38 56d9a46a WindowsBase_ni+0x9a53e0105ef58 56d9a35a WindowsBase_ni+0x9a46a0105ef74 56d9a24a WindowsBase_ni+0x9a35a0105efb4 56d98384 WindowsBase_ni+0x9a24a0105efd8 56d974e1 WindowsBase_ni+0x983840105f014 56d97430 WindowsBase_ni+0x974e10105f044 56d99bac WindowsBase_ni+0x974300105f094 769e7433 WindowsBase_ni+0x99bac0105f0c0 769e7980 user32!InternalCallWinProc+0x230105f138 769e7bb2 user32!UserCallWinProcCheckWow+0x11c0105f1a0 769e7c19 user32!DispatchMessageWorker+0x19e0105f1b0 011bbb12 user32!DispatchMessageW+0x10WARNING: Frame IP not in any known module. Following frames may be wrong.0105f1cc 56d97b24 0x11bbb120105f23c 56d971f9 WindowsBase_ni+0x97b240105f248 56d9719c WindowsBase_ni+0x971f90105f254 54cef07e WindowsBase_ni+0x9719c0105f260 54cee37f PresentationFramework_ni+0x1cf07e0105f284 54cd56d6 PresentationFramework_ni+0x1ce37f0105f294 54cd5699 PresentationFramework_ni+0x1b56d60105f2b0 69611b5c PresentationFramework_ni+0x1b56990105f2c0 69628fba mscorwks!CallDescrWorker+0x330105f340 6963563c mscorwks!CallDescrWorkerWithHandler+0xa30105f47c 6963566f mscorwks!MethodDesc::CallDescr+0x19c0105f498 6963568d mscorwks!MethodDesc::CallTargetWorker+0x1f0105f4b0 696c321d mscorwks!MethodDescCallSite::Call+0x1a0105f614 696c313d mscorwks!ClassLoader::RunMain+0x2230105f87c 696c365a mscorwks!Assembly::ExecuteMainMethod+0xa60105fd4c 696c3844 mscorwks!SystemDomain::ExecuteMainMethod+0x45e0105fd9c 696c3774 mscorwks!ExecuteEXE+0x590105fde4 6fe8e55b mscorwks!_CorExeMain+0x15c0105fe1c 6ff07efd mscoreei!_CorExeMain+0x10e0105fe34 6ff04de3 mscoree!ShellShim__CorExeMain+0x7d0105fe3c 778b173e mscoree!_CorExeMain_Exported+0x80105fe48 77ebaea1 kernel32!BaseThreadInitThunk+0xe0105fe8c 77ebae4d ntdll!__RtlUserThreadStart+0x4a0105fe9c 00000000 ntdll!_RtlUserThreadStart+0x1c推荐答案感谢您在此处发帖。 >> CLR例外 - 代码e0434f4d(第一/第二次机会不可用)请提供有关项目的更多信息。Please provide more information about your project.非托管世界不了解特定的CLR异常类型,因此所有这些都被提升使用相同的异常代码:0xe0434f4d。我们需要了解有关您的问题的更多信息。Unmanaged world doesn’t know about specific CLR exception types, so all of them are raised with the same exception code: 0xe0434f4d. We need to know more information about your issue.请参阅以下这些文档,以获取有关Windbg异常的更多信息。Please refer to these documents below to get more information about the exception with your Windbg. https:// blogs.msdn.microsoft.com/alejacma/2009/08/24/managed-debugging-with-windbg-breaking-on-an-exception-part-1/ https://blogs.msdn。 microsoft.com/kristoffer/2007/01/03/debugging-exceptions-in-managed-code-using-windbg/希望这可以为您提供帮助。Hope this could be help of you.最好的问候, Baron Bi 这篇关于CLR例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-02 14:54