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
UsdSkel display crash when changing a primitive type to SkelRoot #1248
Comments
Filed as internal issue #USD-6168. |
cameronwhite
added a commit
to sideeffects/USD
that referenced
this issue
Nov 19, 2020
to remove skeletons that did not have any bindings to skinned prims. This could lead to crashes later on from accessing expired prims. UsdSkelImagingSkeletonAdapter::_RemovePrim() checks _skelBindingMap to determine whether the provided path is the skeleton prim. This was inconsistent with UsdSkelImagingSkeletonAdapter::ProcessPrimResync(), which checks _skelDataCache via _GetSkelData(). If there aren't any bindings, the skeleton is in _skelDataCache but not _skelBindingMap. Fixes: PixarAnimationStudios#1228, PixarAnimationStudios#1248
cameronwhite
added a commit
to sideeffects/USD
that referenced
this issue
Nov 25, 2020
to remove skeletons that did not have any bindings to skinned prims. This could lead to crashes later on from accessing expired prims. UsdSkelImagingSkeletonAdapter::_RemovePrim() checks _skelBindingMap to determine whether the provided path is the skeleton prim. This was inconsistent with UsdSkelImagingSkeletonAdapter::ProcessPrimResync(), which checks _skelDataCache via _GetSkelData(). If there aren't any bindings, the skeleton is in _skelDataCache but not _skelBindingMap. Fixes: PixarAnimationStudios#1228, PixarAnimationStudios#1248
sunyab
added
pending push
Issue fix or pull request merged internally and pending push
pending release
Issue addressed in next release
and removed
pending push
Issue fix or pull request merged internally and pending push
labels
Dec 8, 2020
Thanks, this was included in the 21.02 release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of Issue
This is a stripped down version of a crash we encountered with UsdSkel in Houdini, and can reproduce in
usdview
.I think this is a separate issue from the one reported in #1228 - it doesn't require the skeleton prim to be displayed, and has a different stack trace when it crashes
Steps to Reproduce
HumanFemale_01
andHumanFemale_02
- referencing different USD files seems to be required to replicate the sequence of changes that caused the crash in Houdini.usdview usdskel_xform.usda
System Information (OS, Hardware)
Ubuntu 18.04, gcc 7.5
Package Versions
USD 20.05 (https://github.com/sideeffects/USD/tree/dev_houdini18.5.197)
The text was updated successfully, but these errors were encountered: