Re: NGen introduces instability



Bill wrote:
We have a section of code that executes cleanly until that code is
NGen'ed. After a native image has been created, that same section of
code produces a .NET Runtime Fatal Execution Engine Failure and the
application closes without warning.

Here is the error for the Event Viewer: .NET Runtime version
2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)

We've re-created this issue on XP, Win2000, and Win2003. We've executed
the native image in the debugger; however the debugger does not produce
anything insightful.

Has anyone else encountered this?

Thank you for your time,
Bill O'Neil

I'm guessing it's the variable called "blarg", on line 32.

You say you've reproduced this on XP, 2000 and 2003. Can you produce a
simple sample piece of code that exhibits this problem, or can you only
reproduce it with your full solution.

It's a *lot* easier to diagnose problems when we have code in front of
us.

Damien

.



Relevant Pages

  • Re: NGen introduces instability
    ... code produces a .NET Runtime Fatal Execution Engine Failure and the ... Here is the error for the Event Viewer: .NET Runtime version ... the native image in the debugger; however the debugger does not produce ... Bill O'Neil ...
    (microsoft.public.dotnet.framework)
  • Re: NGen introduces instability
    ... code produces a .NET Runtime Fatal Execution Engine Failure and the ... Here is the error for the Event Viewer: .NET Runtime version ... the native image in the debugger; however the debugger does not produce ... NGened the debug versions of the program in an attempt to isolate the ...
    (microsoft.public.dotnet.framework)
  • Re: Native Code Compilation
    ... You might consider creating a native image on the destination ... But you'll still need the .NET runtime right? ... It would be nice if you could statically compile a .NET app so that the ...
    (microsoft.public.dotnet.languages.vb)