MATLAB crashes when I use any commands that make use of LAPACK. This includes SVD, CHOL, LU, EIG, and even LEGEND. Here is an code snippet that crashes MATLAB:
plot(1:10);
legend('string1', 'location', 'best');
————————————————————————
Segmentation violation detected at Fri May 08 12:25:34 2009
————————————————————————
…
Stack Trace:
[0] mllapack.dll:0x7a65eba3(0x786c945e "]éøÆ", 0x0a9bc520, 0x78d688eb, 0x00c261d9) [1] libmwmathlinalg.dll:??$mfSVD@N@@YAXHQAPAUmxArray_tag@@H0@Z(3, 0x00c26388 "ÐÓn\n În\n°Æn\n", 0x01000002 "tx ", 0x00c26200 "@Ôn\nxÅi\nHb") + 763 bytes [2] libmwmathlinalg.dll:void __cdecl mfFullSVDFcn(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(3, 0x00c26388 "ÐÓn\n În\n°Æn\n", 2, 0x00c26418) + 171 bytes [3] m_dispatcher.dll:public: virtual void __thiscall Mfh_builtin::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(3, 0x00c26388 "ÐÓn\n În\n°Æn\n", 2, 0x00c26418) + 92 bytes [4] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(3, 0x00c26388 "ÐÓn\n În\n°Æn\n", 2, 0x00c26418) + 193 bytes [5] m_interpreter.dll:private: void __thiscall accelImpl::MatfcnMxArray(void)(0x00c26f9c, 0x00c26f88 "Tr", 0, 0) + 523 bytes [6] m_interpreter.dll:public: bool __thiscall accelImpl::ExecInline(void)(0x00c26f88 "Tr", 0xffffffff, 0x0ba4dca8, 0x0c01ee48) + 248 bytes [7] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelImpl::E
Best Answer