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

refactoring_sandbox : VP2 Delegate : Duplicating ProxyShape Crash #69

Closed
cfmoore007 opened this issue Oct 25, 2019 · 8 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@cfmoore007
Copy link

cfmoore007 commented Oct 25, 2019

Issue :

Maya crashes when duplicating a proxyShape node when the VP2_RENDER_DELEGATE_PROXY is enabled.

Steps to re-produce :

  1. open maya ( UFE does not need to be set, just the envar for VP2_RENDER_DELEGATE_PROXY )

2) import an AL proxyShape :

import maya.cmds as cmds
cmds.loadPlugin ("AL_USDMayaPlugin")

# import proxyShape
cmds.AL_usdmaya_ProxyShapeImport(file="3_Spheres.usda")

# select and duplicate
cmds.select("AL_usdmaya_Proxy",r=True)
cmds.duplicate()

( USD Debug Information )

ProxyShape::ProxyShape
ProxyShape::postConstructor
ProxyShapeSelection::onSelectionChanged 0
ProxyShapeSelection::onSelectionChanged 0
ProxyShape::getUsdStage
ProxyShape::compute AL_usdmaya_Proxy1Shape.outStageData

3) Crash

Stack Trace :

------------------------ 'maya.bin' is dying ------------------------
maya.bin crashed. FATAL ERROR: Used null prim
in Usd_IssueFatalPrimAccessError at line 243 of /pxr/usd/lib/usd/primData.cpp

The stack can be found in /usr/tmp/st_maya.bin.32238
done.
------------------------------------------------------------------

Testing Environment :

  • (Linux) Maya 2019.2

  • refactoring_sandbox ( d0bb624 ) and Pixar USD dev ( b85ddac )

  • ( Windows ) beta ( latest PR )

  • refactoring_sandbox ( w/ PR#69 ) and Pixar USD-rc3

( I can't seem to upload any files here, but the test was with a sphere usd file )

Side note : the crash did not occur w/ the Autodesk proxy shape

@cfmoore007
Copy link
Author

3_Spheres.zip
Added file.

@fowlertADSK fowlertADSK added the bug Something isn't working label Oct 31, 2019
@fowlertADSK
Copy link
Contributor

Thanks for reporting this. I am able to reproduce it and we're investigating now.

@fowlertADSK
Copy link
Contributor

Internally we're tracking this as MAYA-101680.

@cfmoore007
Copy link
Author

The crash seems addressed in PR#112. However, it still does not show the duplicate proxyShape's stage. Will check existing issues, and log that separately ...

@ppt-adsk
Copy link
Collaborator

I will look for your ticket, because I actually have that fixed here internally...

@cfmoore007
Copy link
Author

Actually, I cannot repro this outside of refactoring sandbox.
This crash appears resolved with PR#91.

@cfmoore007
Copy link
Author

Tested PR#162 and it seems to resolve this issue.

@ppt-adsk
Copy link
Collaborator

Hi @cfmoore007 ,
#162
fixes the root cause of the problem (proxy shape data not copied on duplication), now merged to dev branch, with unit test. You may want to confirm your duplication workflows don't show any regression. Cheers.

robthebloke pushed a commit to AnimalLogic/maya-usd that referenced this issue Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants