Bug 15312 - Scanner perl crashes on DirScanning on one file
: Scanner perl crashes on DirScanning on one file
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.1
: Macintosh MacOS X 10.5
: P1 normal (vote)
: 7.5.0
Assigned To: Andy Grundman
: Audio::Scan
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-16 05:08 UTC by ChrisB
Modified: 2010-02-18 10:36 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
mp3 sound file (3.32 MB, audio/mpeg)
2009-12-16 05:08 UTC, ChrisB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ChrisB 2009-12-16 05:08:08 UTC
Created attachment 6386 [details]
mp3 sound file

(Music library scan)
When the scanner see the attached file, it dies with :

german: Durchsuchen der Musiksammlung unerwartet abgebrochen (Durchsuche
Musikverzeichnis)

scanner Log:

[09-12-16 12:41:07.4541] main::main (184) Starting Squeezebox Server scanner
(v7.4.1, r28947, Tue Oct 20 08:13:22 PDT 2009) perl 5.008008
[09-12-16 12:41:07.8057] Slim::Music::Import::runImporter (567) Starting
Slim::Music::MusicFolderScan scan
[09-12-16 12:41:12.0122] Slim::Utils::Scanner::scanDirectory (320) Found 1
files in /media/sound
[09-12-16 12:41:12.0138] Slim::Utils::Scanner::scanDirectory (333) Scanning:
/media/sound/Kylie Minogue/K.mp3

(then nothing)

All Files in this dir are ok. When I chmod 000 the K.mp3 all runs smoothly, so
it must be the file attached.


subsequently: it then fills up the (system / meassage) log like mad (this is a
separate bug I would say):

...
Dec 16 14:01:16 brandy System Preferences[33041]: Squeezebox: running JSON
request "rescanprogress"...
Dec 16 14:01:16 brandy System Preferences[33041]: Squeezebox: JSON request
returning '{\n    lastscanfailed = "Durchsuchen der Musiksammlung unerwartet
abgebrochen (Durchsuche Musik-Verzeichnis)";\n    rescan = 0;\n}'.
Dec 16 14:01:18 brandy System Preferences[33041]: Squeezebox: running JSON
request "rescanprogress"...
Dec 16 14:01:18 brandy System Preferences[33041]: Squeezebox: JSON request
returning '{\n    lastscanfailed = "Durchsuchen der Musiksammlung unerwartet
abgebrochen (Durchsuche Musik-Verzeichnis)";\n    rescan = 0;\n}'.
Dec 16 14:01:20 brandy System Preferences[33041]: Squeezebox: running JSON
request "rescanprogress"...
Dec 16 14:01:20 brandy System Preferences[33041]: Squeezebox: JSON request
returning '{\n    lastscanfailed = "Durchsuchen der Musiksammlung unerwartet
abgebrochen (Durchsuche Musik-Verzeichnis)";\n    rescan = 0;\n}'.
...

Anyone an idea why the SB server SW tries to play wma (stream files), but my
squeezebox 1 does not understand (and crashes / reboots?)

cheers
cmb
Comment 1 Chris Owens 2010-02-01 12:54:31 UTC
QA to try to reproduce
Comment 2 KDF 2010-02-10 13:08:52 UTC
trying this with 7.5 trunk, the file appears to scan just fine.
Comment 3 Andy Grundman 2010-02-18 10:36:18 UTC
Yes this file scans fine.