It seems like a windows 11 update is responsible for the crashes, so we'll have to wait for a fix by Microsoft.