@wallmachine Looks like you might be dealing with issues caused by an audio device getting removed or disabled, or something of that nature. I'm going to see if I can make that code more robust in that situation, but if I had to guess based on your logs, that'd be my guess (at least for that one situation and log file).
In that case, unfortunately you're dealing with a compromised system, so there's not much we can do to help in that regard unless you can reinstall Windows and get everything working properly. I'm sorry for the bad news on that one.
The particular error you're running into is a heap corruption error with the .NET Framework, which is unfortunately a nightmare because it could be caused by anything, and it's probably a bug with a driver, Windows, or the .NET Framework. So bad news there as well, because without a lead, there's not a whole lot I can do. What I would recommend there, is to make sure that you close down any and all apps that could be running in the background (use Task Manager), and unplug any extra USB devices you have plugged into the machine, just to be safe (other than keyboard and mouse). From there, we can figure out if it's still happening or not, and try to pinpoint what might be causing it. Sadly, this one's not going to be easy, but we can probably get it figured out eventually if you're willing to do a little sleuthing.