ID 215796 - Threadlock issue on Linux from Nuke 9.0v1 onwards

Follow

Problem summary
Threadlocking issue on Linux from Nuke 9.0v1. When saving repeatedly with the customers init.py installed, then the GUI locks up.

Customer reported version

Nuke 9.0v1

Customer reported platform

Linux 

Steps to reproduce

1) Download the attached files, and put the init.py file into your .nuke folder

2) Open Nuke 9.0v1 or newer, and open the attached threadlock.nk script

3) With the Viewer looking at the read node, press and hold Ctrl + S. This will save the file many time, until the GUI locks up.

Reproduced by support
The issue was found on:

Nuke 9.0v1 Linux CentOS 6.7
Nuke 9.0v8 Linux CentOS 6.7​
Nuke 10.0v1 Linux CentOS 6.7​

The issue does not effect Windows or Mac, or earlier versions of Nuke on Linux, I've tested on Nuke 8.0v6 Linux CentOS 6.7 where it worked correctly, so this seems like a regression.

Expected behaviour
For Nuke to continue to repeatedly save the file.

Actual behaviour
The GUI locks up and no buttons are click able. Although the mouse still changes shape when hovering over the panel boarders to the dual arrow shape, but the panels can not be resized. 

    We're sorry to hear that

    Please tell us why