Home Website Youtube GitHub

Mgear Right click crash

Maya 2023.1
Mgear 4.0.9

Today i am experiencing this several times

"
//=====================================================
Maya Crash Report
//=====================================================

Exception code: C0000005: ACCESS_VIOLATION - illegal read at address 0x0000000D
Fault address: DB178F36 in C:\Program Files\Autodesk\Maya2023\bin\Foundation.dll
0001:00077F36 Logical offset (see .map file for location)

Call stack:
Module: C:\Program Files\Autodesk\Maya2023\bin\AnimSlice.dll (-exported-)
Location: AnimSlice.dllTtimeWarpCmd::undoIt + 1082 bytes
Decl: public: virtual int __cdecl TtimeWarpCmd::undoIt(void) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\AnimSlice.dll (-exported-)
Location: AnimSlice.dllTtimeWarpCmd::undoIt + 37A bytes
Decl: public: virtual int __cdecl TtimeWarpCmd::undoIt(void) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\CommandEngine.dll (-exported-)
Location: CommandEngine.dllTmetaCommand::doCommand + 5D bytes
Decl: public: virtual bool __cdecl TmetaCommand::doCommand(class TargList & __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\CommandEngine.dll (-exported-)
Location: CommandEngine.dllTpythonInterpreter::dispatchMayaCommand + 356 bytes
Decl: public: static struct _object * __ptr64 __cdecl TpythonInterpreter::dispatchMayaCommand(class TmetaCommand & __ptr64,struct _object * __ptr64,struct _object * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\CommandEngine.dll (-exported-)
Location: CommandEngine.dllpythonDispatchMayaCommand + 78 bytes
Decl: struct _object * __ptr64 __cdecl pythonDispatchMayaCommand(class TmetaCommand & __ptr64,struct _object * __ptr64,struct _object * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyArg_ParseTuple_SizeT + 1AC6 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyObject_MakeTpCall + 14C bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyEval_EvalFrameDefault + 78D4 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyEval_EvalFrameDefault + 1F6A bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dllPyObject_GC_Del + C53 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyEval_EvalFrameDefault + 3A23 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dllPyObject_GC_Del + C53 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyFunction_Vectorcall + 257 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dllPyObject_CallNoArgs + 93C bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dllPyObject_CallNoArgs + 6F1 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dllPyVectorcall_Call + 5C bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\python39.dll (-exported-)
Location: python39.dll_PyObject_Call + 4F bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\CommandEngine.dll (-exported-)
Location: CommandEngine.dllTpythonInterpreter::callPythonFunction + 62 bytes
Decl: public: struct _object * __ptr64 __cdecl TpythonInterpreter::callPythonFunction(struct _object * __ptr64,struct _object * __ptr64,struct _object * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllTscriptActionMixin::execute + 4E5 bytes
Decl: protected: bool __cdecl TscriptActionMixin::execute(class Tevent const & __ptr64,class std::unique_ptr<class TinterpreterResult,struct std::default_delete > * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllTmenuScriptAction::doIt + 155 bytes
Decl: public: virtual bool __cdecl TmenuScriptAction::doIt(class Tevent const & __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllTaction::performAction + C8 bytes
Decl: private: void __cdecl Taction::performAction(class Tevent const & __ptr64,char const * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllTaction::doIt + 39 bytes
Decl: public: void __cdecl Taction::doIt(void) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQObject::qt_static_metacall + 1467 bytes
Decl: private: static void __cdecl QObject::qt_static_metacall(class QObject * __ptr64,enum QMetaObject::Call,int,void * __ptr64 * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQObject::qt_static_metacall + 1467 bytes
Decl: private: static void __cdecl QObject::qt_static_metacall(class QObject * __ptr64,enum QMetaObject::Call,int,void * __ptr64 * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQMetaMethod::invoke + 3DD bytes
Decl: public: bool __cdecl QMetaMethod::invoke(class QObject * __ptr64,enum Qt::ConnectionType,class QGenericReturnArgument,class QGenericArgument,class QGenericArgument,class QGenericArgument,class QGenericArgument,class QGenericArgument,class QGenericArgumen
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQMetaObject::invokeMethod + 56C bytes
Decl: public: static bool __cdecl QMetaObject::invokeMethod(class QObject * __ptr64,char const * __ptr64,enum Qt::ConnectionType,class QGenericReturnArgument,class QGenericArgument,class QGenericArgument,class QGenericArgument,class QGenericArgument,class QGen
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllQmayaMarkMenuController::execMarkingMenu + 1F3 bytes
Decl: public: static void __cdecl QmayaMarkMenuController::execMarkingMenu(class QMenu * __ptr64,class QMouseEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllQmayaQtHelper::execMenu + 8B bytes
Decl: public: static void __cdecl QmayaQtHelper::execMenu(class QWidget * __ptr64,class QMenu * __ptr64,class QMouseEvent * __ptr64,bool)
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllQmayaQtHelper::handlePopupMenu + 278 bytes
Decl: public: static bool __cdecl QmayaQtHelper::handlePopupMenu(class QObject * __ptr64,class QEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllQmayaQtHelper::handlePopupMenu + 3C5 bytes
Decl: public: static bool __cdecl QmayaQtHelper::handlePopupMenu(class QObject * __ptr64,class QEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQCoreApplicationPrivate::sendThroughObjectEventFilters + DA bytes
Decl: public: static bool __cdecl QCoreApplicationPrivate::sendThroughObjectEventFilters(class QObject * __ptr64,class QEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQApplicationPrivate::notify_helper + FC bytes
Decl: public: bool __cdecl QApplicationPrivate::notify_helper(class QObject * __ptr64,class QEvent * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQApplication::notify + 750 bytes
Decl: public: virtual bool __cdecl QApplication::notify(class QObject * __ptr64,class QEvent * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllQmayaApplication::currentSystemMouseButtons + 671 bytes
Decl: public: static class QFlags __cdecl QmayaApplication::currentSystemMouseButtons(void)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQCoreApplication::notifyInternal2 + BA bytes
Decl: private: static bool __cdecl QCoreApplication::notifyInternal2(class QObject * __ptr64,class QEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQApplicationPrivate::sendMouseEvent + 3C5 bytes
Decl: public: static bool __cdecl QApplicationPrivate::sendMouseEvent(class QWidget * __ptr64,class QMouseEvent * __ptr64,class QWidget * __ptr64,class QWidget * __ptr64,class QWidget * __ptr64 * __ptr64,class QPointer & __ptr64,bool,bool)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQSizePolicy::QSizePolicy + 2D3A bytes
Decl: public: __cdecl QSizePolicy::QSizePolicy(void) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQSizePolicy::QSizePolicy + CBE bytes
Decl: public: __cdecl QSizePolicy::QSizePolicy(void) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQApplicationPrivate::notify_helper + 110 bytes
Decl: public: bool __cdecl QApplicationPrivate::notify_helper(class QObject * __ptr64,class QEvent * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Widgets.dll (-exported-)
Location: Qt5Widgets.dllQApplication::notify + 18B3 bytes
Decl: public: virtual bool __cdecl QApplication::notify(class QObject * __ptr64,class QEvent * __ptr64) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllQmayaApplication::currentSystemMouseButtons + 671 bytes
Decl: public: static class QFlags __cdecl QmayaApplication::currentSystemMouseButtons(void)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQCoreApplication::notifyInternal2 + BA bytes
Decl: private: static bool __cdecl QCoreApplication::notifyInternal2(class QObject * __ptr64,class QEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Gui.dll (-exported-)
Location: Qt5Gui.dllQGuiApplicationPrivate::processMouseEvent + 936 bytes
Decl: public: static void __cdecl QGuiApplicationPrivate::processMouseEvent(class QWindowSystemInterfacePrivate::MouseEvent * __ptr64)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Gui.dll (-exported-)
Location: Qt5Gui.dllQWindowSystemInterface::sendWindowSystemEvents + 90 bytes
Decl: public: static bool __cdecl QWindowSystemInterface::sendWindowSystemEvents(class QFlags)
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQEventDispatcherWin32::processEvents + 6A bytes
Decl: public: virtual bool __cdecl QEventDispatcherWin32::processEvents(class QFlags) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\plugins\platforms\qwindows.dll (-exported-)
Location: qwindows.dllqt_plugin_query_metadata + 1F99 bytes
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQEventLoop::exec + 1BC bytes
Decl: public: int __cdecl QEventLoop::exec(class QFlags) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\Qt5Core.dll (-exported-)
Location: Qt5Core.dllQCoreApplication::exec + 154 bytes
Decl: public: static int __cdecl QCoreApplication::exec(void)
Module: C:\Program Files\Autodesk\Maya2023\bin\ExtensionLayer.dll (-exported-)
Location: ExtensionLayer.dllTapplication::start + E5 bytes
Decl: public: void __cdecl Tapplication::start(void) __ptr64
Module: C:\Program Files\Autodesk\Maya2023\bin\maya.exe (-exported-)
Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapperTscenePartitions::ConstIteratorDescriptor >::operator++ + 1490 bytes
Decl: public: class TiteratorWrapper & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper >::operator++
Module: C:\Program Files\Autodesk\Maya2023\bin\maya.exe (-exported-)
Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapperTscenePartitions::ConstIteratorDescriptor >::operator++ + 17E77 bytes
Decl: public: class TiteratorWrapper & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper >::operator++
Module: C:\Program Files\Autodesk\Maya2023\bin\maya.exe (-exported-)
Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapperTscenePartitions::ConstIteratorDescriptor >::operator++ + 16FAA bytes
Decl: public: class TiteratorWrapper & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper >::operator++
Module: C:\Windows\System32\KERNEL32.DLL (-exported-)
Location: KERNEL32.DLLBaseThreadInitThunk + 14 bytes
Module: C:\Windows\SYSTEM32\ntdll.dll (-exported-)
Location: ntdll.dllRtlUserThreadStart + 21 bytes
End of stack

//crash log file name = C:\Users\GODFAT~1\AppData\Local\Temp\MayaCrashLog221021.1605.log
//version = 23.1.0.1532
//cut = 05/05/2022, 202205052215
//current scene = unDisclosed
//command history (most recent last):
//====================================================
//last tool: Move
//====================================================
//panel with focus: modelPanel4
//visible panels:
// modelPanel4 outlinerPanel1 outlinerPanel3
//====================================================
//Memory usage:
// 52326.746 Mb Free Memory
// 57465.875 Mb Free Swap
// 2811.441 Mb Current

//====================================================
//Python stack:
File: “C:\Users\godfather\Documents\maya\modules\scripts\mgear\core\dagmenu.py”, line 474, in mgear_dagmenu_callback(*args=(’“MainPane|viewPanes|modelPanel4|modelPanel4|modelPanel4|modelPanel4ObjectPop”’, ‘’, ‘’), **kwargs={})
mgear_dagmenu_fill(_parent_menu, sel[0])
File: “C:\Users\godfather\Documents\maya\modules\scripts\mgear\core\dagmenu.py”, line 497, in mgear_dagmenu_fill(parent_menu=‘MainPane|viewPanes|modelPanel4|modelPanel4|modelPanel4|modelPanel4ObjectPop’, current_control=’|rigWolf|world_ctl|root_C0_root|root_C0_ik_cns|root_C0_ctl|body_C0_root|body_C0_ik_cns|body_C0_ctl’)
for x in get_all_tag_children(ctl)
File: “C:\Users\godfather\Documents\maya\modules\scripts\mgear\core\pickWalk.py”, line 39, in get_all_tag_children(node=‘body_C0_ctl’)
child = cmds.controller(tags, query=True, children=True)

//====================================================
"

any idea why?

thank you

I don’t know why, but my very first suspicion would be: are you using proxy attributes? I don’t know if they have been fixed, but they always caused major trouble back in 2018/2019, so I stopped using them.

Otherwise, if you can’t solve this bug, and it’s stopping you from working, consider removing all controller tags. You will lose the ability to do custom pick-walking. And you won’t be able to group/view controllers as “controllers”, only as nurbs curves. But if you don’t really use those features, it might be a valid workaround for now.

This might stop your crash, but not answer why it’s happening:

(Backup your file first, of course.)

import pymel.core as pm
pm.delete(pm.ls(type='controller'))

BUT… in the error it looks like a tool you’re trying to run might be requiring the controller tags. Deleting them might have other unintended consequences.

2 Likes

Hi Chris

yes i was testing proxy attributes for this rig… Thanks a lot for your prompt help!

They aren’t worth testing, imo. They are a convenience for selecting attributes, but they make a giant mess of the graph editor, showing tangled nested versions of all the nodes the attributes are connected to (as of 2020 when I last tested), and as you’ve discovered, are a bit… crashy.

2/10 do not recommend. :slight_smile:

This may have been fixed, but I am permanently done with them. In the Graph Editor, left with Proxy (50 million attributes and weird nesting) and right without (just the attributes on this controller):

2 Likes

Thank you Chris, as usual your answers are very helpfull