I have a Fusion-created EXE that frequently crashes on startup. Not my game, but a utility helper program that I've built for myself that sits in the system tray (it initially doesn't do much while it's there other than wait for certain keypresses, to launch various utility modules within the program)
I'd estimate that it crashes (immediately on launch) about 15% of the time that I run it. The rest of the time it runs fine, for hours at a time. When it runs and when it crashes seems to be quite random. Sometimes it will crash 4 times on 4 consecutive launches. Sometimes it will crash once then launch successfully on the next attempt. Often it it will launch successfully 10 times in a row. The crashes all pertain to the EXE. As far as I can tell, launching the MFA runtime from within Fusion never causes the crash.
It doesn't appear to be an antivirus/quarantine issue. My antivirus doesn't report any activity, and the folder is whitelisted. The only information I have about the crashes is from the logfile that Phi's Debug Object produces:
5 -1 11:29:04 *** Crash occured in the MMF2 program at address 0x77C07441 ***
5 -2 11:29:04 A thread running code inside ntdll.dll was denied access to read from address 0x00201107.
5 -1 11:29:04 Handling via quit.
Does anyone have any idea what could be causing this? I don't expect anyone to have the complete solution, but maybe someone can offer advice on next steps for how to hunt down the culprit?