Crashes during long renders with EXCEPTION_ACCESS_VIOLATION code

During long renders (200+ frames) Blender is crashing on me. Doesn’t happen every time but very often. Looking at my memory usage I always have several GBs free during the render. This is with 2.91 installed and using animation nodes as well. I’ve put the crash log on Pastebin here https://pastebin.com/pm8RAgPJ