FIXED: Experimental 2021.38110 - crash when loading RayTK tox

The 2021.38110 build crashes when attempting to drop a RayTK library tox file.

Loading the CrashAutoSave file, I see a few script errors in widget COMPs:

  • 'td.Ext1' object has no attribute 'SubWidgetExt'
  • Module compilation for the menu/entries within dropmenu widgets (possibly related to code in menuSource for some pars).

But nothing stands out as an obvious cause.

The files exceed the forum’s size limit, so they’re available here:

https://drive.google.com/drive/folders/12i57HoebywFULSypYuzDTU7FNn_jNPuJ?usp=sharing

To reproduce the crash, open the .toe file (or just the default project) and drop the RayTK-0.20-exp.tox tox file into it.

I’ve also included some other versions of the tox. The 0.19 one loads, but the 0.19-exp crashes.
The -exp files contain additional comps nested in operators/.

Thanks, I’ve logged the crash

1 Like

Thanks, this crash will be fixed in the next experimental we post. For Vulkan you may need to move to
#extension GL_EXT_shader_atomic_float : enable
instead of the Nvidia extension (although it’s still only supported on Nvidia)

1 Like

Thanks!

Fortunately that section of the toolkit isn’t being used yet anyway so I can just disable it. After doing that the toolkit loads without crashing.

But if I were to keep it, swapping that code in got it past that crash but then it crashed at another op /raytk/operators/sdf/sopSdf/voxel_to_df/glslmulti_preprocess. The shader for that one seems fairly innocuous, so I’m not sure what’s going wrong.

TouchDesignerCrash.2021.38110.2.dmp (296.8 KB)

Right, the crash isn’t caused by that, that’s another bug that I just fixed. I was just mentioning the extension for future proofing your toolkit