首页知识与资讯Maya启动崩溃已停止工作的解决方法

Maya启动崩溃已停止工作的解决方法

-

某一错误Maya无法正常工作,Maya正在尝试恢复您的工作,并将很快关闭,由此给您带来的不便,我们深表歉意。
我们已保存当前所处理文件的恢复版本:
C\Users\iiidea\AppData\Local\Temp\无标题[已恢复-40155.2022-12-14-21.53].ma

以上是测试安装Maya 2023.3并启动软件后崩溃的错误提示,遇到这种没有任何征兆且莫名其妙的问题,首先一定要选择不要慌,一步步来。

在Maya2023.3版弹出的错误信息左下角提供了一个打开崩溃日志的新选项,2023.0本人没测试,不过在早期的版本是没有该功能提示的,需要自己手动去找,这个友情提示真的很人性化,该功能SSS念了很多年了,因此今天在安装测试的过程有幸遇到该问题,所以撰写这篇文章的解决方法,或许会给需要的同学提供一点点帮助。

1.首先,点击打开崩溃日志,在文件目录中提供了一个MayaCrashLog221214.2153.log的文本文件,可通过记事本或者代码程序打开。

2.打开之后会有以下说明。

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

Exception code: C0000005: ACCESS_VIOLATION - illegal read at address 0x4036F7A8
Fault address:  41B324EC in C:\WINDOWS\SYSTEM32\OpenCL.dll
0001:000014EC Logical offset (see .map file for location)

Call stack:
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OpenCLUtilities.dll (-exported-)
	Location: OpenCLUtilities.dllTopenCLInfo::findPlatformByVendor + 1A0 bytes
	Decl: private: bool __cdecl TopenCLInfo::findPlatformByVendor(class Tstring const & __ptr64,struct _cl_platform_id * __ptr64 & __ptr64,class Tstring & __ptr64) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OpenCLUtilities.dll (-exported-)
	Location: OpenCLUtilities.dllTopenCLInfo::TopenCLInfo + 1E0 bytes
	Decl: private: __cdecl TopenCLInfo::TopenCLInfo(void * __ptr64,void * __ptr64,void * __ptr64,bool,bool,unsigned int) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OpenCLUtilities.dll (-exported-)
	Location: OpenCLUtilities.dllTopenCLInfo::initialize + 6D bytes
	Decl: public: static bool __cdecl TopenCLInfo::initialize(void * __ptr64,void * __ptr64,void * __ptr64,bool,bool,unsigned int)
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OGSMayaBridge.dll (-exported-)
	Location: OGSMayaBridge.dllOGSMayaBridge::CreateOGSRenderer + 397 bytes
	Decl: public: bool __cdecl OGSMayaBridge::CreateOGSRenderer(void) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OGSMayaBridge.dll (-exported-)
	Location: OGSMayaBridge.dllOGSMayaBaseRenderer::initialize + 32 bytes
	Decl: public: virtual bool __cdecl OGSMayaBaseRenderer::initialize(void) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OGSMayaBridge.dll (-exported-)
	Location: OGSMayaBridge.dllOGSViewportNotificationComponent::notify + 3F0A bytes
	Decl: protected: virtual void __cdecl OGSViewportNotificationComponent::notify(class OGS::Graphics::ScriptInterpreter * __ptr64) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\OGSMayaBridge.dll (-exported-)
	Location: OGSMayaBridge.dllOGSMayaBridge::Create3DViewportRenderer + F7 bytes
	Decl: public: class OGSViewportRenderer * __ptr64 __cdecl OGSMayaBridge::Create3DViewportRenderer(void) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\maya.exe (-exported-)
	Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator++ + 9591 bytes
	Decl: public: class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> >::operator++
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\ExtensionLayer.dll (-exported-)
	Location: ExtensionLayer.dllTapplication::start + 7F bytes
	Decl: public: void __cdecl Tapplication::start(void) __ptr64
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\maya.exe (-exported-)
	Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator++ + 1490 bytes
	Decl: public: class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> >::operator++
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\maya.exe (-exported-)
	Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator++ + 17E77 bytes
	Decl: public: class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> >::operator++
	Module:  C:\Program Files\Autodesk\Maya2023.3\bin\maya.exe (-exported-)
	Location: maya.exeTiteratorWrapperFwd<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator++ + 16FAA bytes
	Decl: public: class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> & __ptr64 __cdecl TiteratorWrapperFwd<struct TscenePartitions::ConstIteratorDescriptor,class TiteratorWrapper<struct TscenePartitions::ConstIteratorDescriptor> >::operator++
	Module:  C:\WINDOWS\System32\KERNEL32.DLL (-exported-)
	Location: KERNEL32.DLLBaseThreadInitThunk + 1D bytes
	Module:  C:\WINDOWS\SYSTEM32\ntdll.dll (-exported-)
	Location: ntdll.dllRtlUserThreadStart + 28 bytes
End of stack

//crash log file name = C:\Users\iiidea\AppData\Local\Temp\MayaCrashLog221214.2153.log
//version     = 23.3.0
//cut            =  06/12/2022, 202212062215
//current scene = unDisclosed
//command history (most recent last):
//====================================================

//====================================================
//Memory usage:
// 55942.871 Mb	Free Memory
// 54880.230 Mb	Free Swap
//  459.348 Mb	当前

//====================================================

3.在该崩溃日志中,底部是内存使用情况,中间的调用堆栈SSS也不懂,先看第一排的异常代码故障地址,然后在往下进行逐步检查。

Exception code: C0000005: ACCESS_VIOLATION – illegal read at address 0x4036F7A8
Fault address: 41B324EC in C:\WINDOWS\SYSTEM32\OpenCL.dll
0001:000014EC Logical offset (see .map file for location)

4.从上面的说明中不难看出存在问题的文件是OpenCL.dll,是因为它引起的。

5.因此按照先前的方法,通过在Maya.env文件中添加MAYA_DISABLE_OPENCL=1并保存,这样就可以禁用OpenCL了。

Maya.env文件地址:
Win:C:\Users\iiidea\Documents\maya\2023.3
MacOS:/Users/用户名/Library/Preferences/Autodesk/maya/version

6.此时再次启动软件,就可以顺利打开了。

7.当然每个用户不全是在启动时崩溃,有可能是在渲染、加载模型时,当然崩溃的文件也可能不全是因为OpenCL,而有些文件在不同的目录。

例如出现在C:\Windows\System32\DriverStore\…,则可能是驱动程序导致,可以沿着该路径查找所提示的**.dll文件,试着将该文件剪切到桌面(别删除根据需要还原),然后再次启动软件测试是否存在崩溃的情况。

8.以上是关于Maya在启动软件时直接崩溃的解决思路,学会查看日志文件是有多么重要,按上面这个思路走可能是解决Maya停止工作具体问题具体分析的方法,希望给你带来一点点帮助。

xyz168
xyz168
我乃芸芸众生自食其力草根一介,喜欢!拜托支持下,不喜欢!欢迎吐槽,同时欢迎你加入一起学习!一起进步!

热门文章

最新资源

最多评论