View Bug Details

IDProjectCategoryView StatusLast Update
0001454DCP-o-matic[All Projects] Bugspublic2019-01-29 22:36
Reportermarto.92Assigned Tocarl 
Status resolvedResolutionfixed 
Platform64-bitOSWindowsOS Version10
Product Version2.12.x 
Target VersionFixed in Version 
Summary0001454: Crash after opening bad .srt file

The program (lastest version today) crashes after opening a .srt file that contains some syntax errors instead of showing an error dialog. Suddenly it crashes and the progress on the proyect cannot be saved.

I know that .srt has some missing lines but another user may not and this could be a problem.

Steps To Reproduce

Edit a valid .srt file in order to make a bad .srt that doesn't follow .srt standard. Next create a new DCP proyect on DCP-o-matic, open a random video file (in my case .mp4) and after that, open the .srt file edited. This should crash the program.

Tagscrash, dcp, srt, subtitles, test-, test-on-windows
Estimated work requiredUnknown



2019-01-29 16:52

administrator   ~0002977

Can you please attach an .srt that triggers this?


2019-01-29 22:18

reporter   ~0002987

This is the .srt example (171 bytes)


2019-01-29 22:36

administrator   ~0002988

Thank you. This should be fixed in DCP-o-matic 2.12.18 and 2.13.112.

@carl 23d4d5df719e020011686ff9225845ae360f408e in libsub:master.

Bug History

Date Modified Username Field Change
2019-01-29 13:05 marto.92 New Bug
2019-01-29 13:05 marto.92 Tag Attached: dcp
2019-01-29 13:05 marto.92 Tag Attached: subtitles
2019-01-29 13:05 marto.92 Tag Attached: test-
2019-01-29 13:05 marto.92 Tag Attached: test-on-windows
2019-01-29 13:05 marto.92 Tag Attached: crash
2019-01-29 13:05 marto.92 Tag Attached: srt
2019-01-29 16:52 carl Assigned To => carl
2019-01-29 16:52 carl Status new => feedback
2019-01-29 16:52 carl Note Added: 0002977
2019-01-29 22:18 marto.92 File Added:
2019-01-29 22:18 marto.92 Note Added: 0002987
2019-01-29 22:18 marto.92 Status feedback => assigned
2019-01-29 22:36 carl Status assigned => resolved
2019-01-29 22:36 carl Resolution open => fixed
2019-01-29 22:36 carl Note Added: 0002988