Kodi Community Forum

Full Version: Freeze when returning from screensaver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Gade,

Since updating Rapier to v10.5.6 a few weeks ago, I have been experiencing intermittent crashes when coming out of the screensaver.

I am using Picture Slideshow Screensaver v4.2.1 by TeamKodi. Win10 HTPC.

Problem: When returning to watch TV (TV already on), I press any remote control button to exit the screensaver and return to the Kodi GUI. But it hangs, and then the Windows "Kodi Stopped Working" box pops up and I have to force close and restart Kodi. Then it is ok for another couple of days. I have tried to replicate this in Estuary, Aeon Nox and Aeon MQ7, and there seems to be no issue with those skins.

I have a log. As my log is permanently set to Debug Mode, it is quite large- 96,000 lines or 10MB. Is there a portion I can snip out of it for you to look over? These are the last lines in the log...

Code:
08:20:32.215 T:6312   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
08:20:32.216 T:2680   DEBUG: Thread LanguageInvoker start, auto delete: false
08:20:32.216 T:2680    INFO: initializing python engine.
08:20:32.216 T:2680   DEBUG: CPythonInvoker(244, C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather\default.py): start processing
08:20:32.283 T:1180   DEBUG: Skin Helper Widgets --> Kodi_Monitor: sender xbmc - method: GUI.OnScreensaverDeactivated  - data: {"shuttingdown":false}
08:20:32.309 T:2000   DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: GUI.OnScreensaverDeactivated  - data: {"shuttingdown":false}
08:20:32.314 T:2680   DEBUG: -->Python Interpreter Initialized<--
08:20:32.314 T:2680   DEBUG: CPythonInvoker(244, C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather\default.py): the source file to load is "C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather\default.py"
08:20:32.314 T:2680   DEBUG: CPythonInvoker(244, C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather\default.py): setting the Python path to C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather;C:\Program Files (x86)\Kodi\addons\script.module.pil\lib;C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.module.beautifulsoup4\lib;C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
08:20:32.314 T:2680   DEBUG: CPythonInvoker(244, C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather\default.py): entering source directory C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather
08:20:32.315 T:2680   DEBUG: CPythonInvoker(244, C:\Users\HTPC\AppData\Roaming\Kodi\addons\weather.ozweather\default.py): instantiating addon using automatically obtained id of "weather.ozweather" dependent on version 2.14.0 of the xbmc.python api
08:20:50.350 T:8812   DEBUG: ------ Window Init (custom_1111_RefreshList.xml) ------
08:20:50.390 T:8812   DEBUG: ------ Window Deinit (C:\Users\HTPC\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\resources\skins\default\720p\script-python-slideshow.xml) ------
08:20:55.378 T:8812   ERROR: CPythonInvoker(243, C:\Users\HTPC\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py): script didn't stop in 5 seconds - let's kill it
08:21:20.350 T:8232   DEBUG: Thread JobWorker 8232 terminating (autodelete)
08:21:20.353 T:10732   DEBUG: Thread JobWorker 10732 terminating (autodelete)
08:21:20.574 T:8444   DEBUG: CFileCache::Open - opening <service> using cache
08:21:20.576 T:8444   DEBUG: CurlFile::Open(28021728) http://127.0.0.1:8866/service?method=recording.lastupdated&sid=a70ab242dcdb40468b7d1dd2e928e139
08:21:20.584 T:9876   DEBUG: Thread FileCache start, auto delete: false
08:21:20.584 T:9876    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
08:21:20.634 T:9876   DEBUG: Thread FileCache 9876 terminating

Also, last week I performed a Fresh Start (deleting \roaming\kodi folder). This was done for other reasons- recreated my music library, and just a general clean out after almost 3 years of use. The problem persists even after the fresh start.

Any thoughts?
Hi Karellen.

Sorry about waiting a while.

The issue sounds weird and I have no idea at all. I was going to ask for the last lines in the log, but you already posted them. Smile

You can try installing an earlier version (10.5.0) from zip to see if that fixes things.
http://mirrors.kodi.tv/addons/krypton/skin.rapier/

If the problem still occurs, revert to the latest skin version and try moving the xml file skin.rapier/720p/custom_1111_RefreshList.xml to another location for a while.
Thanks Gade,

I have switched skins. I am trying a week each with two other skins, then coming back to Rapier and see if it re-occurs. At the moment it has been rock solid with the first skin.

If it repeats the issue when I load your skin again, I will switch back to the earlier version and let you know what happens.

Thanks