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

Post bug reports here
Post Reply
djvomght
Posts: 101
Joined: Fri Aug 15, 2008 11:22 pm
Location: Zittau, Germany
Contact:

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

Post by djvomght » Sun Jun 23, 2013 11:51 pm

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 1703 times

Mike Daniell
Site Admin
Posts: 3630
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: SCS 11.1.6 crashes when setting up playlist cue

Post by Mike Daniell » Tue Jun 25, 2013 5:35 pm

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.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

djvomght
Posts: 101
Joined: Fri Aug 15, 2008 11:22 pm
Location: Zittau, Germany
Contact:

Re: SCS 11.1.6 crashes when setting up playlist cue

Post by djvomght » Tue Jun 25, 2013 6:59 pm

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
Image

Mike Daniell
Site Admin
Posts: 3630
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: SCS 11.1.6 crashes when setting up playlist cue

Post by Mike Daniell » Wed Jun 26, 2013 9:58 am

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.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

djvomght
Posts: 101
Joined: Fri Aug 15, 2008 11:22 pm
Location: Zittau, Germany
Contact:

Re: SCS 11.1.6 crashes when setting up playlist cue

Post by djvomght » Wed Jun 26, 2013 4:42 pm

Great. Thank You very much.

Regards Jörg
Image

Post Reply