ID 379017 - [Linux] Reading in a multilayered EXR's compressed using PIZ will cause a memory crash when down-rezzing in the viewer.

Follow

Problem summary
When reading in a previously rendered multi-layered EXR file that was compressed using PIZ with interleaved channels, Nuke will crash with a segmentation fault when changing the down-rezzing operation in the Viewer.

This appears to only occur in Linux and in all tested regressive versions of Nuke.

Customer reported version
nuke.11.3v1

Customer reported platform
centos7

Steps to reproduce

1) Open Nuke in a Linux environment

2) Read in a multi-layered EXR file (or create your own)

3) Create a Write node

4) Within the Write node, change the following attributes:


5) Render the EXR

6) Read in the rendered EXR file

6) Change the downrez to 1:8


7) With the Read node selected, jump between the Node Graph, Curve Editor and Dope Sheet tabs repeatedly.
Result: Nuke will crash with a segmentation fault, after a while doing this and quicker with more layers in the EXR

Workaround
From testing there is currently no workaround solution when reading in EXR files with the above export settings using the PIZ compression format.

As this is a memory related issue within Linux you can use the 'disable user of mmap()' button to elevate the memory load on the Read node.


Note: This has been tested and shown to reduce, but not completely remove the issue.

Another alternative would be to use the 'Zip 16 scanlines' compression format, which this issue does not occur with.

Reproduced by support
This bug has been reproduced in:
Nuke 11.3v1 - CentOS 7
Nuke 11.2v5 - CentOS 7
Nuke 11.2v1 - CentOS 7
Nuke 11.1v6 - CentOS 7
Nuke 11.1v1 - CentOS 7
Nuke 11.0v4 - CentOS 7
Nuke 11.0v1 - CentOS 7
Nuke 10.5v7 - CentOS 7
Nuke 10.5v1 - CentOS 7
Nuke 10.0v6 - CentOS 7
Nuke 10.0v1 - CentOS 7
Nuke 9.0v9 - CentOS 7
Nuke 9.0v1 - CentOS 7

Unable to reproduce bug in:
Nuke 11.3v1 - Windows 10, MacOS 10.13.6

Earliest version tested
Nuke 9.0v1 - CentOS 7
- This issue appears to be in all versions of the product for Linux

Expected behaviour
Nuke should not have a segmentation fault when reading in interleaved layers within a PIZ compressed EXR file

Actual behaviour
Nuke has a segmentation fault when reading in interleaved layers within a PIZ compressed EXR file
 

    We're sorry to hear that

    Please tell us why