Kodi bluescreens Windows 7

I’ve had this issue for a few months now. One day Kodi suddenly decided “Ok, if you’re going to close me, you don’t need Windows anymore.”
So usually after having Kodi running for 2 hours (or more), closing it with either the “X” or the menu bluescreens my computer and I have to restart.

Intel i7 4790k 4.6GHz
32GB DDR3 RAM
a bunch of Samsung SSDs
a 4TB Seagate SSHD
a 4TB WD Black
running on EKWB watercooling.
Windows 7 x64 Professional

I’m currently running 17.0 and have been reluctant to upgrade since I’m running a MySQL-Database and have two more computers in that setup.
However I’ll try upgrading to 17.3 today and see what happens.

I tried reading the logs, but I can’t really find a reason for the crashes.
The Logs

I have Avast, but it’s mostly disabled, so I don’t think the antivirus has any part in this.
I’ll try going into debug mode in 17.3 and hope I can catch the crash with verbose logging.