View Bug Details

IDProjectCategoryView StatusLast Update
0001855DCP-o-maticBugspublic2023-09-01 21:48
Reporteroverlookmotel Assigned Tocarl  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMacOSOS XOS Version10.14
Product Version2.14.37 
Summary0001855: Crash on opening DCP with extraneous files listed in Assetmap
Description

A real edge case here:

Was trying to re-wrap a DCP created with Fraunhofer easyDCP Creator+ Version 1.4.2 in DCP-o-matic.

This DCP has 3 extraneous MXF files listed in the Assetmap which aren't referenced in either the PKL or CPL. All 3 files are empty (0 bytes length).

When trying to open this DCP in DCP-o-matic, it fails with:

Programming error at ../src/dcp.cc:214

I manually edited the Assetmap file to remove the references to these 3 empty files, and then DCP-o-matic opens it happily.

This DCP is clearly very strangely made - why reference files in Assetmap which aren't used in the actual compositions? And why include 0 byte-length files? But nonetheless, dcp_inspect says it's a valid DCP (except for an unrelated schema check failure). So I would have expected DCP-o-matic to open it successfully.

Steps To Reproduce

Carl, I'll send you a link to the offending DCP.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

overlookmotel

2020-10-10 13:58

developer   ~0003956

This is with DCP-o-matic 2.14.38, by the way.

carl

2020-10-10 17:30

administrator   ~0003957

Last edited: 2020-10-10 17:35

@carl crash is because libdcp can't find the type of these missing assets from the PKL, since they aren't there. It looks like a single ASSETMAP can contain assets for multiple PKLs, so libdcps crash here is wrong.

carl

2020-10-11 21:22

administrator   ~0003958

Fixed in fecc0c792748e2b16e8fad33186db79ce6850cc9 (2.14.39) and 4c8cc9e99678a4095772f283ffaaa1d6bd8aaf67 of the master branch of libdcp for 2.15.x.

Bug History

Date Modified Username Field Change
2020-10-10 13:25 overlookmotel New Bug
2020-10-10 13:58 overlookmotel Note Added: 0003956
2020-10-10 17:30 carl Assigned To => carl
2020-10-10 17:30 carl Status new => confirmed
2020-10-10 17:30 carl Note Added: 0003957
2020-10-10 17:35 carl Note Edited: 0003957
2020-10-11 21:22 carl Status confirmed => resolved
2020-10-11 21:22 carl Resolution open => fixed
2020-10-11 21:22 carl Note Added: 0003958
2023-09-01 21:48 carl Status resolved => closed