I’m currently working on getting our Hydra render delegate updated against USD 24.05 RC1. I’m running into crashes while testing the render delegate in usdview with the kitchen scene.
Enabling either PXR_WORK_THREAD_LIMIT=1 or USDIMAGINGGL_ENGINE_ENABLE_SCENE_INDEX=1 causes the crash to disappear.
The render delegate is working fine with many previous versions of USD, including USD23.11
I’m wondering what has changed that I’m not accounting for ? Any hints would be appreciated !
Below a representative stack trace. This is from a debug build, but crashes are also happening in release.
Does this crash occur with HdStorm or HdPrman? We haven’t seen any related crashes, and the thread local cache you’re describing has been a great performance optimization for us. But depending on configuration, obviously thread local stuff has a lot of potential to cause chaos…