.net 未知软件异常 0xe0434352
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15065755/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Unknown Software Exception 0xe0434352
提问by Simsons
While I am trying to launch my application I am getting the following error:

当我尝试启动我的应用程序时,出现以下错误:

Checked the app log but no error message.
检查了应用程序日志,但没有错误消息。
Is this due to any of framework version or any other dependency?
这是由于任何框架版本或任何其他依赖关系吗?
回答by Michael Hartmann
That is a catch all error generated from the CLR. It could mean almost anything. If you want to find out exactly what the error is, you can check out this webpage: http://ig2600.blogspot.com/2009/07/finding-clr-exceptions-with-visual.html
这是从 CLR 生成的捕获所有错误。它几乎可以意味着任何事情。如果你想确切地找出错误是什么,你可以查看这个网页:http: //ig2600.blogspot.com/2009/07/finding-clr-exceptions-with-visual.html
He explains how to find out what the real errors are. I find it to be quite handy.
他解释了如何找出真正的错误。我觉得它很方便。
回答by coinbird
The top answer is great. Here are the site contents for when it goes down:
楼上的回答太好了。以下是网站宕机时的内容:
Often exceptions are thrown and caught and you don't see them. You probably know how to debug this in Visual Studio, so let me show you how to do it in cdb.
通常会抛出和捕获异常,而您看不到它们。您可能知道如何在 Visual Studio 中调试它,所以让我向您展示如何在 cdb 中进行调试。
Nothing about an exception, but you're sure it's happening behind the covers -- fire up cdb:
没有什么异常,但你确定它是在幕后发生的——启动 cdb:
C:\Program Files\Debugging Tools for Windows (x64)>cdb -pn consoleapplication3.exe
C:\Program Files\Debugging Tools for Windows (x64)>cdb -pn consoleapplication3.exe
ModLoad: 000007fe`f7e90000 000007fe`f7eb4000
C:\Windows\Microsoft.NET\Framework64\v4.0.20506\culture.dll (ff8.17a8): Break instruction exception - code 80000003 (first chance) *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\SYSTEM32\ntdll.dll - ntdll!DbgBreakPoint: 00000000`77b7d7b0 cc int 3 Continue debugging: 0:004> g
ModLoad: 000007fe`f7e90000 000007fe`f7eb4000
C:\Windows\Microsoft.NET\Framework64\v4.0.20506\culture.dll (ff8.17a8): 中断指令异常 - 代码 80000003(错误:第一次机会)文件可以***找不到。默认为 C:\Windows\SYSTEM32\ntdll.dll 导出符号 - ntdll!DbgBreakPoint: 00000000`77b7d7b0 cc int 3 继续调试:0:004> g
Exceptions - lots of them:
例外 - 其中很多:
(ff8.16dc): CLR exception - code e0434352 (first chance)
(ff8.16dc): CLR exception - code e0434352 (first chance)
(ff8.16dc): CLR exception - code e0434352 (first chance)
(ff8.16dc): CLR exception - code e0434352 (first chance)
(ff8.16dc): CLR exception - code e0434352 (first chance)
(ff8.16dc): CLR exception - code e0434352 (first chance)
(ff8.1860): Break instruction exception - code 80000003 (first chance)
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
(ff8.1860): Break 指令异常 - 代码 80000003(第一次机会)
Break on CLR exceptions:
中断 CLR 异常:
0:004> sxe clr
0:004> g
(ff8.16dc): CLR exception - code e0434352 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\KERNELBASE.dll - KERNELBASE!RaiseException+0x3d: 000007fe`fdb8bb5d 4881c4c8000000 add rsp,0C8h
0:004> sxe clr
0:004> 克
(ff8.16dc):CLR 异常 - 代码 e0434352(第一次机会)
在任何异常处理之前报告第一次机会异常。
可以预期并处理此异常。
*** 错误:找不到符号文件。默认为 C:\Windows\system32\KERNELBASE.dll 导出符号 - KERNELBASE!RaiseException+0x3d: 000007fe`fdb8bb5d 4881c4c8000000 add rsp,0C8h
Load sos ( in .Net 2/3 use use !loadby sos mscorwks):
加载 sos(在 .Net 2/3 中使用 !loadby sos mscorwks):
0:000> !loadby sos clr
0:000> !loadby sos clr
View Stack:
查看堆栈:
0:000> !CLRStack
PDB symbol for clr.dll not loaded
OS Thread Id: 0x16dc (0)
Child SP IP Call Site
000000000096e6a8 000007fefdb8bb5d [HelperMethodFrame: 000000000096e6a8]
000000000096e7c0 000007ff00170360
ConsoleApplication3.Program.ThrowAndCatchException()
000000000096e810 000007ff001701fb
ConsoleApplication3.Program.Main(System.String[])
000000000096ec90 000007feef474ca4 [GCFrame: 000000000096ec90]
0:000> !CLRStack
未加载 clr.dll 的 PDB 符号
操作系统线程 ID:0x16dc (0)
子 SP IP 呼叫站点
000000000096e6a8 000007fefdb8bb5d [HelperMethodFrame: 000000000096e6a8]
000000000096e7c0 000007ff00170360
ConsoleApplication3.Program.ThrowAndCatchException()
000000000096e810 000007ff001701fb
ConsoleApplication3.Program.Main(System.String[])
000000000096ec90 000007feef474ca4 [GCFrame: 000000000096ec90]
View Exception:
查看异常:
0:000> !PrintException
Exception object: 0000000002c88c18
Exception type: System.NotImplementedException
Message: The method or operation is not implemented.
InnerException:
StackTrace (generated):
StackTraceString:
HResult: 80004001
0:000>
0:000> !PrintException
异常对象:0000000002c88c18
异常类型:System.NotImplementedException
消息:方法或操作未实现。
内部异常:
堆栈跟踪(生成):
堆栈跟踪字符串:
HResult: 80004001
0:000>

