Re: [SlimDevices: SqueezeCenter] issues with recent 8.2 nightlies

2021-04-22 Thread RobbH


Just a follow-up to say that I am now convinced my original complaint
was mistaken.

I did experience some issues with nightly builds, beginning April 4, but
I now believe those issues were entirely because of a new SSD. Shortly
after correcting the SSD issues, I had another major crash, again while
running the current nightly. I assumed that problem was somehow related
to the earlier issues, but that was almost certainly not the case.

Random crashes do occur for reasons that may be hard to identify, and I
think that's what I experienced. It's now been more than a week with no
problems. Next time something like this happens, I will think about my
plugins. Some of my plugins are unsupported. Others are supported, but I
demand more from them than is reasonable. That's where I need to look
when problems occur.



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
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] issues with recent 8.2 nightlies

2021-04-14 Thread RobbH


mherger wrote: 
> > logging options may be needed. In each case, the problem begins with
> the
> > same exception shown in the first snippet: attempt to fetch on
> inactive
> > database handle. But there may be nothing for hours preceding that.
> 
> That exception is a symptom of LMS being shut down, not the reason. If 
> you look at the stack trace you'd see that it's coming from
> "main::END".
> 
> I seem quite a few warnings/errors from 3rd party plugins. Have you 
> tried running LMS without any of them?

Well no, I haven't tried running LMS without any third party plugins in
a long time. Obviously, that's what I need to do, so I'll have to think
about how to proceed. Certain plugins, like Group Players and Airplay
Bridge, are crucial to the way I use LMS. Others are more incidental.
I'll try disabling the ones I don't depend on first, to see if that
helps.

Would changing the log level on some plugins help? In the case of the
most recent crash, the log shows nothing for ten hours before the
exception occurs. I assume something must have happened to cause the
crash.

Since no one else is reporting issues of this sort, I still wonder if
the problem is specific to my Pi, and I suspect the most likely culprit
is the SSD. That's even though I *think* I fixed the issues with the SSD
by disabling UAS. However, it only occurs with nightlies, beginning
April 4. No problems when I revert to the March 15 build. And so far, I
haven't seen any problems with 8.2.0 - 1618379930. I'll make no changes
until problems occur, if they do.

Thanks again for your guidance.



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
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] issues with recent 8.2 nightlies

2021-04-14 Thread Michael Herger

logging options may be needed. In each case, the problem begins with the
same exception shown in the first snippet: attempt to fetch on inactive
database handle. But there may be nothing for hours preceding that.


That exception is a symptom of LMS being shut down, not the reason. If 
you look at the stack trace you'd see that it's coming from "main::END".


I seem quite a few warnings/errors from 3rd party plugins. Have you 
tried running LMS without any of them?

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] issues with recent 8.2 nightlies

2021-04-14 Thread RobbH


mherger wrote: 
> >
> Your log snippets are too short. Please provide more (or rather: all) of
> 
> server.log.zip. The above only shows an issue LMS encountered _while_ 
> shutting down. But it has nothing to do with the reason it shut down for
> 
> in the first place.

As always, thanks, Michael. The log is attached. My guess is that more
logging options may be needed. In each case, the problem begins with the
same exception shown in the first snippet: attempt to fetch on inactive
database handle. But there may be nothing for hours preceding that.


+---+
|Filename: server.log (4).zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34181|
+---+


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
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] issues with recent 8.2 nightlies

2021-04-13 Thread Michael Herger

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)


Your log snippets are too short. Please provide more (or rather: all) of 
server.log.zip. The above only shows an issue LMS encountered _while_ 
shutting down. But it has nothing to do with the reason it shut down for 
in the first place.

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] issues with recent 8.2 nightlies

2021-04-13 Thread RobbH


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