I am looking for some help determining an error we are having. We are having a problem with our application crashing after a user updates to Windows 10 1903. We are currently on Infragistics version 17.2. It's only happening in one area of our application and is random but the error is consistently hitting the same line of code.
We are able to reproduce the error, sometimes. Here’s the error we are getting when running a trace and when it does occur:
Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem
Additional Information: The runtime has encountered a fatal error. The address of the error was at 0xe8007240, on thread 0x34c8. The error code is 0xc0000005
Highlighted below in yellow is where the error is happening in the code
Hello Edward,
I have the same 1903 update pending which I plan on installing today. In the meantime please provide a sample that reproduces the behavior. I noticed you included a few features such as column filters, groups, etc. Are these all required to cause the issue? If not, which grid features need to be saved, then loaded for the error to occur?
Hi Michael,
Thanks for the response. We found that the error was being caused by the file type icons for each row in the grid. It was designed so it would go to the local Windows machine and pull the icon for the file type based on whatever the file extension was. So, it was having to cross the application / system boundary and apparently 1903 doesn't like that.
Do you mean your application was getting the application icon, like for an exe or a file on the machine? Presumably, you have to use Windows API's for that. Maybe they changed the API in some way? Or perhaps they added security so your application requires full trust now, in order to use those APIs? Edit: Oh, apparently, there's a method for it in the DotNet Framework.
https://docs.microsoft.com/en-us/dotnet/framework/winforms/advanced/how-to-extract-the-icon-associated-with-a-file-in-windows-forms