C# 致命执行引擎错误 (79FFEE24) (80131506)

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

Fatal Execution Engine Error (79FFEE24) (80131506)

c#comclr

提问by Karl

I'm encountering problems with my .NET Framework 3.0 SP1 application. It is a C# winforms application communicating with a COM exe. Randomly either the winforms app or the COM exe crashes without any error message and the event log contains this entry:

我的 .NET Framework 3.0 SP1 应用程序遇到问题。它是一个与 COM exe 通信的 C# winforms 应用程序。winforms 应用程序或 COM exe 随机崩溃而没有任何错误消息,并且事件日志包含以下条目:

[1958] .NET Runtime Type: ERROR Computer: CWP-OSL029-01 Time: 11/25/2008 3:14:10 PM ID: 1023 .NET Runtime version 2.0.50727.1433 - Fatal Execution Engine Error (79FFEE24) (80131506)

[1958] .NET 运行时类型:错误计算机:CWP-OSL029-01 时间:2008 年 11 月 25 日下午 3:14:10 ID:1023 .NET 运行时版本 2.0.50727.1433 - 致命的执行引擎错误 (79FFEE24) (80613)

I could not find any useful information on the MS sites. Does anybody have an idea where I should start my investigation?

我在 MS 网站上找不到任何有用的信息。有人知道我应该从哪里开始调查吗?

tia

蒂亚

采纳答案by Mauricio Scheffer

I had this error, it (luckily) went away by installing 3.5 SP1, which bumps your runtime to version 2.0.50727.3053 (thisis a nice version summary).

我遇到了这个错误,它(幸运的是)通过安装 3.5 SP1 消失了,这会将您的运行时提升到版本 2.0.50727.3053(是一个很好的版本摘要)。

While hunting for solutions I found a wild range of suspects for this error. Some people even claimed it was the antivirus (!)

在寻找解决方案时,我发现了这个错误的大量嫌疑人。有些人甚至声称这是防病毒软件(!)

YMMV, good luck.

YMMV,祝你好运。

回答by Mark Brackett

These seem to be mainly caused by a bad install of the framework. See if you can repro the error on another machine, or uninstall/reinstall the Framework bits.

这些似乎主要是由于框架安装不当造成的。看看你是否可以在另一台机器上重现错误,或者卸载/重新安装框架位。

回答by Arthur

I had the same behavior when created GCHandle from IntPtr which was pointing not to a managed object.

从 IntPtr 创建 GCHandle 时,我有相同的行为,它不指向托管对象。

回答by Peter

It can be a whole lot of things. Some people repair .NET Framework 3.5, others reinstall .NET alltogether. Some say it's something with PowerCommands, etc. etc. If all else has failed, try what worked for me:
- start VS up in safe mode
- create a new Windows Forms application
- open your toolbox and delete any special tabs (for me, it was a SQLite tab) - close and restart in normal mode

它可以是很多东西。有些人修复 .NET Framework 3.5,其他人一起重新安装 .NET。有人说它与 PowerCommands 等有关。如果所有其他方法都失败了,请尝试对我有用的方法:
- 在安全模式下启动 VS
- 创建一个新的 Windows 窗体应用程序
- 打开您的工具箱并删除任何特殊选项卡(对我来说,它是一个 SQLite 选项卡) - 关闭并以正常模式重新启动

If this doesn't work, good luck!

如果这不起作用,祝你好运!

回答by longday

I had an issue on vs 2008 sp1 with asp.net mvc rc1 where opening aspx pages crashed visual studio.

我在使用 asp.net mvc rc1 的 vs 2008 sp1 上遇到了一个问题,其中打开 aspx 页面会导致 Visual Studio 崩溃。

The work around for me is to re-open the solution/project after crash, set project | show all files, and delete the mvc refs for system.web.mvc, system.web.abstractions, and system.web.routing. Then I am able to open the files.

我的解决方法是在崩溃后重新打开解决方案/项目,设置项目 | 显示所有文件,并删除 system.web.mvc、system.web.abstractions 和 system.web.routing 的 mvc 引用。然后我就可以打开文件了。

The problem returns later, but I am able to follow the above and I am able to open aspx files afterwards.

问题稍后返回,但我可以按照上述操作,之后我可以打开 aspx 文件。

Thanks

谢谢

Eric

埃里克

回答by longday

The hotfix above worked for me!

上面的修补程序对我有用!

The described problem occured when opening any *.aspx page in VS in my ASP.NET MVC (RC1) project.

在我的 ASP.NET MVC (RC1) 项目中,在 VS 中打开任何 *.aspx 页面时会出现上述问题。