Version: 1.7.27.0
Frequency: Rarely
Severity: Blocker
Marketplace package name: Blackbird C-130J
Context: Editing project or in Community, WASM crash during flight
Similar MSFS 2020 issue: insert url here if applicable
Bug description:
WASM randomly crashes during flight. Sometimes 5 minutes in, sometimes 10 minutes in, sometimes after an hour+ or more. And sometimes not at all. Some people, myself included, never see a WASM crash, or see one once every 50-60 flight-hours. Others report four out of five flights end in a WASM crash.
The few times when we have caught a random crash in the debugger, it is an access violation 0x0000005 in the dllfree function, when destructing some object allocated on the heap.
From a previous report (11979), this could be caused by failing to free memory allocated by fsNetworkHttpRequestGetData() calls. However, in our case, disabling our entire network interface failed to affect the frequency of the crashes. Over the past couple of months we’ve been over all of our codebase with a very fine-toothed comb, run every sort of tool and AI over it to try to find any sort of pathway for heap or stack corruption, and then instrumented our code extensively to try to find any evidence of heap or stack corruption, and there just… isn’t any.
We have a group of customers and testers who all are affected, and were unable to find any common thread linking them in terms of hardware, other addons, or flight habits.
We have seen reports of, and have observed directly, WASM crashes in the default A400M and A320 in the recent weeks (both before and after SU5).
There has been a fairly large uptick in reports of WASM crashes that we are getting since SU5 was released.
All of this, coupled with the fact that we are just completely out of any sort of bugs, unsafe code, and unhandled edge cases in our own code, has us thinking that the bug may be on the sim side, rather than in the WASM itself.
Repro steps:
Attachments:
Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content