Bugzilla – Bug 17723
Scanner crashes squeezeboxserver if mp3 file tag has year set to 0000
Last modified: 2014-08-06 10:35:40 UTC
Hi, I had a problem with the scanner crashing the squeezeboxserver daemon when it came across a file with 0000 set for the year in the ID3v2 tag. Simple resolution is to set year to something appropriate and scanner completes as normal and the daemon stays active. System (if required): Logitech Media Server Status Logitech Media Server Version: 7.7.0 - r33614 @ Tue Oct 18 12:09:21 MDT 2011 Hostname: mediaserver Server IP Address: 192.168.0.108 Server HTTP Port Number: 9002 Operating system: Red Hat - EN - utf8 Platform Architecture: i686-linux Perl Version: 5.8.8 - i386-linux-thread-multi Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) Total Players Recognized: 2 If you need anymore details please let me know. FYI, logs were not verbose enough to determine problem: [root@mediaserver ~]# tail -f /var/log/squeezeboxserver/scanner.log [11-11-02 17:17:09.5274] main::main (200) Starting Logitech Media Server scanner (v7.7.0, r33614, Tue Oct 18 12:09:21 MDT 2011) perl 5.008008 [11-11-02 17:17:10.7007] Slim::Music::Import::runImporter (478) Starting Slim::Media::MediaFolderScan scan [11-11-02 17:17:10.7014] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in /media/Music [11-11-02 17:17:16.6869] Slim::Utils::Scanner::Local::__ANON__ (254) Removing deleted audio files (0) [11-11-02 17:17:16.6874] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning new audio files (12272) The last entry in server.log (it was rotated on restart): [11-11-03 10:52:20.8126] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in /media/Music [11-11-03 10:52:32.0675] Slim::Utils::Scanner::Local::__ANON__ (254) Removing deleted audio files (0) [11-11-03 10:52:32.0679] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning new audio files (11270) [11-11-03 10:52:32.0691] Slim::Utils::Scanner::Local::__ANON__ (410) Rescanning changed audio files (0) File where the scanner stopped and crashed: [11-11-03 12:39:13.2157] Slim::Utils::Scanner::Local::new (773) Handling new audio track file:///media/Music/Bob%20Dylan/Desire/01%20-%20Hurricane.mp3 Thanks
Could you please provide a sample file for this issue?
Created attachment 7542 [details] mp3 with year tag set to 0000 This mp3 caused a scanner failure as the year tag is set to 0000.
Verification passed on 7.7.1 r33735.
Accidently closed this, re-opening.
Seems to be fixed in 7.7.4. Can't reproduce with the provided file.