Bug 15911 - Embedded scanner craps out on divide by zero error
: Embedded scanner craps out on divide by zero error
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.5.0
: PC Windows XP
: P1 major (vote)
: 7.5.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-18 02:47 UTC by Mick
Modified: 2010-04-08 17:26 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mick 2010-03-18 02:47:53 UTC
main::main (202) Starting Squeezebox Server scanner (v7.5.0, r30382, Wed Mar 17 02:05:35 PDT 2010) perl 5.010000
Slim::Music::Import::runImporter (473) Starting Slim::Music::MusicFolderScan scan
Slim::Utils::Scanner::Local::rescan (138) Discovering files in D:\Music\MP3
Slim::Utils::Scanner::Local::__ANON__ (209) Removing deleted files (0)
Slim::Utils::Scanner::Local::__ANON__ (262) Scanning new files (13873)
Slim::Utils::Scanner::Local::__ANON__ (315) Rescanning changed files (0)
Slim::Music::Import::endImporter (607) Completed Slim::Music::MusicFolderScan Scan in 1704 seconds.
Slim::Music::Import::runImporter (473) Starting Slim::Music::PlaylistFolderScan scan
Slim::Utils::Scanner::Local::rescan (138) Discovering files in D:\Music\Playlists
Slim::Utils::Scanner::Local::__ANON__ (209) Removing deleted files (0)
Slim::Utils::Scanner::Local::__ANON__ (262) Scanning new files (65)
main::main (345) Error: Failed when running main scan: [Illegal division by zero at /<C:\PROGRA~1\SQUEEZ~4\server\scanner.exe>Slim/Utils/Progress.pm line 205.
]
main::main (346) Error: Skipping post-process & Not updating lastRescanTime!
Comment 1 Chris Owens 2010-03-22 08:56:19 UTC
QA to reproduce, if possible.  If it seems like a rare case, change the target to 7.5.x
Comment 2 Chris Owens 2010-03-22 09:23:45 UTC
Andy says he will put in a fix to prevent the div by zero
Comment 3 SVN Bot 2010-03-22 09:29:45 UTC
 == Auto-comment from SVN commit #30403 to the slim repo by agrundman ==
 == https://svn.slimdevices.com/slim?view=revision&revision=30403 ==

Fixed bug 15911, protect against divide by 0 in progress calculation
Comment 4 Chris Owens 2010-04-08 17:26:37 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!