Menu

#20 Crash on long subtitles

closed-fixed
nobody
5
2008-02-02
2008-01-15
rwulf
No

Long subtitles cannot be processed by SC, although they are monitored ok as preview.

Example: 12t_de.srt using Profile Zwischenfolie.txt (both attached)
The *.srt file can be loaded or created and viewed without problem.
When trying to save it as *.sup, an error message comes up:

"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Index was outside the bounds of the array"
(Details in Error-Message.txt)

If I click ok, a 0kb *.sup file is created, that does not contain any data.

If I split the subtitle into two seperate subtitles, the problem disappears. However, I cannot let both been viewed at the same time, because the background is not transparent.

Any thoughts?

Thank you

Discussion

  • rwulf

    rwulf - 2008-01-15

    Layout profile

     
  • rwulf

    rwulf - 2008-01-15

    Subtitle file

     
  • rwulf

    rwulf - 2008-01-15

    Logged In: YES
    user_id=1807270
    Originator: YES

    File Added: 12t_de.srt

     
  • rwulf

    rwulf - 2008-01-15

    Detailed .NET error message

     
  • rwulf

    rwulf - 2008-01-15

    Logged In: YES
    user_id=1807270
    Originator: YES

    File Added: Error-Message.txt

     
  • Paddington

    Paddington - 2008-02-02
    • status: open --> closed-fixed
     
  • Paddington

    Paddington - 2008-02-02

    Logged In: YES
    user_id=1128812
    Originator: NO

    I've reproduced this effect: by increasing the streamwriter's buffer size, I could resolve this problem (next version). The solution is not very pretty, in that it may occur for other long strings, but since this problem is quite rare, I hope the band aid is OK.

    With respect to your profile: please note that the upper and bottom 2 lines should be avoided, i.e. should not contain any subtitles.

     

Log in to post a comment.