- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I've been having these crashes lately with a subclasses MPxLocatorNode that I'm having trouble narrowing down and was wondering whether any one recognises the following?
Stack trace:
OGSMayaBridge.dll!TdrawingChangeManager::drawableRemoved
OGSMayaBridge.dll!TdrawingChangeManager::doModelNodeRemoved
OGSMayaBridge.dll!DrawingChange::Tmonitor::parentRemovedCB
Foundation.dll!TclientServer::notifyClients
Foundation.dll!TdelayedClientServer::notifyClients
DataModel.dll!TdagObject::removeParent
DataModel.dll!TdagObject::removeChildAt
DataModel.dll!Ttransform::removeChildAt
DataModel.dll!Tmodel::removeLeafNodeFromModel
DataModel.dll!TdagDGcommandHelper::resetSetsInformation
DataModel.dll!TcmdOperation::doIt
DependEngine.dll!TDGcommand::doSomeDG
DependEngine.dll!TDGcommand::doDG
DataModel.dll!TdagDGcommandHelper::newNodeToRemoveImp
DataModel.dll!TdagDGcommand::newNodeToRemove
DependEngine.dll!TDGcommand::newNodeToDelete
OpenMaya.dll!Autodesk::Maya::OpenMaya20220000::MDGModifier::deleteNode
_OpenMaya_py2.pyd!MPyMUserEventMessage_Type::typeObj
python37.dll!_PyMethodDef_RawFastCallKeywords
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyEval_EvalCodeWithName
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyEval_EvalCodeWithName
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyEval_EvalCodeWithName
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyEval_EvalCodeWithName
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
python37.dll!_PyEval_EvalCodeWithName
python37.dll!_PyFunction_FastCallDict
python37.dll!_PyEval_EvalFrameDefault
00007FFE05329E10
Crashes happen less frequently and differently under Maya 2020 and below, and my hope is that 2022 is simply more senstive to whatever wrongdoing I've committed. That solving this solves them all, just like the ring in Lord of The Rings. One can dream.
It happens during deletion of many nodes.
1. It's unclear whether it's related to the custom nodes, or just nodes in general with Maya
2. Deletion happens via `maya.api.OpenMaya.MDagModifier.deleteNode`
3. But crashes also occur when calling `maya.cmds.delete`
4. I've disabled all `::compute()`, with no effect
5. I've disabled all draw overrides, with no effect
The one way I'm able to avoid a crash, is if I hit that Viewport 2.0 Pause button ahead of deleting. I can then unpause and all is well.
Any ideas?
Solved! Go to Solution.