My game kept freezing and then crashing. Then the code ox c0000005 status access violation would appear.
I found this on you tube https://www.youtube.com/watch?v=znZoUlW-z84&t=355s followed the instructions for the "-malloc=system" remedy and it seems to have worked perfectly.
Hope this helps anybody with the same problem