matlab has encountered an internal problem and needs to close

13 views (last 30 days)
When I do the joint simulation of amesim and Simulink, I have the following problem when opening MATLAB. Opening matlab normally does not have this problem.
MATLAB crash file:C:\Users\xc\AppData\Local\Temp\matlab_crash_dump.21204-1:
------------------------------------------------------------------------
Access violation detected at Thu May 25 17:21:46 2023
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Default Encoding : GBK
Host Name : LAPTOP-K4FG4B8J
MATLAB Architecture : win64
MATLAB Root : E:\matlab2016
MATLAB Version : 9.0.0.341360 (R2016a)
Operating System : Microsoft Windows 11 家庭中文版
Processor ID : x86 Family 6 Model 158 Stepping 10, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 10.0 (Build 22000)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 0000000038f5ff70 RBX = 0000000000000000
RCX = 00000000f1fb4268 RDX = 0000000000000000
RSP = 00000000043fa0c0 RBP = 00000000043fa230
RSI = 000000001d757f60 RDI = 0000000000000000
R8 = 0000000000000000 R9 = 0000000038f5ff70
R10 = 0000000000000540 R11 = f7fffefff6debfff
R12 = 00000000043fa8f0 R13 = 00000000043fa9b0
R14 = 00000000f1fa4968 R15 = 0000000000000000
RIP = 00000000f1e70767 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00000000f1e70767 E:\matlab2016\bin\win64\sl_graphical_classes.dll+01902439 SLRootBlockPlatformInfo::setTargetMapInfo+00018519
[ 1] 0x00000000f1db926c E:\matlab2016\bin\win64\sl_graphical_classes.dll+01151596 MLInitialize_sl_graphical_classes+00000044
[ 2] 0x0000000015e1ad21 E:\matlab2016\bin\win64\m_dispatcher.dll+00109857 QueryMLFcnTable_m_dispatcher+00007117
[ 3] 0x0000000015e1c004 E:\matlab2016\bin\win64\m_dispatcher.dll+00114692 Mlm_MATLAB_fn::try_load+00000048
[ 4] 0x0000000015e1c1b4 E:\matlab2016\bin\win64\m_dispatcher.dll+00115124 Mlm_MATLAB_fn::load+00000052
[ 5] 0x0000000015e1100e E:\matlab2016\bin\win64\m_dispatcher.dll+00069646 Mdispatcher::create_fh_MATLAB_fn+00000366
[ 6] 0x0000000015e087af E:\matlab2016\bin\win64\m_dispatcher.dll+00034735 mdSearch::mdSearch+00007327
[ 7] 0x0000000015e08b58 E:\matlab2016\bin\win64\m_dispatcher.dll+00035672 mdSearch::mdSearch+00008264
[ 8] 0x0000000015e09282 E:\matlab2016\bin\win64\m_dispatcher.dll+00037506 mdSearch::mdSearch+00010098
[ 9] 0x0000000015e0e7fb E:\matlab2016\bin\win64\m_dispatcher.dll+00059387 Mdispatcher::build_singleton+00000123
[ 10] 0x0000000015e11bbe E:\matlab2016\bin\win64\m_dispatcher.dll+00072638 Mdispatcher::set_Constructor+00001946
[ 11] 0x0000000016642988 E:\matlab2016\bin\win64\m_lxe.dll+00338312
[ 12] 0x00000000167ee7fb E:\matlab2016\bin\win64\m_lxe.dll+02091003 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,ir::IrTree> >::get_instance+00709195
[ 13] 0x00000000166c24fb E:\matlab2016\bin\win64\m_lxe.dll+00861435 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00061559
[ 14] 0x00000000166c0274 E:\matlab2016\bin\win64\m_lxe.dll+00852596 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00052720
[ 15] 0x00000000166c4c0c E:\matlab2016\bin\win64\m_lxe.dll+00871436 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00071560
[ 16] 0x00000000166c6237 E:\matlab2016\bin\win64\m_lxe.dll+00877111 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00077235
[ 17] 0x00000000166c6c05 E:\matlab2016\bin\win64\m_lxe.dll+00879621 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00079745
[ 18] 0x00000000166c642f E:\matlab2016\bin\win64\m_lxe.dll+00877615 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00077739
[ 19] 0x00000000166c613a E:\matlab2016\bin\win64\m_lxe.dll+00876858 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00076982
[ 20] 0x00000000166bde5b E:\matlab2016\bin\win64\m_lxe.dll+00843355 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00043479
[ 21] 0x00000000166bbd27 E:\matlab2016\bin\win64\m_lxe.dll+00834855 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00034979
[ 22] 0x00000000166bb1c2 E:\matlab2016\bin\win64\m_lxe.dll+00831938 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00032062
[ 23] 0x000000001660ee82 E:\matlab2016\bin\win64\m_lxe.dll+00126594
[ 24] 0x000000001660f107 E:\matlab2016\bin\win64\m_lxe.dll+00127239
[ 25] 0x0000000015e15e95 E:\matlab2016\bin\win64\m_dispatcher.dll+00089749 Mfh_file::dispatch_fh_impl+00000901
[ 26] 0x0000000015e15f0e E:\matlab2016\bin\win64\m_dispatcher.dll+00089870 Mfh_file::dispatch_fh+00000062
[ 27] 0x0000000015e13e15 E:\matlab2016\bin\win64\m_dispatcher.dll+00081429 Mfunction_handle::dispatch+00000933
[ 28] 0x0000000016642033 E:\matlab2016\bin\win64\m_lxe.dll+00335923
[ 29] 0x00000000167e8114 E:\matlab2016\bin\win64\m_lxe.dll+02064660 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,ir::IrTree> >::get_instance+00682852
[ 30] 0x00000000166c428f E:\matlab2016\bin\win64\m_lxe.dll+00869007 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00069131
[ 31] 0x00000000166c4ef6 E:\matlab2016\bin\win64\m_lxe.dll+00872182 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00072306
[ 32] 0x00000000166c6237 E:\matlab2016\bin\win64\m_lxe.dll+00877111 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00077235
[ 33] 0x00000000166c6c05 E:\matlab2016\bin\win64\m_lxe.dll+00879621 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00079745
[ 34] 0x00000000166c642f E:\matlab2016\bin\win64\m_lxe.dll+00877615 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00077739
[ 35] 0x00000000166c613a E:\matlab2016\bin\win64\m_lxe.dll+00876858 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00076982
[ 36] 0x00000000166bde5b E:\matlab2016\bin\win64\m_lxe.dll+00843355 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00043479
[ 37] 0x00000000166bbd27 E:\matlab2016\bin\win64\m_lxe.dll+00834855 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00034979
[ 38] 0x00000000166bb1c2 E:\matlab2016\bin\win64\m_lxe.dll+00831938 boost::serialization::singleton<boost::archive::detail::pointer_iserializer<boost::archive::binaryTerm_iarchive,ir::IrTree> >::get_instance+00032062
[ 39] 0x0000000016649d47 E:\matlab2016\bin\win64\m_lxe.dll+00367943
[ 40] 0x0000000016649681 E:\matlab2016\bin\win64\m_lxe.dll+00366209
[ 41] 0x0000000016649810 E:\matlab2016\bin\win64\m_lxe.dll+00366608
[ 42] 0x00000000167fd381 E:\matlab2016\bin\win64\m_lxe.dll+02151297 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,ir::IrTree> >::get_instance+00769489
[ 43] 0x00000000167fd31e E:\matlab2016\bin\win64\m_lxe.dll+02151198 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,ir::IrTree> >::get_instance+00769390
[ 44] 0x000000001661dad1 E:\matlab2016\bin\win64\m_lxe.dll+00187089
[ 45] 0x0000000015a2f73a E:\matlab2016\bin\win64\mcr.dll+00325434 mcr::runtime::jmi_proxy::setJmiInitOptions+00004922
[ 46] 0x0000000015a66919 E:\matlab2016\bin\win64\mcr.dll+00551193 mnRunPathDependentInitialization+00000041
[ 47] 0x0000000015a45d70 E:\matlab2016\bin\win64\mcr.dll+00417136 mcrInstance::init_on_interpreter_thread+00001120
[ 48] 0x0000000015a415b7 E:\matlab2016\bin\win64\mcr.dll+00398775 mcrInstance::detach_on_interpreter_thread+00001079
[ 49] 0x0000000015a41853 E:\matlab2016\bin\win64\mcr.dll+00399443 mcrInstance::detach_on_interpreter_thread+00001747
[ 50] 0x0000000015a192d1 E:\matlab2016\bin\win64\mcr.dll+00234193 mcr::runtime::setInterpreterThreadToCurrent+00023793
[ 51] 0x00000000fd01ea57 E:\matlab2016\bin\win64\iqm.dll+00584279 iqm::UserEvalPlugin::pre+00030535
[ 52] 0x00000000fd02b3ac E:\matlab2016\bin\win64\iqm.dll+00635820 iqm::UserEvalPlugin::pre+00082076
[ 53] 0x00000000fd018bf0 E:\matlab2016\bin\win64\iqm.dll+00560112 iqm::UserEvalPlugin::pre+00006368
[ 54] 0x00000000fd02ddaa E:\matlab2016\bin\win64\iqm.dll+00646570 iqm::UserEvalPlugin::pre+00092826
[ 55] 0x00000000fcffbd07 E:\matlab2016\bin\win64\iqm.dll+00441607 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727
[ 56] 0x00000000fcffc35f E:\matlab2016\bin\win64\iqm.dll+00443231 iqm::PackagedTaskPlugin::execute+00000575
[ 57] 0x00000000fcffbd79 E:\matlab2016\bin\win64\iqm.dll+00441721 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841
[ 58] 0x00000000fcffc1d4 E:\matlab2016\bin\win64\iqm.dll+00442836 iqm::PackagedTaskPlugin::execute+00000180
[ 59] 0x0000000015a2b4a5 E:\matlab2016\bin\win64\mcr.dll+00308389 mcrRegisterExternalFunction+00024629
[ 60] 0x00000000fcfd62ea E:\matlab2016\bin\win64\iqm.dll+00287466 iqm::Iqm::setupIqmFcnPtrs+00069674
[ 61] 0x00000000fcfd61d7 E:\matlab2016\bin\win64\iqm.dll+00287191 iqm::Iqm::setupIqmFcnPtrs+00069399
[ 62] 0x00000000fcfbbae1 E:\matlab2016\bin\win64\iqm.dll+00178913 iqm::Iqm::deliver+00003409
[ 63] 0x00000000fcfbc9df E:\matlab2016\bin\win64\iqm.dll+00182751 iqm::Iqm::deliver+00007247
[ 64] 0x00000001001a14d3 E:\matlab2016\bin\win64\libmwservices.dll+01774803 services::system_events::PpeDispatchHook::dispatchOne+00031459
[ 65] 0x00000001001ae933 E:\matlab2016\bin\win64\libmwservices.dll+01829171 sysq::addProcessPendingEventsUnitTestHook+00005491
[ 66] 0x00000001001aeb10 E:\matlab2016\bin\win64\libmwservices.dll+01829648 sysq::addProcessPendingEventsUnitTestHook+00005968
[ 67] 0x00000001001b0665 E:\matlab2016\bin\win64\libmwservices.dll+01836645 sysq::getCondition+00003813
[ 68] 0x00000001001b2422 E:\matlab2016\bin\win64\libmwservices.dll+01844258 svWS_ProcessPendingEvents+00000162
[ 69] 0x0000000015a19d0d E:\matlab2016\bin\win64\mcr.dll+00236813 mcr::runtime::setInterpreterThreadToCurrent+00026413
[ 70] 0x0000000015a1a3fa E:\matlab2016\bin\win64\mcr.dll+00238586 mcr::runtime::setInterpreterThreadToCurrent+00028186
[ 71] 0x0000000015a11a05 E:\matlab2016\bin\win64\mcr.dll+00203269 mcr_process_events+00008629
[ 72] 0x0000000015a13462 E:\matlab2016\bin\win64\mcr.dll+00210018 mcr_process_events+00015378
[ 73] 0x0000000011cd93be E:\matlab2016\bin\win64\MVMLocal.dll+00234430 mvm_server::inproc::LocalFactory::terminate+00071182
[ 74] 0x00000000fa93cd89 E:\matlab2016\bin\win64\mvm.dll+01101193 mvm::detail::initLocalMvmHack+00000521
[ 75] 0x00000000fa93d355 E:\matlab2016\bin\win64\mvm.dll+01102677 mvm::detail::SessionImpl::privateSession+00000373
[ 76] 0x00000000fa93d561 E:\matlab2016\bin\win64\mvm.dll+01103201 mvm::detail::SessionImpl::privateSession+00000897
[ 77] 0x0000000140006fd5 E:\matlab2016\bin\win64\MATLAB.exe+00028629
[ 78] 0x0000000140007661 E:\matlab2016\bin\win64\MATLAB.exe+00030305
[ 79] 0x00007ffc65ae55a0 C:\WINDOWS\System32\KERNEL32.DLL+00087456 BaseThreadInitThunk+00000016
[ 80] 0x00007ffc6720485b C:\WINDOWS\SYSTEM32\ntdll.dll+00018523 RtlUserThreadStart+00000043
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.

Answers (1)

Rajanya
Rajanya on 17 Mar 2025
Hi @pb,
I had encountered a similar crash in MATLAB R2016a which got resolved when I upgraded the version. Hence, my suggestion would be to upgrade to any later MATLAB version to avoid this crash.
Thanks.

Categories

Find more on Manage Products in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!