Page 1 of 1

[Fix 11.2.1] SCS 11.1.6 crashes when setting up playlist cue

Posted: Sun Jun 23, 2013 11:51 pm
by djvomght
Hallo,

shortly I run into this bug: Was setting up playlist cue. When I tried to add files to the playlist, I hit ctrl-a to select all files in the directory. SCS crashes with an error (screenshot attached). I can reproduce the error on different machines and under Win7 and WinXP.

Regards Jörg
playlist_error.jpg
playlist_error.jpg (207.58 KiB) Viewed 1706 times

Re: SCS 11.1.6 crashes when setting up playlist cue

Posted: Tue Jun 25, 2013 5:35 pm
by Mike Daniell
Not sure why that would be - unless the combined length of the file names is too large. SCS allows for up to 32768 bytes of file names, which basically translates to 16384 Unicode characters. How many files are in the folder, and do they all have fairly long names? I've just created a playlist here from a folder that has 98 audio files, and that created the cue OK.

Re: SCS 11.1.6 crashes when setting up playlist cue

Posted: Tue Jun 25, 2013 6:59 pm
by djvomght
Hallo Mike,

this is the problem, there are 472 files in the directory, I redirected output from dir command to a text file, and this is more than 48kB in size. nPerhaps You can trap this error and let display a short message, that there are too many files in the directory :-)

Regards Jörg

Re: SCS 11.1.6 crashes when setting up playlist cue

Posted: Wed Jun 26, 2013 9:58 am
by Mike Daniell
Fix ready for the next release. This will accept ALL the files you select but displays a warning of you select more than 50 files, allowing you to cancel the operation if required. The memory requirement to hold the selected file names is now dynamically allocated to fit the selection.

Re: SCS 11.1.6 crashes when setting up playlist cue

Posted: Wed Jun 26, 2013 4:42 pm
by djvomght
Great. Thank You very much.

Regards Jörg