检测到FatalExecutionEngineError ... [英] FatalExecutionEngineError was detected...

查看:802
本文介绍了检测到FatalExecutionEngineError ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在使用C#进行编程,而且我也运行Vista。我正在运行Visual C#2010 Express。



我正在研究一些基本上是Visual Studio环境的极简主义克隆,我用14的大杂烩写的或者所以项目全部集成到一个解决方案中 - 应用程序是一个Java IDE,其外观和感觉就像Visual Studio express。我是在Visual C#2008 Express中开发的。自从将其移至VC#2010 Express后,我更新了每个项目(在Project - > Properties中)以使用.NET Framework 4,然后我也进入并更改了所有对.NET 4版本System的引用, System.Drawing等等



令人费解的是,在看似随机的时间而不是每次我运行程序时,它看起来都是随机崩溃的''FatalExecutionEngineError被检测到''异常框,其中详细说明:



运行时遇到了致命错误。错误的地址是0xf20f4298,位于线程0xc3c上。错误代码是0xc0000005。此错误可能是CLR中的错误,也可能是用户代码的不安全或不可验证部分中的错误。此错误的常见来源包括COM-interop或PInvoke的用户封送错误,这可能会破坏堆栈。



这很有趣但是,似乎没有关于它崩溃的线的模式。它说的是P-Invoke和COM-Interop,我正在使用一些可能依赖于它的项目和库,特别是:



Hello all,

I am programming using C# and I am also running Vista. I am running Visual C# 2010 Express.

I am working on some code which is basically a minimalist clone of the Visual Studio environment itself I wrote using a hodgepodge of 14 or so projects all rolled into one Solution -- the application is a Java IDE patterned to look and feel like Visual Studio express. I developed it in Visual C# 2008 Express. Since moving it over to VC# 2010 Express, I have updated each project (in Project -> Properties) to use .NET Framework 4 and then I also went in and changed around all the references to the .NET 4 versions of System, System.Drawing etc etc.

What is puzzling is that, at seemingly random times and not every time I run the program, it crashes seemingly randomly with the ''FatalExecutionEngineError was detected'' exception box, which elaborates:

The runtime has encountered a fatal error. The address of the error was at 0xf20f4298, on thread 0xc3c. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.


It''s funny, though, that there doesn''t seem to be a pattern for which lines it crashes on. It says something about P-Invoke and COM-Interop, and I am using some projects and libraries which may depend on this, in particular:


  • ICSharpCode.TextEditor
  • The FileBrowser library at here[^]
  • The UISwitchBoard library at here[^]
  • The ProcessCaller library at here[^]

推荐答案

我没有解决方案,但我很确定是ICSharpCode.TextEditor,因为它被添加到表单中,对我的项目造成了同样的破坏。它也是随机的。我还在试图弄清楚如何解决它。
I don''t have a solution but I''m sure it is the ICSharpCode.TextEditor because its wreaking this same havoc on my project since it was added to the form. It is also random. I''m still trying to figure out how to solve it.


这篇关于检测到FatalExecutionEngineError ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆