Yesterday, after my machine completely crashed after a game had a bad RAM leak, I met with a strange behavior from LMS. I mention the crash as I am not sure that the two things are linked but it happened so... worth mentioning it, I guess.
So... LMS started crashing and I did not know why. At first I thought it was Squeezelite-X, as I outlined here.
But then I found this in LMS logs:
So I tried uninstalling Spotty. But it was already not installed, according to LMS. This was strange, as it was installed before and I had never uninstalled it. I tried manually deleting the folder but it was telling me some files were in use.
So when trying to access the plugins tab in settings, LMS basically crashed and the service stopped. Sometimes it did this, sometimes it didn't, with no particular pattern I could discern.
I retried deleting the installation folders and I discovered that it was the spotty.exe file still in use by... spotty.exe. I brought up task manager (Windows 10 Pro x64) and I discovered *nine* instances of spotty.exe running. So I force stopped them and then I restarted LMS. Everything seemed to work fine at that point.
BUT, when accessing the plugin tab in settings I had a couple of other crashes, with the LMS service stopping.
I wanted to ask what specific debug settings I could try activate in logs to get to the bottom of this. I would avoid reinstalling everything from scratch, if at all possible.
Thank you.
So... LMS started crashing and I did not know why. At first I thought it was Squeezelite-X, as I outlined here.
But then I found this in LMS logs:
Code:
[20-08-15 04:14:21.6538] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.6536] cannot unlink file for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe: Permission denied at /Slim/Utils/PluginDownloader.pm line 90
[20-08-15 04:14:21.6543] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.6543] cannot remove directory for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread: Directory not empty at /Slim/Utils/PluginDownloader.pm line 90
[20-08-15 04:14:21.6549] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.6548] cannot remove directory for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin: Directory not empty at /Slim/Utils/PluginDownloader.pm line 90
[20-08-15 04:14:21.6554] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.6553] cannot remove directory for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty: Directory not empty at /Slim/Utils/PluginDownloader.pm line 90
[20-08-15 04:14:21.7964] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.7962] IO error: Can't open file C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe for write : Permission denied
at /Slim/Utils/PluginManager.pm line 861
[20-08-15 04:14:21.8003] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.8002] cannot unlink file for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread\spotty.exe: Permission denied at /Slim/Utils/PluginDownloader.pm line 131
[20-08-15 04:14:21.8012] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.8011] cannot remove directory for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin\MSWin32-x86-multi-thread: Directory not empty at /Slim/Utils/PluginDownloader.pm line 131
[20-08-15 04:14:21.8019] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.8018] cannot remove directory for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty\Bin: Directory not empty at /Slim/Utils/PluginDownloader.pm line 131
[20-08-15 04:14:21.8063] Slim::Utils::Misc::msg (1255) Warning: [04:14:21.8062] cannot remove directory for C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\Spotty: Directory not empty at /Slim/Utils/PluginDownloader.pm line 131
So when trying to access the plugins tab in settings, LMS basically crashed and the service stopped. Sometimes it did this, sometimes it didn't, with no particular pattern I could discern.
I retried deleting the installation folders and I discovered that it was the spotty.exe file still in use by... spotty.exe. I brought up task manager (Windows 10 Pro x64) and I discovered *nine* instances of spotty.exe running. So I force stopped them and then I restarted LMS. Everything seemed to work fine at that point.
BUT, when accessing the plugin tab in settings I had a couple of other crashes, with the LMS service stopping.
I wanted to ask what specific debug settings I could try activate in logs to get to the bottom of this. I would avoid reinstalling everything from scratch, if at all possible.
Thank you.