Problem summary
Using a simple graph that has a checkerboard feeding an expression, where every other pixel is being set to a value alternating between +/- 1.7e+16 on the disparityL channel, passing the values into a iDistort node will crash Nuke.
This behaviour has been witnessed when the disparity pass has very large variations per pixel.
Through testing, the crashing point is around 1.7e+16. Anything less (1.6e+16) does not cause the crash.
The issue is regressive with Nuke9.0v9
Customer reported version
nuke.11.1v1
Customer reported platform
rhel7
Steps to reproduce
1) Open Nuke
2) Copy/Paste the following into the Node Graph: (This will create a Checkerboard, Expression & iDistort node with the correct values)
set cut_paste_input [stack 0]version 11.1 v3CheckerBoard2 { inputs 0 format "1920 804 0 0 1920 804 1 full_res" boxsize 16 name CheckerBoard2 selected true xpos 615 ypos 82}Expression { channel0 {disparityL.x -disparityL.y} expr0 " fmod(y,2) >0 ? 1.7e+16 : -1.7e+16" channel1 {-disparityL.x disparityL.y} expr1 "fmod(x,2) >0 ? -1.7e+16 : 1.7e+16" name Expression1 selected true xpos 615 ypos 204}IDistort { uv disparityL uv_scale {1 0} name IDistort1 selected true xpos 614 ypos 296}
3) Switch views to the iDistort Node
Result: Nuke will crash to desktop and will display crash report
Workaround
Unknown.
Reproduced by support
This bug has been reproduced in:
Nuke11.1v3 - Windows 7 - Mac10.12 - CentOS6.9
Nuke11.1v1 - Windows 7 - Mac10.12 - CentOS6.9
Nuke11.0v4 - Windows 7 - Mac10.12 - CentOS6.9
Nuke11.0v1 - Windows 7 - Mac10.12 - CentOS6.9
Nuke10.5v7 - Windows 7 - Mac10.12 - CentOS6.9
Nuke10.5v1 - Windows 7 - Mac10.12 - CentOS6.9
Nuke10.0v6 - Windows 7 - Mac10.12 - CentOS6.9
Nuke10.0v1 - Windows 7 - Mac10.12 - CentOS6.9 - Regression
Unable to reproduce bug in:
Nuke9.0v9 - Windows 7 - Mac10.12 - CentOS6.9
Earliest version tested
- This issue no longer appears in this version and has regressed
Expected behaviour
Calculate the Expression node to be used within the iDistort node
Actual behaviour
Nuke crashes when viewing the iDistort node