along with going through the RPi thread, when testing, turn on debug logging in Kodi and then repeat what you do to cause the freezing in Kodi.
Following that, have a look at the kodi.log or perhaps the kodi.old.log to see if there is anything that might give you more information.
It can be found in the temp directory under the .kodi directory in Linux of the user home directory when Kodi is started. Not sure where in Windows.
Based on what you see or don't see you can determine what the next steps are.