First of all, I am aware that there is a similar question here, but I read it and it concerns a different problem. Moving on to my problem, every time I am compiling a C file which is used from a function I get the error «MATLAB encountered an internal problem and needs to close». The compiling is done successfully by «Clang» on Mavericks OS X. Here is a screenshot of the error. More details (Matlab report etc.) can be, of course, provided upon request if one needs them to resolve the error.
The files can also be provided.
asked Dec 8, 2014 at 14:28
This is an known issue. Try this:
- Identify the location where MATLAB is installed
- Navigate to the sys/os/glnxa64 directory within this installation folder
- Rename libstdc++.so.6 library to libstdc++.so.6.old
Source: from MATWORK, it works for me
answered Mar 17, 2016 at 7:41
TNgTNg
8561 gold badge9 silver badges15 bronze badges
That error is not because of the compiler. It is due to a segmentation fault once you run the MEX code. Somewhere in that code, you are accessing memory that you shouldn’t be allowed to access.
I suggest you debug your MATLAB code. Check out my post here to figure out how to debug your MEX code depending on your operating system.
Preventing a MEX file from crashing in MATLAB
answered Dec 8, 2014 at 15:07
rayryengrayryeng
103k22 gold badges183 silver badges192 bronze badges
10
Hello! I have the same internal problem. Please help me to resolve it..
«MATLAB crash file:C:Users1AppDataLocalTempmatlab_crash_dump.8512-1:
————————————————————————
Access violation detected at Tue Apr 03 16:21:49 2018
————————————————————————
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown software
Default Encoding : windows-1251
Graphics card 1 : Intel Corporation ( 0x8086 ) Mobile Intel(R) 4 Series Express Chipset Family (Microsoft Corporation — WDDM 1.1) Version 8.15.10.2702
Graphics card 2 : Intel Corporation ( 0x8086 ) Mobile Intel(R) 4 Series Express Chipset Family (Microsoft Corporation — WDDM 1.1) Version 8.15.10.2702
Host Name : 1-ПК
MATLAB Architecture : win32
MATLAB Root : C:Program FilesMATLAB2015aMATLAB Production ServerR2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : software
Operating System : Майкрософт Windows 10 Pro
Processor ID : x86 Family 6 Model 23 Stepping 10, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) Client VM mixed mode
Window System : Version 10.0 (Build 16299)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
EAX = 00000000 EBX = 00000000
ECX = 00000000 EDX = 095c8914
ESP = 00c22b84 EBP = 00c22b94
ESI = 082cb800 EDI = 0fe11930
EIP = 093c4aec EFL = 00010246
CS = 0000001b DS = 00000023 SS = 00000023
ES = 00000023 FS = 0000003b GS = 00000000
Stack Trace (from fault):
[ 0] 0x093c4aec C:Program FilesMATLAB2015aMATLAB Production ServerR2015asysjavajrewin32jrebinclientjvm.dll+00805612 JNI_GetCreatedJavaVMs+00023372
[ 1] 0x0921f99a C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32jmi.dll+00326042 mljGetArrayLength+00000026
[ 2] 0x303da683 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+00370307 PopupMenu::setUDI+00010883
[ 3] 0x303da1e0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+00369120 PopupMenu::setUDI+00009696
[ 4] 0x303d9c13 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+00367635 PopupMenu::setUDI+00008211
[ 5] 0x3048bbb0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+01096624 DAWorkspaceAdapterFactory::releaseWorkspaceAdapter+00194176
[ 6] 0x303ee17f C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+00450943 DASCreateDialog+00006911
[ 7] 0x303ed476 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+00447606 DASCreateDialog+00003574
[ 8] 0x04b10bf8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32udd.dll+00199672 UDClass::createObject+00000152
[ 9] 0x7b28ac3d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32udd_mi.dll+00371773 init__udd_mi+00007181
[ 10] 0x7b28a971 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32udd_mi.dll+00371057 init__udd_mi+00006465
[ 11] 0x09c1b99a C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+01161626 QueryMLFcnTable_mcos_impl+00762346
[ 12] 0x09c4ff48 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+01376072 QueryMLFcnTable_mcos_impl+00976792
[ 13] 0x1000ebf8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00060408 Mfh_MATLAB_fn::dispatch_fh+00000408
[ 14] 0x09b4a310 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00303888
[ 15] 0x1000e9b4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059828 Mfunction_handle::dispatch+00000692
[ 16] 0x027c4ff8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00217080 inPathNotification::function_delete_notification+00174312
[ 17] 0x027c5b6e C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00220014 inPathNotification::function_delete_notification+00177246
[ 18] 0x02843997 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00735639 MathWorks::MException::MExceptionEnvelope::GetStack+00000791
[ 19] 0x028437b0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00735152 MathWorks::MException::MExceptionEnvelope::GetStack+00000304
[ 20] 0x027c318d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00209293 inPathNotification::function_delete_notification+00166525
[ 21] 0x027c2144 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00205124 inPathNotification::function_delete_notification+00162356
[ 22] 0x02865dea C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00876010 inIs_ws_variable+00001306
[ 23] 0x1000e508 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00058632 Mfh_file::dispatch_fh_impl+00000600
[ 24] 0x1000e2ab C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00058027 Mfh_file::dispatch_fh+00000027
[ 25] 0x1000e9b4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059828 Mfunction_handle::dispatch+00000692
[ 26] 0x09b22178 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00139640
[ 27] 0x09b21f09 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00139017
[ 28] 0x09b216db C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00136923
[ 29] 0x09b1611e C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00090398
[ 30] 0x09b14d1d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00085277
[ 31] 0x09b247f6 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00149494
[ 32] 0x09ba98b8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00694456 QueryMLFcnTable_mcos_impl+00295176
[ 33] 0x09b201fd C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00131581
[ 34] 0x09b21572 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00136562
[ 35] 0x1000ebf8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00060408 Mfh_MATLAB_fn::dispatch_fh+00000408
[ 36] 0x09b4a310 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00303888
[ 37] 0x1000e9b4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059828 Mfunction_handle::dispatch+00000692
[ 38] 0x027e0a44 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00330308 inClearArrayInCurrentWS+00040420
[ 39] 0x027e0285 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00328325 inClearArrayInCurrentWS+00038437
[ 40] 0x027c1de1 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00204257 inPathNotification::function_delete_notification+00161489
[ 41] 0x02991bf9 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+02104313 inPathNotification::function_rebind_notification+00264745
[ 42] 0x027c2338 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00205624 inPathNotification::function_delete_notification+00162856
[ 43] 0x027ca7ae C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00239534 inPathNotification::function_delete_notification+00196766
[ 44] 0x027c5a3b C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00219707 inPathNotification::function_delete_notification+00176939
[ 45] 0x02843997 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00735639 MathWorks::MException::MExceptionEnvelope::GetStack+00000791
[ 46] 0x028437b0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00735152 MathWorks::MException::MExceptionEnvelope::GetStack+00000304
[ 47] 0x027c318d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00209293 inPathNotification::function_delete_notification+00166525
[ 48] 0x027c2144 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00205124 inPathNotification::function_delete_notification+00162356
[ 49] 0x02865dea C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00876010 inIs_ws_variable+00001306
[ 50] 0x1000e508 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00058632 Mfh_file::dispatch_fh_impl+00000600
[ 51] 0x1000e2ab C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00058027 Mfh_file::dispatch_fh+00000027
[ 52] 0x1000e9b4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059828 Mfunction_handle::dispatch+00000692
[ 53] 0x09b22178 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00139640
[ 54] 0x09b15e25 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00089637
[ 55] 0x09b14d1d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00085277
[ 56] 0x09b0e9d0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00059856
[ 57] 0x09b13816 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00079894
[ 58] 0x027d51f0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00283120 _constructor_lm_m+00022416
[ 59] 0x027d4d95 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00282005 _constructor_lm_m+00021301
[ 60] 0x1000ee58 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00061016 mdLogging::log_function_exit+00000104
[ 61] 0x1000e8a8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059560 Mfunction_handle::dispatch+00000424
[ 62] 0x027c4ff8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00217080 inPathNotification::function_delete_notification+00174312
[ 63] 0x027c5b6e C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00220014 inPathNotification::function_delete_notification+00177246
[ 64] 0x02843997 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00735639 MathWorks::MException::MExceptionEnvelope::GetStack+00000791
[ 65] 0x028437b0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00735152 MathWorks::MException::MExceptionEnvelope::GetStack+00000304
[ 66] 0x027c318d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00209293 inPathNotification::function_delete_notification+00166525
[ 67] 0x027c2144 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00205124 inPathNotification::function_delete_notification+00162356
[ 68] 0x02865dea C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00876010 inIs_ws_variable+00001306
[ 69] 0x1000e508 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00058632 Mfh_file::dispatch_fh_impl+00000600
[ 70] 0x1000e2ab C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00058027 Mfh_file::dispatch_fh+00000027
[ 71] 0x1000e9b4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059828 Mfunction_handle::dispatch+00000692
[ 72] 0x09b22178 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00139640
[ 73] 0x09b15e25 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00089637
[ 74] 0x09b14d1d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00085277
[ 75] 0x09b4e759 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00321369
[ 76] 0x09b4e69a C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00321178
[ 77] 0x09b4e624 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00321060
[ 78] 0x00de4396 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos.dll+00017302 omCallMethod+00000038
[ 79] 0x3de423e7 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_diagnostic_mi.dll+00140263 sl_diagnostic_mi::utils::GeneralUtil::dispatchMsgToM+00003735
[ 80] 0x36528894 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_diagnostic_ui.dll+00034964 QueryMLFcnTable_sl_diagnostic_ui+00014580
[ 81] 0x6e3dc0c7 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_messaging.dll+00049351 sl_messaging::interception::MVInterceptor::intercept+00000279
[ 82] 0x6e3fd058 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_messaging.dll+00184408 sl_messaging::utils::Defines::NAGCTLR_AS_CALLER+00003192
[ 83] 0x6e3f67be C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_messaging.dll+00157630 sl_messaging::intf::SimulinkOutput::internalModelRename+00000190
[ 84] 0x6e45fba0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00064416 slmsgmgr::message_manager::MessageSinkUC::operator=+00000368
[ 85] 0x6e460c1e C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00068638 slmsgmgr::message_manager::MessageManagerUC::getSink+00000574
[ 86] 0x6e464a2b C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00084523 slmsgmgr::message_manager::MessageRecordUC::getWideCharRecord+00011611
[ 87] 0x6e462672 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00075378 slmsgmgr::message_manager::MessageRecordUC::getWideCharRecord+00002466
[ 88] 0x6e462f1a C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00077594 slmsgmgr::message_manager::MessageRecordUC::getWideCharRecord+00004682
[ 89] 0x6e466552 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00091474 slmsgmgr::message_manager::MessageRecordUC::getWideCharRecord+00018562
[ 90] 0x0335a6c0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32boost_log-vc110-mt-1_49.dll+00042688 boost::log2_mt_nt5::basic_core<char>::push_record+00000320
[ 91] 0x6e45d0ed C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00053485 slmsgmgr::message_manager::MessageRecord<wchar_t>::operator=+00020061
[ 92] 0x6e460d86 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32message_manager.dll+00068998 slmsgmgr::message_manager::MessageManagerUC::pushRecord+00000022
[ 93] 0x6e3fde8e C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_messaging.dll+00188046 sl_messaging::utils::Defines::NAGCTLR_AS_CALLER+00006830
[ 94] 0x6e3f29a7 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_messaging.dll+00141735 sl_messaging::intf::SimulinkMessagingUtil::startStage+00000695
[ 95] 0x6e3f1fba C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_messaging.dll+00139194 sl_messaging::intf::SimulinkEventNotifier::notifyEventBegin+00000522
[ 96] 0x69bd1162 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32libmwsimulink.dll+00201058 ExitPauseInDebuggerMenuSim+00001874
[ 97] 0x6a2a0928 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32libmwsimulink.dll+07342376 SLGlue::simulationStartPauseContinue+00000232
[ 98] 0x63245bcf C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_editor.dll+00220111 Simulink::SLCommonDomain::simulationStartPauseContinue+00000015
[ 99] 0x629f5376 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_mi.dll+00086902 SLM3I::mi::initCosSFBlockOpenNotification+00027910
[100] 0x629f48ac C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_mi.dll+00084140 SLM3I::mi::initCosSFBlockOpenNotification+00025148
[101] 0x629e517a C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32sl_mi.dll+00020858
[102] 0x09b0a944 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00043332
[103] 0x09b15fa4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00090020
[104] 0x09b14d1d C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00085277
[105] 0x09b0e9d0 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00059856
[106] 0x09b13816 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00079894
[107] 0x09b12667 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00075367
[108] 0x1000ebf8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00060408 Mfh_MATLAB_fn::dispatch_fh+00000408
[109] 0x09b4a310 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32mcos_impl.dll+00303888
[110] 0x1000e9b4 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059828 Mfunction_handle::dispatch+00000692
[111] 0x1000e12e C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00057646 mdSetCurrentIntFcnIndexProtected::~mdSetCurrentIntFcnIndexProtected+00001918
[112] 0x7ddc3221 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32libmx.dll+00406049 matrix::detail::noninlined::mx_array_api::mxFevalFunctionHandle+00000033
[113] 0x028668bf C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00878783 inFullFevalFcn+00000127
[114] 0x1000ee58 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00061016 mdLogging::log_function_exit+00000104
[115] 0x1000e8a8 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_dispatcher.dll+00059560 Mfunction_handle::dispatch+00000424
[116] 0x028443e3 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00738275 inCallFcn+00000131
[117] 0x02844381 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00738177 inCallFcn+00000033
[118] 0x02844328 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00738088 inCallFcnWithTrap+00000136
[119] 0x028442c3 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32m_interpreter.dll+00737987 inCallFcnWithTrap+00000035
[120] 0x3059bcc9 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+02211017 SafeCallMatlab+00000153
[121] 0x3059253f C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+02172223 ActionSchema::invokeCallback+00000095
[122] 0x30599772 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+02201458 DigCallbackInvoker::invokeUDI+00000162
[123] 0x305996ab C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+02201259 DigDefaultCallbackInvoker::invoke+00000043
[124] 0x3062b7ad C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32dastudio.dll+02799533 DeferredManager::get_instance+00000125
[125] 0x7b7216ab C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32uiw.dll+00464555 UIW_AttachThreadInput+00000843
[126] 0x7b7210e7 C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32uiw.dll+00463079 wsd_to_MSW+00004039
[127] 0x7b72119b C:Program FilesMATLAB2015aMATLAB Production ServerR2015abinwin32uiw.dll+00463259 wsd_to_MSW+00004219
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.»
Я недавно обновился до 15.04, и сразу после этого Matlab 2012b больше не работал и зависал либо при загрузке программы, либо через несколько секунд после того, как я пытался что-то сделать. Я попытался установить более новую версию Matlab, 2013a, но проблема остается.
Я видел одну или две другие публикации, похожие , но они, похоже, связаны с Java, и я не думаю, что это так для меня (я могу ошибаться!), И Я не совсем уверен, как найти конкретную проблему из сообщения об ошибке.
Сообщение об ошибке гласит MATLAB has encountered an internal problem and needs to close.
, и вот подробности сообщения:
MATLAB crash file:/home/james/matlab_crash_dump.10850-1:
------------------------------------------------------------------------
Segmentation violation detected at Sun Aug 30 22:37:24 2015
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Current Visual : 0x20 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.21 stable
MATLAB Architecture: glnxa64
MATLAB Root : /usr/local/MATLAB/R2013a
MATLAB Version : 8.1.0.604 (R2013a)
Operating System : Linux 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64
Processor ID : x86 Family 6 Model 23 Stepping 6, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11701000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007f2cde2cb9b0 RBX = 00007f2ccc09cb20
RCX = 00007f2cda656da0 RDX = 00000000fffffffd
RSP = 00007f2cda656d40 RBP = 00007f2ccc03ed80
RSI = 00007f2ccc09cb20 RDI = 00007f2c00000000
R8 = 00007f2ccc075108 R9 = 00007f2cde83f2a0
R10 = 00007f2cde83f300 R11 = 000000000000000b
R12 = 00000000fffffffd R13 = 00007f2ccc02b1d0
R14 = 00007f2cda656da0 R15 = 0000000000000004
RIP = 00007f2cec0d1c84 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f2cec0d1c84 /lib/x86_64-linux-gnu/libpthread.so.0+00040068 pthread_mutex_lock+00000004
[ 1] 0x00007f2cde2bbbc1 /usr/lib/x86_64-linux-gnu/libX11.so.6+00109505 XFindContext+00000097
[ 2] 0x00007f2cdebbc388 /usr/local/MATLAB/R2013a/bin/glnxa64/../../sys/os/glnxa64/libXm.so.3+01483656 _XmGetWidgetExtData+00000056
[ 3] 0x00007f2cdebb546b /usr/local/MATLAB/R2013a/bin/glnxa64/../../sys/os/glnxa64/libXm.so.3+01455211 _XmGetFocusPolicy+00000059
[ 4] 0x00007f2cdebb65bd /usr/local/MATLAB/R2013a/bin/glnxa64/../../sys/os/glnxa64/libXm.so.3+01459645 _XmManagerFocusOut+00000061
[ 5] 0x00007f2cde6213ae /usr/lib/x86_64-linux-gnu/libXt.so.6+00291758
[ 6] 0x00007f2cde6217f4 /usr/lib/x86_64-linux-gnu/libXt.so.6+00292852
[ 7] 0x00007f2cde622620 /usr/lib/x86_64-linux-gnu/libXt.so.6+00296480 _XtTranslateEvent+00001568
[ 8] 0x00007f2cde5fbc9b /usr/lib/x86_64-linux-gnu/libXt.so.6+00138395 XtDispatchEventToWidget+00001115
[ 9] 0x00007f2cde5fcaf2 /usr/lib/x86_64-linux-gnu/libXt.so.6+00142066 _XtSendFocusEvent+00000210
[ 10] 0x00007f2cde5fbc4b /usr/lib/x86_64-linux-gnu/libXt.so.6+00138315 XtDispatchEventToWidget+00001035
[ 11] 0x00007f2cde5fc348 /usr/lib/x86_64-linux-gnu/libXt.so.6+00140104
[ 12] 0x00007f2cde5fc499 /usr/lib/x86_64-linux-gnu/libXt.so.6+00140441 XtDispatchEvent+00000201
[ 13] 0x00007f2cde6079be /usr/lib/x86_64-linux-gnu/libXt.so.6+00186814 XtAppProcessEvent+00000734
[ 14] 0x00007f2ce1ad34d3 /usr/local/MATLAB/R2013a/bin/glnxa64/libmwuix.so+00480467
[ 15] 0x00007f2ce1ae0df2 /usr/local/MATLAB/R2013a/bin/glnxa64/libmwuix.so+00536050
[ 16] 0x00007f2cee639862 /usr/local/MATLAB/R2013a/bin/glnxa64/libmwservices.so+01845346
[ 17] 0x00007f2cee63a50f /usr/local/MATLAB/R2013a/bin/glnxa64/libmwservices.so+01848591 _Z25svWS_ProcessPendingEventsiib+00001615
[ 18] 0x00007f2cedf4f5ef /usr/local/MATLAB/R2013a/bin/glnxa64/libmwmcr.so+00316911
[ 19] 0x00007f2cedf4ff5c /usr/local/MATLAB/R2013a/bin/glnxa64/libmwmcr.so+00319324
[ 20] 0x00007f2cedf49592 /usr/local/MATLAB/R2013a/bin/glnxa64/libmwmcr.so+00292242
[ 21] 0x00007f2cec0cf6aa /lib/x86_64-linux-gnu/libpthread.so.0+00030378
[ 22] 0x00007f2cebe04eed /lib/x86_64-linux-gnu/libc.so.6+01076973 clone+00000109
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
И идеи относительно того, что может быть причиной этой ошибки? Я попытался установить пакет поддержки matlab из apt-get, но, похоже, это не помогло.
——————————— ОБНОВЛЕНИЕ ————— ———- У меня была еще одна проблема, и я обнаружил, что Matlab теперь работает, когда я использую sudo
и запускаю из терминала. Это довольно странно, поскольку мне не приходилось использовать sudo
до обновления 15.04.
Я пытался это исправить, изменив choh в каталоге установки matlab и .matlab
на мое имя пользователя, но не повезло. Похоже, что обновление до 15.04 привело к ошибке разрешений.
Есть идеи, как мне это решить? Необходимость использовать sudo
для каждого запуска означает, что я не могу использовать .desktop
пусковые установки для Matlab, что делает вещи неудобными … какие-либо идеи?
Ссылка
1 ответ
Это наиболее вероятно, ошибка описала здесь , то есть, несовместимость между stdlibc ++ версии.
Обходное решение, от MathWorks поддерживают поток, связанный выше:
Определяют местоположение, где MATLAB установлен
, Перешли к sys/os/glnxa64 каталогу в этой папке установки
, Переименовывают libstdc ++. таким образом 6, библиотека к libstdc ++. таким образом 6.old
Это работало на меня, по крайней мере.
ответ дан Code Pope
17.04.2019, 17:43
Ссылка
Теги
Похожие вопросы
I have recently installed Matlab R2015a on Ubuntu 15.10, however when I open the program I consistently get this error. I have copy’d and pasted the details below. I think the fault is coming from:
Stack Trace (from fault):
[ 0] 0x00007f58a634c4b0 /usr/local/MATLAB/R2015a/bin/glnxa64/libQtCore.so.4+00550064
But I am not positive. I am new to Ubuntu and am wondering if anyone else has encountered this problem and knows how to fix it.
MATLAB crash file:/home/mike/matlab_crash_dump.14223-1:
------------------------------------------------------------------------
Segmentation violation detected at Sat Apr 9 19:16:31 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : 0x42 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.21 stable
Host Name : EKIM
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : hardware
Operating System : Linux 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64
Processor ID : x86 Family 6 Model 78 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11702000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007f58a1e64c80 RBX = 0000000000000000
RCX = 0000000000000001 RDX = 0000000000000000
RSP = 00007f5945446468 RBP = 00007f58bbb14e90
RSI = 00007f5940003b40 RDI = 00007f58a1e64c80
R8 = 0000000000000000 R9 = 0000000000000001
R10 = 0000000000000001 R11 = 00007f5938000078
R12 = 00007f58bbb0b9f0 R13 = 00000000012017a0
R14 = 00007f58bba8fcc0 R15 = 0000000000000000
RIP = 00007f58a634c4b0 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f58a634c4b0 /usr/local/MATLAB/R2015a/bin/glnxa64/libQtCore.so.4+00550064
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
This is a generic error message indicating that there was an exception or problem within MATLAB that caused it to crash. This is a generic error message, and there are many possible reasons for MATLAB to crash.
Here are common troubleshooting steps you can attempt before contacting Mathworks support.
Why will MATLAB not start up properly on my windows based system?
https://www.mathworks.com/matlabcentral/answers/97167
Locate the MATLAB crash log or crash dump file
, which may shed light on what caused the crash. The crash log/dump files can be read with a text editor such as Notepad, vi, or nano. Details on how to locate the crash log/dump file are available here:
How do I locate the crash dump files generated by MATLAB?
http://www.mathworks.com/matlabcentral/answers/100816
If you are unable to determine the cause of the crash based on the information in the crash log, please contact MathWorks support for assistance. You may be asked to provide the crash dump files along with details of what operation you were performing in MATLAB at the time of the crash.
When contacting support, you can call our support team for your region, or submit a support request through your MathWorks account at MathWorks.com. When submitting through MathWorks.com, please attach the crash dump file when submitting the support case.
MathWorks Support information is available here: