Bug 17723 - Scanner crashes squeezeboxserver if mp3 file tag has year set to 0000
: Scanner crashes squeezeboxserver if mp3 file tag has year set to 0000
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.7.0
: PC RedHat Linux
: -- minor with 1 vote (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-03 11:11 UTC by craigbobsmith
Modified: 2014-08-06 10:35 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
mp3 with year tag set to 0000 (19.53 MB, audio/mpeg)
2011-11-04 03:21 UTC, craigbobsmith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description craigbobsmith 2011-11-03 11:11:16 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
Comment 1 Michael Herger 2011-11-04 02:02:05 UTC
Could you please provide a sample file for this issue?
Comment 2 craigbobsmith 2011-11-04 03:21:04 UTC
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.
Comment 3 Dinanath Kumar Singh 2011-12-13 23:02:59 UTC
Verification passed on 7.7.1 r33735.
Comment 4 Dinanath Kumar Singh 2011-12-13 23:05:13 UTC
Accidently closed this, re-opening.
Comment 5 Michael Herger 2014-08-06 10:35:40 UTC
Seems to be fixed in 7.7.4. Can't reproduce with the provided file.