Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple usd procedurals causing hangs #400

Closed
sebastienblor opened this issue Apr 29, 2020 · 0 comments · Fixed by #401
Closed

Multiple usd procedurals causing hangs #400

sebastienblor opened this issue Apr 29, 2020 · 0 comments · Fixed by #401
Assignees
Labels
bug Something isn't working procedural Related to the Arnold Procedural

Comments

@sebastienblor
Copy link
Collaborator

Describe the bug
When a scene has multiple usd procedurals, it frequently hangs or crashes, because of the procedural node init enabled by default.

This seems to be happening because of the global registry, that clearly isn't thread-safe for multiple readers in parallel

@sebastienblor sebastienblor added bug Something isn't working procedural Related to the Arnold Procedural labels Apr 29, 2020
@sebastienblor sebastienblor self-assigned this Apr 29, 2020
sebastienblor pushed a commit to sebastienblor/arnold-usd that referenced this issue Apr 29, 2020
sebastienblor pushed a commit to sebastienblor/arnold-usd that referenced this issue Apr 29, 2020
sirpalee pushed a commit that referenced this issue Apr 30, 2020
* Fixing hangs with several usd procedurals
* Adding test for multiple procedurals
* Using clang format.
* Adding const qualifier to GetType and setting intial value of s_anonymousOverrideCounter to 0.

Fixes #400

Co-authored-by: sebastien.ortega <sebastien@solidangle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working procedural Related to the Arnold Procedural
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant