Problem summary
A crash occurs when viewing or rendering a Write with a Merge(Under) upstream with more than 1 input for A.
Customer reported version
nuke.12.2v2
Customer reported platform
windows10
Steps to reproduce
1) In Nuke, create two Constant nodes.
2) Create a Merge node and add both Constant nodes as the input A/B.
3) In the Merge Properties, set the operation to Under.
4) Add a Write node and set the file name.
5) Add another Constant node as an A2 input to the Merge node upstream.
6) Render the Write node.
Expected behavior
The application should continue rendering the files or displaying in the Viewer.
Actual behavior
The application crashes when rendering with the Write node, or after adding another A input while viewing the Write node.
Workaround
Using more than 1 Merge node for each A input prevents a crash.
Reproduced by support
Nuke 16.0v1 - Windows 11, Rocky 9
Nuke 15.0v1 - Windows 11
Nuke 14.0v1 - Windows 11 -- Regression