ID 358937 - Creating a Tab_Knob in a Nuke Python Panel crashes Nuke

Follow

Problem summary
Creating a Tab_Knob in a Nuke Python Panel crashes Nuke

Customer reported version
nuke.11.2v1

Customer reported platform
centos6

Steps to reproduce

1) Open Nuke 11.2

2) Open the Script Editor, and run the below code, Nuke will crash:

class SegmentationFaultDialog(nukescripts.PythonPanel):

 def __init__(self):

  nukescripts.PythonPanel.__init__(self, "Closing Nuke Dialog", "com.close.nuke")

  self.Tab = nuke.Tab_Knob("just_a_tab", "Simple Tab")

  self.addKnob(self.Tab)

panel = SegmentationFaultDialog()

panel.show()

Reproduced by support

This bug has been reproduced in:

Nuke 11.2v2 - Windows 10 - CentOS 6.9 - MacOSX 10.13

Nuke 11.2v1 - Windows 10 - CentOS 6.9 - MacOSX 10.13 - regression

Unable to reproduce bug in:

Nuke 11.1v5 - Windows 10 - CentOS 6.9 - MacOSX 10.13

Earliest version tested
Nuke 11.1v5 - This issue no longer appears in this version and has regressed

Expected behaviour
For a Python Panel to be created containing a Tab_Knob

Actual behaviour
Nuke crashed

    We're sorry to hear that

    Please tell us why