State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:12.2v6|BugID:447820|
Problem summary
Nuke crashes when using a DeepMerge2 node with infinite deep.front and deep.back values.
The issue did not appear to occur with the original DeepMerge node, until Nuke 12.2v1, where this issue is reproducible with both the DeepMerge and DeepMerge2 nodes.
Customer reported version
Nuke 12.2v1
Customer reported platform
CentOS 7
Steps to reproduce
1) Create a CheckerBoard node and a ColorWheel.
2) Add a DeepFromImage to both the CheckerBoard and ColorWheel.
3) Add a DeepExpression to either one of the DeepFromImage nodes.
4) On the DeepExpression, set deep.front and deep.back knobs to inf
5) Create a DeepMerge node, and connect its inputs to the DeepExpression and the remaining DeepFromImage. Your script should now look something like this:

6) View the output of the DeepMerge node and notice that Nuke crashes.
Expected behaviour
Nuke should not crash when using a DeepMerge2 node with infinite deep.front and deep.back values.
Actual behaviour
Nuke crashes when using a DeepMerge2 node with infinite deep.front and deep.back values.
Workaround
To remove the infinite depth values, it is possible to cull it with a DeepCrop node.
This can be done by setting an appropriate 'zfar' distance, turning off the 'keep outside range', then re-rendering as DeepWrite node,
Once re-importing this revised exr file, the issue should no longer occur.
Reproduced by support
This bug has been reproduced in:
Nuke 12.2v5 - Windows 10 - macOS 10.14 (Mojave) - Linux CentOS 7
Nuke 12.0v1 - Windows 10 - macOS 10.14 (Mojave) - Linux CentOS 7 - Regression
Unable to reproduce bug in:
Nuke 11.3v6 - Windows 10 - - macOS 10.14 (Mojave) - Linux CentOS 7
Earliest version tested
Nuke 11.3v6
- This issue doesn't appear in this version and has regressed.
We're sorry to hear that
Please tell us why