That code is the worst code to track down, as it’s pretty general.
I’ve been getting it recently in FS2020 and have been tracing it down, but it hasn’t been easy, and it hasn’t been 100% successful.
I suspect the troubleshooting for this would be the same for both sims.
This article has been the best I’ve found to help trace it down.
https://forums.flightsimulator.com/t/how-to-troubleshoot-faulting-module-ucrtbase-dll-and-or-exception-code-0xc0000005-crashes/591670/1