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

Maya crashes on plugin load #16

Open
alx00x opened this issue Nov 26, 2018 · 3 comments
Open

Maya crashes on plugin load #16

alx00x opened this issue Nov 26, 2018 · 3 comments

Comments

@alx00x
Copy link

alx00x commented Nov 26, 2018

Hi,

I've compiled the plugin on windows 10 for Maya 2018 using Visual Studio 15 2017 Win64 as generator.
No errors during the compilation and all libraries are properly found.

When loading the plugin, though, i get the fatal error.

Here's the crash log:

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

Exception code: C000001D: ILLEGAL_INSTRUCTION 
Fault address:  E6F63902 in Q:\resources\maya\plugins\other\2018\plug-ins\cvwrap.mll
0001:00012902 Logical offset (see .map file for location)

Call stack:
(11) section:offset 0001:00012902 Address: 0xE6F63902 Frame: 0xB53F9080
	Module:  Q:\resources\maya\plugins\other\2018\plug-ins\cvwrap.mll (-exported-)
	Location: uninitializePlugin + 0x120F2 bytes
	Source:  (0)
(12) section:offset 0001:0016A662 Address: 0xFB84B662 Frame: 0xB53F90F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginNode::TpluginNode + 0x282 bytes
	Decl: private: TpluginNode::TpluginNode(class Tstring const & ptr64,class TiffTag const & ptr64,enum Autodesk::Maya::OpenMaya20180000::MPxNode::Type,class Tplugin * ptr64,unsigned int,void * ptr64 (cdecl*)(class Tmetaclass * ptr64),class Tmetaclass * ptr64 * ptr64,class TdependNodeVS * ptr64,void * ptr64 (cdecl*)(void),class Autodesk::Maya::OpenMaya20180000::MStatus (cdecl*)(void),unsigned int)
	Source:  (0)
(13) section:offset 0001:0016A027 Address: 0xFB84B027 Frame: 0xB53F9120
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginNode::initializeAttributes + 0x97 bytes
	Decl: public: virtual bool TpluginNode::initializeAttributes(class TattributeList & ptr64,class TattributeList & ptr64)
	Source:  (0)
(14) section:offset 0001:001DFE80 Address: 0x10A40E80 Frame: 0xB53F9150
	Module:  C:\Program Files\Autodesk\Maya2018\bin\DependEngine.dll (-exported-)
	Location: TdependNodeClass::initializeClass + 0x30 bytes
	Decl: public: virtual bool TdependNodeClass::initializeClass(void)
	Source:  (0)
(15) section:offset 0001:001D63D3 Address: 0x10A373D3 Frame: 0xB53F91C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\DependEngine.dll (-exported-)
	Location: TdependGraph::registerNodeType + 0x1D3 bytes
	Decl: public: static unsigned int TdependGraph::registerNodeType(class TdependNodeClass * ptr64)
	Source:  (0)
(16) section:offset 0001:0016B220 Address: 0xFB84C220 Frame: 0xB53F92A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginNode::TpluginNode + 0xE40 bytes
	Decl: private: TpluginNode::TpluginNode(class Tstring const & ptr64,class TiffTag const & ptr64,enum Autodesk::Maya::OpenMaya20180000::MPxNode::Type,class Tplugin * ptr64,unsigned int,void * ptr64 (cdecl*)(class Tmetaclass * ptr64),class Tmetaclass * ptr64 * ptr64,class TdependNodeVS * ptr64,void * ptr64 (cdecl*)(void),class Autodesk::Maya::OpenMaya20180000::MStatus (cdecl*)(void),unsigned int)
	Source:  (0)
(17) section:offset 0001:001B3A83 Address: 0xFB894A83 Frame: 0xB53F9350
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: Autodesk::Maya::OpenMaya20180000::MFnPlugin::registerNode + 0x243 bytes
	Decl: public: class Autodesk::Maya::OpenMaya20180000::MStatus Autodesk::Maya::OpenMaya20180000::MFnPlugin::registerNode(class Autodesk::Maya::OpenMaya20180000::MString const & ptr64,class Autodesk::Maya::OpenMaya20180000::MTypeId const & ptr64,void * ptr64 (cdecl*)(void),class Autodesk::Maya::OpenMaya20180000::MStatus (cdecl*)(void),enum Autodesk::Maya::OpenMaya20180000::MPxNode::Type,class Autodesk::Maya::OpenMaya20180000::MString const * ptr64)
	Source:  (0)
(18) section:offset 0001:00000571 Address: 0xE6F51571 Frame: 0xB53F93F0
	Module:  Q:\resources\maya\plugins\other\2018\plug-ins\cvwrap.mll (-exported-)
	Location: initializePlugin + 0xA1 bytes
	Source:  (0)
(19) section:offset 0001:001AE967 Address: 0xFB88F967 Frame: 0xB53F9490
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: Tplugin::primaryLoad + 0x2C7 bytes
	Decl: public: int Tplugin::primaryLoad(class Tstring const & ptr64,class Tstring * ptr64)
	Source:  (0)
(20) section:offset 0001:001AE4ED Address: 0xFB88F4ED Frame: 0xB53F94C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: Tplugin::load + 0x1D bytes
	Decl: public: int Tplugin::load(class Tstring const & ptr64,class Tstring * ptr64)
	Source:  (0)
(21) section:offset 0001:00235632 Address: 0xFB916632 Frame: 0xB53F96A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginPref::~TpluginPref + 0x4742 bytes
	Decl: public: virtual TpluginPref::~TpluginPref(void)
	Source:  (0)
(22) section:offset 0001:00234BE9 Address: 0xFB915BE9 Frame: 0xB53F99C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginPref::~TpluginPref + 0x3CF9 bytes
	Decl: public: virtual TpluginPref::~TpluginPref(void)
	Source:  (0)
(23) section:offset 0001:002342BB Address: 0xFB9152BB Frame: 0xB53F99F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginPref::~TpluginPref + 0x33CB bytes
	Decl: public: virtual TpluginPref::~TpluginPref(void)
	Source:  (0)
(24) section:offset 0001:00017DE0 Address: 0x1C528DE0 Frame: 0xB53F9AD0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TmetaCommandPtrArray::catenate + 0xB10 bytes
	Decl: public: int TmetaCommandPtrArray::catenate(class TmetaCommandPtrArray const & ptr64)
	Source:  (0)
(25) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53F9B20
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(26) section:offset 0001:0006A8D1 Address: 0x1C57B8D1 Frame: 0xB53F9B50
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: melScanDouble + 0x1011 bytes
	Source:  (0)
(27) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53F9BA0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(28) section:offset 0001:0006A057 Address: 0x1C57B057 Frame: 0xB53F9BE0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: melScanDouble + 0x797 bytes
	Source:  (0)
(29) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53F9C30
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(30) section:offset 0001:0006AF44 Address: 0x1C57BF44 Frame: 0xB53FA060
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: melScanDouble + 0x1684 bytes
	Source:  (0)
(31) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53FA0B0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(32) section:offset 0001:0003E744 Address: 0x1C54F744 Frame: 0xB53FA100
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x9BE4 bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(33) section:offset 0001:00068997 Address: 0x1C579997 Frame: 0xB53FA130
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: SophiaExecutable::evaluate + 0x47 bytes
	Decl: public: union Value * ptr64 SophiaExecutable::evaluate(void * ptr64)
	Source:  (0)
(34) section:offset 0001:00020D15 Address: 0x1C531D15 Frame: 0xB53FA250
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TcommandEngine::executeCommand + 0x375 bytes
	Decl: public: int TcommandEngine::executeCommand(class Tstring const & ptr64,bool,bool,class TmelCmdResult * ptr64,unsigned int)
	Source:  (0)
(35) section:offset 0001:001D58FC Address: 0x0FFF68FC Frame: 0xB53FA2E0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: TscriptAction::execute + 0xAC bytes
	Decl: private: bool TscriptAction::execute(class Tevent const & ptr64,class TinterpreterResult * ptr64 * ptr64)
	Source:  (0)
(36) section:offset 0001:00010DB1 Address: 0x0FE31DB1 Frame: 0xB53FA330
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: Taction::performAction + 0xD1 bytes
	Decl: private: void Taction::performAction(class Tevent const & ptr64,char const * ptr64)
	Source:  (0)
(37) section:offset 0001:00010C75 Address: 0x0FE31C75 Frame: 0xB53FA3C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: Taction::doIt + 0x45 bytes
	Decl: public: void Taction::doIt(void)
	Source:  (0)
(38) section:offset 0001:001DC3F2 Address: 0x766BD3F2 Frame: 0xB53FA4E0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QMetaObject::activate + 0x592 bytes
	Decl: public: static void QMetaObject::activate(class QObject * ptr64,int,int,void * ptr64 * ptr64)
	Source:  (0)
(39) section:offset 0001:00067901 Address: 0x0FE88901 Frame: 0xB53FA530
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: QmayaCheckBox::onOffChanged + 0x51 bytes
	Decl: private: void QmayaCheckBox::onOffChanged(void)
	Source:  (0)
(40) section:offset 0001:001DC3F2 Address: 0x766BD3F2 Frame: 0xB53FA650
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QMetaObject::activate + 0x592 bytes
	Decl: public: static void QMetaObject::activate(class QObject * ptr64,int,int,void * ptr64 * ptr64)
	Source:  (0)
(41) section:offset 0001:001017B5 Address: 0x75D427B5 Frame: 0xB53FA690
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QCheckBox::nextCheckState + 0xE5 bytes
	Decl: protected: virtual void QCheckBox::nextCheckState(void)
	Source:  (0)
(42) section:offset 0001:000EE256 Address: 0x75D2F256 Frame: 0xB53FA6D0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QAbstractButton::click + 0x146 bytes
	Decl: public: void QAbstractButton::click(void)
	Source:  (0)
(43) section:offset 0001:000EF0D8 Address: 0x75D300D8 Frame: 0xB53FA700
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QAbstractButton::mouseReleaseEvent + 0x88 bytes
	Decl: protected: virtual void QAbstractButton::mouseReleaseEvent(class QMouseEvent * ptr64)
	Source:  (0)
(44) section:offset 0001:000410FA Address: 0x75C820FA Frame: 0xB53FA8D0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QWidget::event + 0xDA bytes
	Decl: protected: virtual bool QWidget::event(class QEvent * ptr64)
	Source:  (0)
(45) section:offset 0001:00017072 Address: 0x75C58072 Frame: 0xB53FA900
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplicationPrivate::notify_helper + 0x112 bytes
	Decl: public: bool QApplicationPrivate::notify_helper(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(46) section:offset 0001:00014CDE Address: 0x75C55CDE Frame: 0xB53FB020
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplication::notify + 0x89E bytes
	Decl: public: virtual bool QApplication::notify(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(47) section:offset 0001:0001CCBB Address: 0x0FE3DCBB Frame: 0xB53FB0F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: TwindowManager::windowPreferencesAreEnabled + 0x33B bytes
	Decl: public: bool TwindowManager::windowPreferencesAreEnabled(void)
	Source:  (0)
(48) section:offset 0001:001BBC19 Address: 0x7669CC19 Frame: 0xB53FB170
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QCoreApplication::notifyInternal2 + 0xB9 bytes
	Decl: private: static bool QCoreApplication::notifyInternal2(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(49) section:offset 0001:0001846D Address: 0x75C5946D Frame: 0xB53FB280
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplicationPrivate::sendMouseEvent + 0x37D bytes
	Decl: public: static bool QApplicationPrivate::sendMouseEvent(class QWidget * ptr64,class QMouseEvent * ptr64,class QWidget * ptr64,class QWidget * ptr64,class QWidget * ptr64 * ptr64,class QPointer<class QWidget> & ptr64,bool)
	Source:  (0)
(50) section:offset 0001:00069C06 Address: 0x75CAAC06 Frame: 0xB53FB410
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QSizePolicy::QSizePolicy + 0x2BA6 bytes
	Decl: public: QSizePolicy::QSizePolicy(void)
	Source:  (0)
(51) section:offset 0001:00067AC5 Address: 0x75CA8AC5 Frame: 0xB53FB470
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QSizePolicy::QSizePolicy + 0xA65 bytes
	Decl: public: QSizePolicy::QSizePolicy(void)
	Source:  (0)
(52) section:offset 0001:00017072 Address: 0x75C58072 Frame: 0xB53FB4A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplicationPrivate::notify_helper + 0x112 bytes
	Decl: public: bool QApplicationPrivate::notify_helper(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(53) section:offset 0001:00015F77 Address: 0x75C56F77 Frame: 0xB53FBBC0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplication::notify + 0x1B37 bytes
	Decl: public: virtual bool QApplication::notify(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(54) section:offset 0001:0001CCBB Address: 0x0FE3DCBB Frame: 0xB53FBC90
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: TwindowManager::windowPreferencesAreEnabled + 0x33B bytes
	Decl: public: bool TwindowManager::windowPreferencesAreEnabled(void)
	Source:  (0)
(55) section:offset 0001:001BBC19 Address: 0x7669CC19 Frame: 0xB53FBD10
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QCoreApplication::notifyInternal2 + 0xB9 bytes
	Decl: private: static bool QCoreApplication::notifyInternal2(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(56) section:offset 0001:00030904 Address: 0x0C851904 Frame: 0xB53FC1A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Gui.dll (-exported-)
	Location: QGuiApplicationPrivate::processMouseEvent + 0x7F4 bytes
	Decl: public: static void QGuiApplicationPrivate::processMouseEvent(class QWindowSystemInterfacePrivate::MouseEvent * ptr64)
	Source:  (0)
(57) section:offset 0001:0001690B Address: 0x0C83790B Frame: 0xB53FC1E0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Gui.dll (-exported-)
	Location: QWindowSystemInterface::sendWindowSystemEvents + 0x9B bytes
	Decl: public: static bool QWindowSystemInterface::sendWindowSystemEvents(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(58) section:offset 0001:00203DC5 Address: 0x766E4DC5 Frame: 0xB53FC2F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QEventDispatcherWin32::processEvents + 0xE15 bytes
	Decl: public: virtual bool QEventDispatcherWin32::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(59) section:offset 0001:0000A85D Address: 0x5C86B85D Frame: 0xB53FC460
	Module:  C:\Windows\System32\USER32.dll (-exported-)
	Location: CallWindowProcW + 0x4DD bytes
	Source:  (0)
(60) section:offset 0001:0000A1EF Address: 0x5C86B1EF Frame: 0xB53FC4E0
	Module:  C:\Windows\System32\USER32.dll (-exported-)
	Location: DispatchMessageW + 0x1AF bytes
	Source:  (0)
(61) section:offset 0001:002034F6 Address: 0x766E44F6 Frame: 0xB53FF880
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QEventDispatcherWin32::processEvents + 0x546 bytes
	Decl: public: virtual bool QEventDispatcherWin32::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(62) section:offset 0001:00057379 Address: 0xFBEE8379 Frame: 0xB53FF8B0
	Module:  C:\Program Files\Autodesk\Maya2018\qt-plugins\platforms\qwindows.dll (-exported-)
	Location: qt_plugin_query_metadata + 0x24B9 bytes
	Source:  (0)
(63) section:offset 0001:001B8343 Address: 0x76699343 Frame: 0xB53FF930
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QEventLoop::exec + 0x1B3 bytes
	Decl: public: int QEventLoop::exec(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(64) section:offset 0001:001BA9B7 Address: 0x7669B9B7 Frame: 0xB53FF9A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QCoreApplication::exec + 0x147 bytes
	Decl: public: static int QCoreApplication::exec(void)
	Source:  (0)
(65) section:offset 0001:00016FCE Address: 0x0FE37FCE Frame: 0xB53FFA90
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: Tapplication::start + 0xCE bytes
	Decl: public: void Tapplication::start(void)
	Source:  (0)
(66) section:offset 0001:00000A3A Address: 0x441E1A3A Frame: 0xB53FFC30
	Module:  C:\Program Files\Autodesk\Maya2018\bin\maya.exe (-exported-)
	Source:  (0)
(67) section:offset 0001:0002C3B4 Address: 0x4420D3B4 Frame: 0xB53FFCC0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\maya.exe (-exported-)
	Location: TiteratorWrapperBidir<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator= + 0x1CAF4 bytes
	Source:  (0)
(68) section:offset 0001:0002B32F Address: 0x4420C32F Frame: 0xB53FFD00
	Module:  C:\Program Files\Autodesk\Maya2018\bin\maya.exe (-exported-)
	Location: TiteratorWrapperBidir<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator= + 0x1BA6F bytes
	Source:  (0)
(69) section:offset 0001:00010FE4 Address: 0x5E531FE4 Frame: 0xB53FFD30
	Module:  C:\Windows\System32\KERNEL32.DLL (-exported-)
	Location: BaseThreadInitThunk + 0x14 bytes
	Source:  (0)
(70) section:offset 0001:0006E061 Address: 0x5EE5F061 Frame: 0xB53FFD80
	Module:  C:\Windows\SYSTEM32\ntdll.dll (-exported-)
	Location: RtlUserThreadStart + 0x21 bytes
	Source:  (0)
End of stack

//crash log file name = C:\Users\ALEKSA~1\AppData\Local\Temp\MayaCrashLog181126.1529.log
//version     = 18.4.0.7413
//cut            = Thu 07/19/2018, 201807191622
//current scene = unDisclosed
//command history (most recent last):
//====================================================
//last tool: renderWindowSelectContextItem
//====================================================
//panel with focus: modelPanel4
//visible panels:
// modelPanel4 outlinerPanel1 scriptEditorPanel1 
//====================================================
//Memory usage:
// 3153.629 Mb	Free Memory
// 4898.371 Mb	Free Swap
//  781.789 Mb	Current

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

@chadmv
Copy link
Owner

chadmv commented Nov 29, 2018

Try using VS 2015 update 3 which is the officially supported compiler for Maya 2018.

@alx00x
Copy link
Author

alx00x commented Nov 29, 2018

So i did that that and still got the crash.

Than I tried the plugin on a different computer, better GPU - it worked just fine - and a couple of others with different results.

  • GTX1080 - works
  • GTX1070 - works
  • GTX970 - plugin loads but maya crashes when executing the script from README.md
  • GTX660 - maya crashes on plugin load

I updated the drivers on the GPU with lowest specs, just to check if they might be the culprit, but unfortunately the plugin still crashes maya.

Any ideas why this would be happening, Chad?

Thanks in any case

@chrisdevito
Copy link

I had a similar crash on plugin load with a similar crash log about an Illegal Instruction. It seemingly only happened in the initialize function when it first tries to run the create function for any MFnNumericAttribute. The fix for me was to comment out in cvwrap/src/CMakeLists.txt:

set(COMPILE_FLAGS "/arch:AVX")

The Advanced Vector Extensions being enabled (Visual Studio Properties > C/C++ > Code Generation > Enable Enhanced Instruction Set > Set to Not Set) in the generated Visual Studio project crashed on plugin load. My processor (Intel Pentium 4415y) doesn't support it, but I had no way of knowing since Visual Studio doesn't produce any errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants