Bug 17360 - Scan hangs with 7.6
: Scan hangs with 7.6
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.6.0
: Infrant ReadyNAS RAIDiator (SPARC)
: -- normal with 1 vote (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-28 00:57 UTC by pardieu
Modified: 2011-08-08 08:40 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pardieu 2011-07-28 00:57:28 UTC
I can't scan my library since 7.6 upgrade.

Scanner log shows:
[11-07-26 15:36:42.1881] main::main (196) Starting Squeezebox Server scanner (v7.6.0, r32854, Mon Jul 25 10:12:18 PDT 2011) perl 5.008008
[11-07-26 15:36:48.2553] Slim::Schema::init (154) Warning: Creating new database - empty database or database from 6.3.x found
[11-07-26 15:36:59.0160] Slim::Music::Import::runImporter (460) Starting Slim::Music::MusicFolderScan scan
[11-07-26 15:36:59.0238] Slim::Utils::Scanner::Local::rescan (163) Discovering files in /media/Music
[11-07-26 15:40:41.3154] Slim::Utils::Scanner::Local::__ANON__ (235) Removing deleted files (0)
[11-07-26 15:40:41.3220] Slim::Utils::Scanner::Local::__ANON__ (291) Scanning new files (22369)

Server log shows :
[11-07-27 01:27:30.5890] Slim::Control::Queries::_songData (4176) Error: Called with invalid object or path: !
[11-07-27 01:27:30.5961] Slim::Control::Queries::_songData (4185) Error: Can't make track from: !
[11-07-27 01:27:36.5708] Slim::Schema::objectForUrl (797) Error: Null track request! Returning undef.
[11-07-27 01:27:36.5810] Slim::Schema::objectForUrl (797) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema.pm line 797)
   frame 1: Slim::Schema::objectForUrl (/usr/share/perl5/Slim/Control/Queries.pm line 4172)
   frame 2: Slim::Control::Queries::_songData (/usr/share/perl5/Slim/Control/Queries.pm line 3806)
   frame 3: Slim::Control::Queries::_addSong (/usr/share/perl5/Slim/Control/Queries.pm line 3227)
   frame 4: Slim::Control::Queries::statusQuery (/usr/share/perl5/Slim/Control/Request.pm line 1878)
   frame 5: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1878)
   frame 6: Slim::Control::Request::execute (/usr/share/perl5/Slim/Web/JSONRPC.pm line 408)
   frame 7: Slim::Web::JSONRPC::requestMethod (/usr/share/perl5/Slim/Web/JSONRPC.pm line 212)
   frame 8: (eval) (/usr/share/perl5/Slim/Web/JSONRPC.pm line 212)
   frame 9: Slim::Web::JSONRPC::handleURI (/usr/share/perl5/Slim/Web/HTTP.pm line 488)
   frame 10: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 139)
   frame 11: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
   frame 12: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
   frame 13: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
   frame 14: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 693)
   frame 15: main::idle (/usr/sbin/squeezeboxserver line 643)
   frame 16: main::main (/usr/sbin/squeezeboxserver line 1138)
Comment 1 Michael Herger 2011-07-29 02:09:30 UTC
FWIW: that server.log snipped most likely has nothing to do with the scanner hanging. And it's fixed already in the 7.6.1 nightly build.

Please set logging level for scan.* options to debug (Settings/Advanced/Logging) and re-run a scan with the latest nightly build. Then upload the full scanner.log file. Thanks!
Comment 2 pardieu 2011-07-29 11:54:39 UTC
I have now installed v7.6.1 build 32929 and with this version the scan is working. So I guess I do not need to upload the logs.

Thanks, I can now enjoy 7.6!
Comment 3 Michael Herger 2011-08-02 23:40:12 UTC
Thanks for the feedback!