I am having a problem with a UWP app that is crashing on startup. It crashes only once after the app is installed, either via Debug button on VS2019/2022 or via the Release bundle install package.
If I launch it a second time after the installation, the app won't crash anymore.
We don't know why that is going on and we would like to fix this crash so that the app doesn't crash after installing it.
The crash exception is the following:
Unhandled exception at 0x7726BF4B (MrmCoreR.dll) in AppName_UWP.exe: 0xC0000005: Access violation reading location 0x02000087.
I have uploaded an app memory dump as well as a screenshot showing everything that I have tried to fix this error until now - you can download it here
In a nutshell, we have tried:
Does anyone have an idea of what this could be and how to fix it?
ApplicationLanguages.PrimaryLanguageOverride = stuff
, and that when doing this app would be closed or restarted.So main points: