Bugzilla – Bug 2485
Looping scans
Last modified: 2008-09-15 14:37:04 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.
Fixed in change 5037