Bug 2485 - Looping scans
: Looping scans
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-03 18:42 UTC by Alex
Modified: 2008-09-15 14:37 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 Alex 2005-11-03 18:42:01 UTC
On a Windows XP system with the following type of directory, for a music folder
defined to c:\music:

c:\music\artist X\album Y

If a link/shortcut file is placed in the above direcory linking to album Y such
as "c:\music\artist X\album Y\shortcut to album y.lnk", slimserver will go into
an infinite loop consuming all of system memory and eventually crashing.

Now, I know, why would anyone do such a thing? My fat thumbs have done this on
more than once occasion (5 or 6) for over a year now.

A service/application should not consume all system resources and crash, if a
user made an error definning the data (directory structure).

Additional error checking proposal(s): One possible solution would be to keep
track of link/shortcut files, and if a file is read more than once, it should be
ignored. Or, if a directory structure has already been processed, it should be
skipped during the single scan process.
Comment 1 Dan Sully 2005-11-04 13:12:01 UTC
Fixed in change 5037