Bugzilla – Bug 4717
Scanner.exe crashes on files with very long filenames
Last modified: 2011-11-06 23:25:03 UTC
Scanner.exe crashes out when presented with very long filenames. I discovered that my music library contained a file called: "F:\More Music\Classical\Liszt\Complete Piano Works Volume 23\01 - HAROLD EN ITALIE - Symphonie en 4 parties, op. 16 (Berlioz, 1834)- partition de piano avec la partie d'alto, S472 (c1836, pub 1879)- 1. Harold aux montagnes - Scenes de melancolie.flac" I invoked scanner.exe from the command line with the following command scanner -d_scan -d_info e:\music and it followed a Windows shortcut onto F: I have Visual Studion installed, so I got a dialog box with the message: "An unhandled win32 exception occurred in scanner.exe [820]." The last page of output from scanner.exe was: 2007-01-27 14:38:36.0404 -- Track has no genre 2007-01-27 14:38:36.0465 -- Track has contributor 'Liszt' of role 'ARTIST' 2007-01-27 14:38:36.0467 -- Track has 1 contributor(s) 2007-01-27 14:38:36.0470 -- Track primary contributor is 'Liszt' (id: [94]) 2007-01-27 14:38:36.0472 -- Checking for discs 2007-01-27 14:38:36.0503 -- Same album 'Complete Piano Works Volume 23' (id: [10 16]) than previous track 2007-01-27 14:38:36.0521 -- Updating album 'Complete Piano Works Volume 23' (id: [1016]) with columns: 2007-01-27 14:38:36.0522 --- titlesort : COMPLETE PIANO WORKS VOLUME 23 2007-01-27 14:38:36.0524 --- titlesearch : COMPLETE PIANO WORKS VOLUME 23 2007-01-27 14:38:36.0527 --- year : 0 2007-01-27 14:38:36.0529 --- contributor : 94 2007-01-27 14:38:36.0536 -- Track has album 'Complete Piano Works Volume 23' (id : [1016]) 2007-01-27 14:38:36.0567 -- Contributor 'Liszt' (id: [94]) linked to album 'Comp lete Piano Works Volume 23' (id: [1016]) with role: 'ARTIST' 2007-01-27 14:38:36.0619 cue file type for file:///F:/More%20Music/Classical/Lis zt/Complete%20Piano%20Works%20Volume%2023/Liszt%20-%20Complete%20Piano%20Works%2 0Volume%2023.cue 2007-01-27 14:38:36.0625 ScanDirectory: Adding playlist file:///F:/More%20Music/ Classical/Liszt/Complete%20Piano%20Works%20Volume%2023/Liszt%20-%20Complete%20Pi ano%20Works%20Volume%2023.cue to database. 2007-01-27 14:38:36.0664 2007-01-27 14:38:36.0666 newTrack(): New Playlist: [file:///F:/More%20Music/Clas sical/Liszt/Complete%20Piano%20Works%20Volume%2023/Liszt%20-%20Complete%20Piano% 20Works%20Volume%2023.cue] 2007-01-27 14:38:36.0668 newTrack(): readTags is 1 2007-01-27 14:38:36.0678 cue file type for F:\More Music\Classical\Liszt\Complet e Piano Works Volume 23\Liszt - Complete Piano Works Volume 23.cue 2007-01-27 14:38:36.0680 Info: no title found, calculating title from url for fi le:///F:/More%20Music/Classical/Liszt/Complete%20Piano%20Works%20Volume%2023/Lis zt%20-%20Complete%20Piano%20Works%20Volume%2023.cue 2007-01-27 14:38:36.0682 Plain title for: file:///F:/More%20Music/Classical/Lisz t/Complete%20Piano%20Works%20Volume%2023/Liszt%20-%20Complete%20Piano%20Works%20 Volume%2023.cue 2007-01-27 14:38:36.0686 is Liszt - Complete Piano Works Volume 23 2007-01-27 14:38:36.0828 newTrack(): Created track 'Liszt - Complete Piano Works Volume 23' (id: [14495]) 2007-01-27 14:38:36.0864 scanPlaylistFileHandle: will scan file:///F:/More%20Mus ic/Classical/Liszt/Complete%20Piano%20Works%20Volume%2023/Liszt%20-%20Complete%2 0Piano%20Works%20Volume%2023.cue, base: file:///F:/More%20Music/Classical/Liszt/ Complete%20Piano%20Works%20Volume%2023
appears to be a cue sheet parsing here. Perhaps this is bug 4691 again?
Note this filename is 251 characters.
Try if this bug still shows with v7.6
Unassigned bugs cannot have a priority.