Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Maya 2022 crashes when opening scenes or closing app

4 REPLIES 4
Reply
Message 1 of 5
arcon76
913 Views, 4 Replies

Maya 2022 crashes when opening scenes or closing app

Crashes in Maya have been very rare for me in the last 5 years, however Maya 2022 is a disaster. When opening scenes or closing Maya it crashes maybe half the time. I have a lot of big scenes which use references but this shouldn't be a problem. Its likely Maya 2022 being buggy and nothing wrong with the scenes themselves because they never crashed in 2020.4. Resetting user prefs has not helped.

Has anyone else experienced way more crashing issues with 2022? I guess there is nothing to do except wait several months for 2022.1 😕

Tags (2)
4 REPLIES 4
Message 2 of 5
warnold1
in reply to: arcon76

Do you have any more details on the actual crash. Is there a CER number that can be looked up

is there a workflow to reproduce the issue

what platform on you on .

any output to the terminal



Wayne Arnold

Developer

Message 3 of 5
arcon76
in reply to: warnold1

ER 307408513 was the latest crash just now. Workflow mentioned above, just close a file or open a new one, then it crashes, the terminal window disappears with the crash.
Windows 10 64bit platform.
Message 4 of 5
warnold1
in reply to: arcon76

On Windows one can launch Maya with the command line option -log FileName which will echo the stdout/stderr to the named file (provide a path to a writable file)
before running Maya (from command line) one can set environment variable to save the script editor output to a file

can provide additional info on what is happening.  use different name from the -log command. then launch Maya from that CMD window.

set MAYA_CMD_FILE_OUTPUT=PathToWriteableFile

 


in this case the redshift4maya plugin has a callback being invoked from loading of file references.  I don't have symbols for the redshift4maya plugin, what is being done there I can't see.

 
//=====================================================
Maya Crash Report
//=====================================================
 
Exception code: C0000005: ACCESS_VIOLATION - illegal read at address 0x00000310
Fault address:  69F2C881 in C:\Program Files\Autodesk\Maya2022\bin3\DataModel.dll
0001:002AB881 Logical offset (see .map file for location)
 
Call stack:
Module:  C:\Program Files\Autodesk\Maya2022\bin\OpenMayaFX.dll (-exported-)
Location: OpenMayaFX.dllAutodesk::Maya::OpenMaya20220000::MFnInstancer::allInstances + 169 bytes
Decl: public: class Autodesk::Maya::OpenMaya20220000::MStatus __cdecl Autodesk::Maya::OpenMaya20220000::MFnInstancer::allInstances(class Autodesk::Maya::OpenMaya20220000::MDagPathArray & __ptr64,class Autodesk::Maya::OpenMaya20220000::MMatrixArray & __ptr64,c
Module:  C:\ProgramData\Redshift\Plugins\Maya\2022\nt-x86-64\redshift4maya.mll (-exported-)
Location: redshift4maya.mll<7FFB157AFB29>
Decl:  ?? 
Module:  C:\ProgramData\Redshift\Plugins\Maya\2022\nt-x86-64\redshift4maya.mll (-exported-)
Location: redshift4maya.mll<7FFB157AC389>
Decl:  ?? 
Module:  C:\ProgramData\Redshift\Plugins\Maya\2022\nt-x86-64\redshift4maya.mll (-exported-)
Location: redshift4maya.mll<7FFB1565F669>

...

Module:  C:\ProgramData\Redshift\Plugins\Maya\2022\nt-x86-64\redshift4maya.mll (-exported-)
Location: redshift4maya.mll<7FFB1576DE84>
Decl:  ?? 
Module:  C:\Program Files\Autodesk\Maya2022\bin3\OpenMaya.dll (-exported-)
Location: OpenMaya.dllTHclient::userCallbackCB + 44 bytes
Decl: public: static void __cdecl THclient::userCallbackCB(class Tclient * __ptr64,class TclientServer * __ptr64,class TserverMsg const & __ptr64)

 


the code is calling MFnInstance::allInstances  which then calls getInstancePath with an invalid pointer.
still checking on if can determine where the pointer is coming from or if it can be recognized before use 

do you have access to RedShift support to ask what the plugin is doing ?



Wayne Arnold

Developer

Message 5 of 5
ryan.harvey
in reply to: arcon76

Hi there,

For the case where reopening a saved file crashes Maya 2022, we have a known issue MAYA-114824 that happens if a light (or other node) is parented under a camera. Is that the case with the scenes that crash on your side? Also, this issue only affected 2022.3, so it should not happen in 2022.2 for example.

The issue has since been fixed and the fix will be part of the next release.

Cheers,

Ryan

Bifrost QA at Autodesk

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report