.net KERNELBASE.dll 异常 0xe0434352 偏移量 0x000000000000a49d

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23292547/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 12:43:34  来源:igfitidea点击:

KERNELBASE.dll Exception 0xe0434352 offset 0x000000000000a49d

.netwindows

提问by memory of a dream

I recently received some system event logs from one of our clients running our application on a virtual machine.

我最近从我们的一个在虚拟机上运行我们的应用程序的客户那里收到了一些系统事件日志。

I noticed these entries in the log:

我注意到日志中的这些条目:

Description: The process was terminated due to an unhandled exception.
Framework Version: v4.0.30319
4/22/2014 5:05:28 PM;"Error";".NET Runtime";"1026";"Application: MyApp.exe
Report Id: d50fe7ab-ca61-11e3-9e10-6805ca17040a"
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Faulting application path: C:\Program Files\MyApp\bin\MyApp.exe
Faulting application start time: 0x01cf5e44d3e971c2
Faulting process id: 0x13fc
Fault offset: 0x000000000000a49d
Exception code: 0xe0434352
Faulting module name: KERNELBASE.dll  version: 6.1.7601.17514  time stamp: 0x4ce7c78c
4/22/2014 5:05:29 PM;"Error";"Application Error";"1000";"Faulting application name: MyApp.exe  version: 1.2.1403.7002  time stamp: 0x5319d243

Followed by a huge rdlc stacktrace ending in "The directory name is invalid"

紧随其后的是一个巨大的 rdlc 堆栈跟踪,以 "The directory name is invalid"

I've been trying to determine what Fault offset: 0x000000000000a49d Exception code: 0xe0434352really means. So far I can only tell that I may be something related to user access rights, KERNELBASE.dll could be corrupted or it may be some mystic Microsoft voodoo.

我一直在试图确定什么是Fault offset: 0x000000000000a49d Exception code: 0xe0434352真正的意思。到目前为止,我只能说我可能与用户访问权限有关,KERNELBASE.dll 可能已损坏,或者它可能是一些神秘的 Microsoft 巫术。

Does anyone have a definitive answer to what this means? Or a msdn lync explaining this in detail? I'd really like to understand the full details behind this issue.

有没有人对这意味着什么有明确的答案?或者 msdn lync 详细解释了这一点?我真的很想了解这个问题背后的全部细节。

回答by Remus Rusanu

0xe0434352 is the SEH code for a CLR exception. If you don't understand what that means, stop and read A Crash Course on the Depths of Win32? Structured Exception Handling. So your process is not handling a CLR exception. Don't shoot the messenger, KERNELBASE.DLL is just the unfortunate victim. The perpetrator is MyApp.exe.

0xe0434352 是 CLR 异常的 SEH 代码。如果您不明白这意味着什么,请停下来阅读Win32 深度速成课程?结构化异常处理。所以你的进程没有处理 CLR 异常。不要射击信使,KERNELBASE.DLL 只是不幸的受害者。肇事者是 MyApp.exe。

There should be a minidump of the crash in DrWatson folders with a full stack, it will contain everything you need to root cause the issue.

应该有一个完整堆栈的 DrWatson 文件夹中的崩溃的小型转储,它将包含导致问题根源所需的一切。

I suggest you wire up, in your myapp.exe code, AppDomain.UnhandledExceptionand Application.ThreadException, as appropriate.

我建议您在 myapp.exe 代码中进行连接,AppDomain.UnhandledExceptionApplication.ThreadException视情况而定。