ID 311890 - Particular BlinkScript causes Nuke to crash when compiling

Follow

Problem summary
The attached BlinkScript causes Nuke to crash when compiling.


Customer reported version
nuke.11.0v2

Customer reported platform
windows10

Steps to reproduce

1) Open Nuke

2) Create a BlinkScript node

3) Load in the attached .blink file

4) Press Load, Nuke crashes

Workaround
Removing "const" from line 79 (unsigned long slice = col + row * cols;) makes the kernel compile.

Reproduced by support
This problem has been reproduced on:
Nuke 11.0v2 - Windows 7 - MacOSX 10.12.4 - CentOS 6.4
Nuke 11.0v1 - Windows 7
Nuke 10.5v6 - Windows 7
Nuke 10.5v1 - Windows 7
Nuke 10.0v6 - Windows 7
Nuke 10.0v1 - Windows 7
Nuke 9.0v9 - Windows 7
Nuke 9.0v1 - Windows 7
Nuke 8.0v7 - Windows 7
Nuke 8.0v1 - Windows 7 - MacOSX 10.12.4 - CentOS 6.4


Earliest version tested
BlinkScripts were only added in Nuke 8.0v1

Expected behaviour
For The blink script to complie

Actual behaviour
Nuke crashed

    We're sorry to hear that

    Please tell us why