ID 416098 - ExrCombine: Crash with EXRs having a smaller data window than the display window

Follow

Problem summary
ExrCombine can segfault when data window is smaller than display window

Customer reported version
katana.3.2v2

Customer reported platform
fedora

Steps to reproduce​

1) Save and open the attached Katana project, exr_displayWindow.katana, and Disk Render the Render node.

2) Merge the generate EXR to itself with ExrCombine. For example:

/opt/Katana3.2v2/bin/ExrCombine /tmp/out_prman_katana.exr /tmp/out_prman_katana.exr /tmp/combined_Katana.exr

Expected behavior
ExrCombine outputs a merged EXR.

Actual behavior
ExrCombine segfaults with the following error:

Segmentation fault (core dumped)

Workaround
Disable exrOptimize in the RenderOutputDefine node.

Reproduced by support
This bug has been reproduced in:
Katana 3.2v2 - CentOS 7
Katana 3.2v1 - CentOS 7
Katana 3.1v7 - CentOS 7
Katana 3.1v1 - CentOS 7
Katana 3.0v1 - CentOS 7
Katana 2.5v1 - CentOS 7
Katana 2.0v1 - CentOS 7
Katana 1.6v3 - CentOS 7

Earliest version tested
Katana 1.6v3 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why