View Bug Details

IDProjectCategoryView StatusLast Update
0002447DCP-o-maticBugspublic2024-02-16 09:01
Reportercarl Assigned To 
PriorityhighSeverityminorReproducibilityhave not tried
Status confirmedResolutionopen 
Target Version2.16.x 
Summary0002447: Player crashes with certain DCP
Description

See email 12/2/2023

Tagsplayer
Branchbad-mxf
Estimated weeks required
Estimated work requiredUndecided

Activities

mhm

2023-02-13 04:46

reporter   ~0005492

It is also crashing the verifier:

<code>
% dcpomatic2_verify FID-48202_DID-2KWGWJ_RMNKallVinter_FTR-1_S_RO-sv_51_2K_Njuta_20230116_PRR_SMPTE_OV
Checking DCP: /Volumes/MM SSD APFS/FID-48202_DID-2KWGWJ_RMNKallVinter_FTR-1_S_RO-sv_51_2K_Njuta_20230116_PRR_SMPTE_OV
Checking CPL: /Volumes/MM SSD APFS/FID-48202_DID-2KWGWJ_RMNKallVinter_FTR-1_S_RO-sv_51_2K_Njuta_20230116_PRR_SMPTE_OV/a6080365-ed80-4627-9ccb-f68e3b8e13e2.xml
Checking reel
Checking picture asset hash: /Volumes/MM SSD APFS/FID-48202_DID-2KWGWJ_RMNKallVinter_FTR-1_S_RO-sv_51_2K_Njuta_20230116_PRR_SMPTE_OV/7e51eb67-081c-4406-bbe0-d733d6e1219b.mxf
Checking picture frame sizes: /Volumes/MM SSD APFS/FID-48202_DID-2KWGWJ_RMNKallVinter_FTR-1_S_RO-sv_51_2K_Njuta_20230116_PRR_SMPTE_OV/7e51eb67-081c-4406-bbe0-d733d6e1219b.mxf
BER encoding error.====> ] 36%
libc++abi: terminating with uncaught exception of type boost::wrapexcept<dcp::ReadError>: could not read video frame 66160 (-101)
zsh: abort /Applications/DCP-o-matic\ 2.app/Contents/MacOS/dcpomatic2_verify
</code>

carl

2023-02-21 22:31

administrator   ~0005533

To do:

  • Error raised by Player might not correspond to a single missing frame; display it somewhere else in the player, with details perhaps?
  • Error raised during ffmpeg encoder should stop the encode (for now at least)
  • _tolerant being in Film is weird
  • _tolerant flag / errors in decoder setup / errors in decoding seem like they should be merged somehow

mhm

2023-03-23 21:11

reporter   ~0005578

It would be useful to have some indication of this kind of error in the verifier. As it is now, these kind of DCPs make some media blocks crash (Cat862/Cat745). Some others display flashes in the image but continue playing (IMS3000).

I highly suspect, but am not entierly sure, that these corrupted DCPs are made with DoM and that encoding is somehow interrupted and then resumed. Would it be possible to check the last few frames when resuming encode to avoid this?

carl

2023-03-27 23:56

administrator   ~0005581

On resume, DoM finds a last "good" frame (i.e. one with a matching hash in the info files that it writes) and carries on from there. Perhaps something is going wrong with that. Are you making the DCPs that you suspect DCP-o-matic of corrupting, or is it somebody else?

mhm

2023-03-29 19:34

reporter   ~0005596

Unfortunately it is not me making these DCPs. It was just a guess on what is going on.

carl

2024-01-10 19:18

administrator   ~0006222

It appears that we no longer have this DCP but it should be possible to trigger the same crash.

Bug History

Date Modified Username Field Change
2023-02-12 11:41 carl New Bug
2023-02-13 04:46 mhm Note Added: 0005492
2023-02-13 08:02 carl Status new => acknowledged
2023-02-13 08:02 carl Estimated work required => Undecided
2023-02-14 00:07 carl Status acknowledged => in progress
2023-02-14 00:07 carl Branch => bad-mxf
2023-02-16 18:53 carl Target Version 2.16.43 => 2.16.44
2023-02-18 23:54 carl Target Version 2.16.44 => 2.16.45
2023-02-21 22:31 carl Note Added: 0005533
2023-03-03 22:51 carl Target Version 2.16.45 => 2.16.46
2023-03-05 20:36 carl Target Version 2.16.46 => 2.16.47
2023-03-08 00:27 carl Target Version 2.16.47 => 2.16.48
2023-03-23 20:24 carl Target Version 2.16.48 => 2.16.49
2023-03-23 21:11 mhm Note Added: 0005578
2023-03-27 18:36 carl Target Version 2.16.49 => 2.16.51
2023-03-27 23:56 carl Note Added: 0005581
2023-03-29 19:34 mhm Note Added: 0005596
2023-03-30 12:33 carl Target Version 2.16.51 => 2.16.52
2023-04-11 00:03 carl Target Version 2.16.52 => 2.16.54
2023-04-22 20:03 carl Target Version 2.16.54 => 2.16.56
2023-05-12 13:13 carl Target Version 2.16.56 => 2.16.57
2023-05-28 20:01 carl Target Version 2.16.57 => 2.16.58
2023-06-03 20:21 carl Target Version 2.16.58 => 2.16.59
2023-06-09 09:17 carl Target Version 2.16.59 => 2.16.60
2023-06-21 20:48 carl Target Version 2.16.60 => 2.16.x
2024-01-03 23:51 carl Status in progress => confirmed
2024-01-10 19:18 carl Note Added: 0006222
2024-01-10 19:18 carl Priority normal => high
2024-02-16 09:01 carl Tag Attached: player