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

EMSUSD-1073 - Update for USD v24.03 #3684

Conversation

seando-adsk
Copy link
Collaborator

When updating to USD v24.03 the test testMergeToUsd.py would segfault and crash. I found its because of a const TkToken& being stored in a struct which is then passed around. Not sure why with 24.03 this changed, but my suspicion was that token was being released elsewhere and this the ref in the struct not valid. There is no reason to store a ref in the struct. TfTokens are lightweight objects which are ref counted.

@seando-adsk seando-adsk added the bug Something isn't working label Mar 28, 2024
@seando-adsk seando-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Apr 3, 2024
@seando-adsk seando-adsk merged commit ab9f6f9 into dev Apr 3, 2024
13 of 15 checks passed
@seando-adsk seando-adsk deleted the donnels/EMSUSD-1073/usd_v24_03_do_not_use_TkToken_ref_in_struct branch April 3, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants