Bugzilla – Bug 14462
Music scan terminated unexpectedly (Directory Scan)
Last modified: 2009-10-07 11:38:23 UTC
Just upgraded to v7.4.0 - r28672, running on Ubuntu 9.04 (x86_64) with perl v5.10.0 and I get a crash when trying to rescan my library. I have the following in server.log [09-09-30 15:28:22.8938] Slim::Web::Settings::Server::Basic::handler (79) Initiating scan of type: rescan [09-09-30 15:28:22.8961] Slim::Music::Import::countImporters (611) Found importer: Slim::Music::PlaylistFolderScan [09-09-30 15:28:22.8964] Slim::Music::Import::countImporters (611) Found importer: Slim::Music::MusicFolderScan [09-09-30 15:29:18.0520] Slim::Music::Import::checkScanningStatus (241) scanner is not running, but no progress data available - scanner crashed [09-09-30 15:29:18.0641] Slim::Schema::wipeCaches (1571) Wiped all in-memory caches. The last entry in scanner.log is: [09-09-30 15:29:15.4751] Slim::Utils::Scanner::scanDirectory (340) Adding file:///Media/Music/Library/iTunes/Stevie%20Wonder/Hotter%20Than%20July/Happy%20Birthday.m4a to database. I've turned on all scan, scan.import, and scan.scanner logging to Debug, but I don't get any additional output.
*** Bug 14479 has been marked as a duplicate of this bug. ***
Maybe something is wrong with that file, can you attach it?
The file plays fine (at least via gstreamer) but faad shows some non-ASCII characters in 'tool' and 'cover' (the m4a was converted from an m4p via FairUse or DeDRMS IIRC). Moving it out the way allows the scanner to complete successfully. Quite happy to send the file, but just want to make sure you really want me to do this before I turn bugs.slimdevices.com into a music sharing site. Would a direct email/ftp be better?
Might be worth saying that the file mine was failing on was a WAV - I moved this WAV and the scanner moved on but failed when it reached another WAV. Again, I'm quite happy to send these on but clearly it's not going to be a DRM issue. Ta Ian
The only way I can fix the bug is if you upload the file(s). So yes, please. :)
Created attachment 5980 [details] wav file causing scanner to fail Hi This is the first WAV file that caused the scanner to fail on my system. Hope it helps Ian
== Auto-comment from SVN commit #442 to the opensource repo by andy == == https://svn.slimdevices.com/opensource?view=revision&revision=442 == Bug 14462, fixed reading of WAV files with 18-byte fmt chunks
Created attachment 5983 [details] Crashes 7.4.0 scanner Also attaching my own funny little WAV that was crashing my 7.4.0 scanner with the same symptoms as above.
Oliver: your file has the wrong size for the data chunk. I will make a fix to handle this better.
== Auto-comment from SVN commit #443 to the opensource repo by andy == == https://svn.slimdevices.com/opensource?view=revision&revision=443 == Bug 14462, fixed reading of WAV files with data chunks having the wrong size
Darren: any chance I can get that m4a file? If you don't want to attach it here, you can email it to me at andy@slimdevices.com as long as it's under 25MB.
For the record, email with m4a this morning. Let me know if you didn't get it.
== Auto-comment from SVN commit #444 to the opensource repo by andy == == https://svn.slimdevices.com/opensource?view=revision&revision=444 == Fixed bug 14462, fixed crasher when handling duplicate key names of items that are integers
Upgraded to squeezeboxserver_7.4.0_all.deb and the problem went away Downgraded back to squeezeboxserver_7.4.0_all.deb and the crash recurred Thank you!!
Oops - first line should have read "Upgraded to squeezeboxserver_7.4.1~28791_all.deb"