ID 356242 - [Linux] Nuke's Python interpreter errors on the creation of certain nodes in the Nuke 11 releases

Follow

Problem summary
It is possible to run Nuke commands through a Python module using a built in interpreter that is shipped with Nuke .
https://learn.foundry.com/nuke/developers/111/pythondevguide/nuke_as_python_module.html

This Nuke-based Python interpreter allows you to work within Nuke's Python API, without accessing a script environment and is generally launched through terminal using a Nuke render license.

There has been an issue discovered related to several nodes not being able to be created within this Python environment.
 
From customer reports and initial testing, the following nodes are affected:
- CameraTracker
- VectorDistort
- VectorField
 
Ocula 4.0 Plug-in:
- FocusMatcher
- ColourMatcher
- NewView
- InteraxialShifter
 
Although there may be others that we have not discovered yet.
 

An example of the error is below:


RuntimeError: /usr/local/Nuke11.2v3/plugins/Vectorfield.so: undefined symbol: _intel_fast_memset
This issue is isolated to Nuke 11.0/11.1/11.2 releases and only within Linux-based operating systems. This does not occur through the standard GUI or terminal launched Nuke.

Customer reported version
nuke.11.2v3

Customer reported platform
centos7

Steps to reproduce

1) Open a new terminal window in a Linux OS

2) Launch the Python interpreter that is located in the same directory as the Nuke application.
For example:
/usr/local/Nuke11.2v3/Python

3) When you are in the Python environment (indicated by the '>>>' state), enter the following into the terminal window:

>>> import nuke
 
then

>>>nuke.createNode('Vectorfield')

Result: The Vectorfield node will not be created as expected e.g. (Vectorfield at 0x00000000B21BED0) and instead the following error will be generated:

RuntimeError: /usr/local/Nuke11.2v3/plugins/Vectorfield.so: undefined symbol: _intel_fast_memset
Note: nuke.nodes.Vectorfield will also cause the issue

Workaround
Avoid using the Python interpreter to create the above referenced nodes within Linux environments.
As an alternative, create these nodes either through the Nuke GUI and/or terminal mode.

Reproduced by support
This bug has been reproduced in:
Nuke 11.2v3- CentOS 6.9
Nuke 11.2v1 - CentOS 6.9
Nuke 11.1v5 - CentOS 6.9
Nuke 11.1v1 - CentOS 6.9
Nuke 11.0v4 - CentOS 6.9
Nuke 11.0v1 - CentOS 6.9 - regression

Unable to reproduce bug in:
Nuke 11.2v3 - Windows 7 - MacOS 10.13.4
Nuke 10.5v7 - CentOS 6.9 - Windows 7 - MacOS 10.13.4

Earliest version tested
Nuke 10.5v7
- This issue no longer appears in this version and has regressed

Expected behaviour
Not to receive the error when creating nodes within the Python interpreter

Actual behaviour
Received the error when creating nodes within the Python interpreter

    We're sorry to hear that

    Please tell us why