ID 413940 - Crash on shutdown if Python tab has been interacted with

Follow

Problem summary:

It seems some cached objects in the Python tab might be causing a crash on shutdown.

Steps to reproduce:

  • Launch Katana with a fresh config (no extra resources needed):

env KATANA_USER_RESOURCE_DIRECTORY=/tmp/.katana`date +%s` /opt/Foundry/Katana3.2v4/bin/katanaBin--- windowsset env KATANA_USER_RESOURCE_DIRECTORY=/tmp/.katana'date +%s' "C:\Program Files\Foundry\Katana3.5v4\bin\katanaBin"
  • Run the following in the Python tab:

foo.bar
  • An error will be generated, as "foo" does not exist:

NameError: name 'foo' is not defined
  • Close Katana.
  • Katana will crash.
NOTE: The crash is not 100% reliable. It may need a few attempts to get it.
NOTE: It seems that closing every application, except the terminal from which Katana will run, will dramatically increase the reproduction success.
NOTE: It seems the crash is only reproducible on Linux.

Tested versions/platforms:

  • 3.0v9 - Unaffected (apparently)
  • 3.1v7 - Affected
  • 3.2v2 - Affected
  • 3.2v3 - Affected
  • 3.2v4 - Affected
  • 3.5v2 - Affected

    We're sorry to hear that

    Please tell us why