(2022-12-28, 22:52)Kodependent Wrote: [ -> ] (2022-12-28, 14:26)latts9923 Wrote: [ -> ]@Kodependent
Glad you figured it out. I get a random crash every now and then as well.
Yeah, except that it has gotten progressively worse now to the point where it's crashing multiple times a session. Unstable would be an understatement. Seems to specifically happen if I move around menus or scroll through movies/tv shows too quickly. I don't think it's a skin issue per se. I admit that my Kodi install is long in the tooth. I can't remember when the last time I did a clean install. Usually update in place and I also just transferred my entire roaming/kodi folder to the new laptop after installing there.
So, thinking I will have to just bite the bullet and do a true fresh install and restore kodi/skin/gui settings the best I can manually, and hopefully that clears things up.
If I have SHS enabled, I constantaly have SHS causing Kodi to bombs out back to the desktop (on 3 different systems, 1 Linux (ubuntu) with has a local source of media, a Windows 10 and Windows 11 which get their media from a NAS).
After looking at the SHS code over a long time, it does appear not have proper error control when it calls other services if they have issues. I spent a long time trying to diagnose/fix (as per my other posts in this forum) but I couldnt be bothered wasting anymore time diagnosing it as I was told by both Latts and others, I was the only one experiencing this problem. But, if you do a search, there's more than 1 person that has these issues with SHS and it seems it is not just this Skin that is affected (as many have reported issues with other skins that utilise SHS and I even have had one of the developers of SHS inform me it is always the skin. He even mentioned several skins to use that dont bomb out. I tried a few, they all bombed out. He even tried to blame my systems saying I dont have full permission on them, but, I do.).
The issues are caused when SHS calls out to other modules (and because everything is writtenin slowwwww Python) these modules processes need time to finish and if they dont finish in a reasonable time (such as doing a lookup at an internet site), then processing gets out of wack and causes the error (or the service that has been called does finish, but the calling program has moved on). These errors are not handled by SHS. This diagnosis is based on the time I have spent on trying to find why SHS bombs out so much (on my 3 systems atleast). Unfortunately, when it bombs, nothing is written to the debug log, but the last entries in the log are always SHS processing or calling out to other services.
I have also discovered, even though I have told Kodi and the various services to only use local data, SHS always wants to go to Extrafanart sites to get the data (using metadatautils module), and I have confirmed this is usually the cause of the SHS crashes.
When testing SHS, I would rarely see a Skin Helper Service Error be displayed on the top left of the screen. On the rare occasion it did show, 20 seconds later, Kodi would hang for about 30 seconds then bomb out to the desktop.
To add, with recent updates and re-testing on a new Ubuntu clean system, bombing out is much worse if SHS is enabled (Ive also tried several Linux variants) and it starts to interfer with the POWER OFF/SHUTDOWN options. It actually crashes Kodi when you select the SHUTDOWN/POWER OFF option and takes you back to the desktop rather than doing the power-off. The Debug log shows that Kodi started the shutdown/poweroff process, then last line recorded in the debug log (.kodi/addons/script.skin.helper.service/service.py: trigger Monitor abort request) and then crash.... Kodi cant complete the full system shutdown. Disabling SHS, system shutsdown/powers off as normal.
It has been mentioned to clean out (remove) your simplecache.db and let it be re-created, but that doesnt help either.
I suggest dont waste your time recreating a clean system, as it wont help.
So, for me to have 3 stable systems with MQ8, I just disable SHS and never have Kodi bombing out after that. I dont even see what I miss with it disabled as all I want to do is load up Kodi, select the Movie, TV show to watch or music to play. All the extra eye candy that requires SHS that causes these issues, to me is totally irrelevant to my viewing.