Provide a proper debug log.
The quoted message was not for me, but let me send my log:
https://paste.gg/p/anonymous/3a…f7d54b40441b14f
This is a crash log from the youtube plugin, this occurred after trying to search, however, the same thing often happens after youtube playback is complete when kodi returns to the list. After the crash LibreElec returns to the console and restarts kodi after a few minutes.
Other plugins also randomly cause crashes (e.g. plugin.video.invidious when trying to start a video, or during playback), but then LibreELEC completely crashes/freezes and writes nothing to kodi_crash.log
These problems started in nightly and your images after Feb 12. From my experience with python then upgrading from 3.7 to 3.8 shouldn't cause this kind of problems, if anything it's some syntax error or other exceptions but with every call, and here it happens very often but not every time. Unless under Kodi it works differently than normally running python scripts.