Bugzilla – Bug 17562
Scanner crashing on long file paths
Last modified: 2011-09-14 13:22:04 UTC
Scanner crashing at initial scan - all nightlies till r33402 had been fine, bug came with r33406 and is still in RC1. see http://forums.slimdevices.com/showthread.php?t=90308
7.7.0-33429 crashes because of long path+filenames. The same music library worked fine with 7.6.2. the crash is in the classical section of my library; with their notorius long names. Longest path+name in the directory is 245 e:\music\Classical\Mahler, Gustav\Klaus Tennstedt\Mahler; The Complete Works (150th Anniversary Edition)\Disc11\13 - Symphony No. 8 in E flat major (-Symphony of a Thousand-)- Part 1- Hymnus - Veni, creator spiritus. Accende lumen sensibus.flac Shortened the path for my complete Mahler collection and the scanner can now finish. Conclusion: - Both internal and external scanner crash when path+filename is to long. This should be handled with a nice error message in log letting the scanner continue - Filename and path unchanged and it worked in 7.6.x ... something changed in LMS?! - Another issue: During installation the C++ runtime complains because a newer version is installed
*** Bug 17564 has been marked as a duplicate of this bug. ***
*** This bug has been confirmed by popular vote. ***
FYI Michael H fixed the VC ++ runtime issue in 33438+33440
We were using a predefined maximum path length value, which under Windows is a rather short 260 bytes. We've fixed this so that value won't be used anymore. Note that you may have other problems in Windows with paths longer than 260: http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx
== Auto-comment from SVN commit #33454 to the slim repo by agrundman == == http://svn.slimdevices.com/slim?view=revision&revision=33454 == Bug 17562, Audio::Scan 0.93, libmediascan 17e8cc4d
== Auto-comment from SVN commit #33455 to the slim repo by agrundman == == http://svn.slimdevices.com/slim?view=revision&revision=33455 == Fixed bug 17562, Audio::Scan 0.93 and updated Media::Scan