I have experienced problems with several of the most recent nightly
builds, starting with the two builds that were released on Sunday, April
4. Here's the server log for the most recent event, which crashed LMS. I
realize that's an ambiguous statement. What I mean is that LMS stopped
playing and when I checked, I found it was no longer running. This is on
a Raspberry Pi 4 running the Raspberry Pi OS.


Code:
--------------------
    running: Logitech Media Server (v8.2.0, 1617991288, Fri Apr  9 20:13:46 
CEST 2021) perl 5.028001 - arm-linux-gnueabihf-thread-multi-64int
  
  [21-04-13 19:11:33.9624] Slim::Schema::Storage::throw_exception (121) Error: 
DBI Exception: DBD::SQLite::db prepare_cached failed: attempt to fetch on 
inactive database handle
  [21-04-13 19:11:33.9674] Slim::Schema::Storage::throw_exception (121) 
Backtrace:
  
  frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Schema/Storage.pm line 121)
  frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
  frame 2: DBIx::Class::Storage::DBI::__ANON__ 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 2058)
  frame 3: DBIx::Class::Storage::DBI::_dbh_sth 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 574)
  frame 4: DBIx::Class::Storage::DBI::dbh_do 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 2071)
  frame 5: DBIx::Class::Storage::DBI::sth 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1264)
  frame 6: DBIx::Class::Storage::DBI::_dbh_execute 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 584)
  frame 7: (eval) (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm 
line 581)
  frame 8: DBIx::Class::Storage::DBI::dbh_do 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1297)
  frame 9: DBIx::Class::Storage::DBI::_execute 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1532)
  frame 10: DBIx::Class::Storage::DBI::_select 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 2031)
  frame 11: DBIx::Class::Storage::DBI::select_single 
(/usr/share/squeezeboxserver/lib/DBIx/Class/ResultSet.pm line 747)
  frame 12: DBIx::Class::ResultSet::single (/usr/share/perl5/Slim/Schema.pm 
line 2314)
  frame 13: Slim::Schema::_retrieveTrack (/usr/share/perl5/Slim/Schema.pm line 
820)
  frame 14: Slim::Schema::objectForUrl (/usr/share/perl5/Slim/Player/Song.pm 
line 89)
  frame 15: Slim::Player::Song::new 
(/usr/share/perl5/Slim/Player/StreamingController.pm line 1791)
  frame 16: Slim::Player::StreamingController::resetSongqueue 
(/usr/share/perl5/Slim/Player/Playlist.pm line 319)
  frame 17: Slim::Player::Playlist::copyPlaylist 
(/usr/share/perl5/Slim/Player/StreamingController.pm line 1991)
  frame 18: Slim::Player::StreamingController::unsync 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Groups/StreamingController.pm
 line 326)
  frame 19: Plugins::Groups::StreamingController::undoGroup 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Groups/Plugin.pm line 
104)
  frame 20: Plugins::Groups::Plugin::shutdownPlugin 
(/usr/share/perl5/Slim/Utils/PluginManager.pm line 416)
  frame 21: (eval) (/usr/share/perl5/Slim/Utils/PluginManager.pm line 416)
  frame 22: Slim::Utils::PluginManager::shutdownPlugins 
(/usr/sbin/squeezeboxserver line 1181)
  frame 23: main::cleanup (/usr/share/perl5/Slim/bootstrap.pm line 407)
  frame 24: Slim::bootstrap::sigint (/usr/share/perl5/Slim/bootstrap.pm line 
441)
  frame 25: Slim::bootstrap::theEND (/usr/sbin/squeezeboxserver line 1213)
  frame 26: main::END (/usr/sbin/squeezeboxserver line 0)
  frame 27: (eval) (/usr/sbin/squeezeboxserver line 0)
  
--------------------


There are several other events like that over the past week, but all
that I see without digging into past logs seem to have been recoverable.
They are much the same as above up to around frame 22, after which they
look more like this (with some variation):


Code:
--------------------
    frame 23: main::cleanup (/usr/share/perl5/Slim/bootstrap.pm line 417)
  frame 24: Slim::bootstrap::sigterm 
(/usr/share/perl5/Slim/Networking/IO/Select.pm line 169)
  frame 25: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 169)
  frame 26: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 
729)
  frame 27: main::idle (/usr/sbin/squeezeboxserver line 679)
  frame 28: main::main (/usr/sbin/squeezeboxserver line 1217)
  
--------------------


I am currently running build 1615827177, Mon Mar 15 18:18:26, most of
the time. But I will continue to try each new nightly as it arrives. If
there are any debug options that would help track down the issue, I am
willing to re-install the currently nightly, if needed, in order to try
them.

It is entirely possible that the problem is with my own hardware: the
Pi, the SD card, or the USB SSD that contains the library. In fact, I
did have problems with the SSD, but I think those have been dealt with
by disabling UAS.

Any advice that might help solve this will be appreciated.



LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players,
occasionally with SB Radio, Boom or Classic.
------------------------------------------------------------------------
RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=114373

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to