DOM Crashed down by packaging DCP with srt file

Anything and everything to do with DCP-o-matic.
dcpmaker
Posts: 32
Joined: Thu Apr 19, 2018 1:58 am

DOM Crashed down by packaging DCP with srt file

Post by dcpmaker »

Hi, I'm packaging a DCP with only one subtitle file (just for some test) and DOM crashed down. What should I do to find out what happended?
dcpmaker
Posts: 32
Joined: Thu Apr 19, 2018 1:58 am

Re: DOM Crashed down by packaging DCP with srt file

Post by dcpmaker »

I've minimized the srt file as follows:

Code: Select all

1
00:00:05,391 --> 00:00:10,213
1

2
00:00:16,296 --> 00:00:22,663
3

3
00:01:15,422 --> 00:01:18,801
aa

4
00:08:37,266 --> 00:08:39,434
3
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: DOM Crashed down by packaging DCP with srt file

Post by carl »

It works OK for me. What DCP-o-matic version? What message did you get when it crashed?
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: DOM Crashed down by packaging DCP with srt file

Post by Carsten »

Maybe some strange file format with invisible control chars,headers,etc.

I'd load it into a simple text editor and make sure it is saved from there as a bare text file.

- Carsten
dcpmaker
Posts: 32
Joined: Thu Apr 19, 2018 1:58 am

Re: DOM Crashed down by packaging DCP with srt file

Post by dcpmaker »

The version is: dcpomatic version 2.12.4 001a7047cb.

I got the following error massages:

Code: Select all

dcp@dcp:~/testsrt$ dcpomatic2_cli ./

Making DCP for testsrt
Segmentation fault (core dumped)
What's weird, if I changed the content "00:08:37,266 --> 00:08:39,434" to "00:01:37,266 --> 00:08:39,434", it packaged OK.
But "00:08:37,266 --> 00:08:39,434" crashed every time.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: DOM Crashed down by packaging DCP with srt file

Post by carl »

Could you try

gdb --args dcpomatic2_cli 2>&1 | tee log

run

then post the file called "log"?
dcpmaker
Posts: 32
Joined: Thu Apr 19, 2018 1:58 am

Re: DOM Crashed down by packaging DCP with srt file

Post by dcpmaker »

Please check the attachments. Thanks!
You do not have the required permissions to view the files attached to this post.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: DOM Crashed down by packaging DCP with srt file

Post by carl »

Thanks. I am away for a week or so but I will take a look when I get back.
dcpmaker
Posts: 32
Joined: Thu Apr 19, 2018 1:58 am

Re: DOM Crashed down by packaging DCP with srt file

Post by dcpmaker »

Hi Carl, is there any news of this issue? Thanks again.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: DOM Crashed down by packaging DCP with srt file

Post by carl »

Hi, thanks for the trace: it's a strange result!

Can you send your metadata.xml?