ID 207540 - Nuke crashes when using a setup of a Merge node with an under operation, an inverted mask and a Write node

Follow

Problem summary
Nuke crashes when a Merge node has 3 inputs, a mask, with the operation set to under, the mask is inverted and is viewed through a Write node.

Customer reported version
nuke.10.0v1

Customer reported platform
windows7

Steps to reproduce

1) Create a new Nuke script

2) Create 3 CheckerBoard Nodes

3) Create a Merge node and connect the 3 CheckerBoard nodes into inputs A, B and A2

4) Set the Merge node's operation to under, and check the mask invert on

5) Create a Roto node and connect it to the mask input of the Merge node

6) Create a Write node, connect the input to Merge node, and view the Write node

7) If this doesn't crash, refresh the viewer, or disconnect one of the non-mask inputs to the Merge. It will then crash.

Also adjusting the mix on the Merge node crashes Nuke.

Here is an example of what the Nuke script should look like


Reproduced by Support in:
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.0v1 Windows 10
Nuke 9.0v1 Windows 10
Nuke 8.0v1 Windows 7,10, macOS 10.13.6

Nuke 9.0v8 Linux Cent Os 6.2.

Expected behavior
To view the output from the Write node.

Actual behavior
Nuke crashes.

    We're sorry to hear that

    Please tell us why