Matlab 2021b quit when starting Simulink

26 views (last 30 days)
I installed and reinstalled Matlab 2021b three times, but still encounter crash when starting Simulink.
Crash log as follows:
--------------------------------------------------------------------------------
Access violation detected at 2021-11-05 09:58:32 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Microsoft Corporation GDI Generic Version 1.1.0
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce GT 710 Version 27.21.14.5671 (2020-9-30)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 5964437
MATLAB Root : F:\Program Files\MATLAB\R2021b
MATLAB Version : 9.11.0.1769968 (R2021b)
OpenGL : software
Operating System : Microsoft Windows 10 Pro
Process ID : 12640
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Session Key : 8f95a3a8-6bba-4633-88cd-35b686c763fc
Window System : Version 10.0 (Build 19043)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 30032
Register State (from fault):
RAX = 0000000000000000 RBX = 000000f8b74e7e80
RCX = 000000f8b74e7e50 RDX = 0000000000000000
RSP = 000000f8b74e7dd0 RBP = 000000f8b74e7e30
RSI = 000000f8b74e7ec0 RDI = 0000023a2fd84820
R8 = 0000023a459c9bd8 R9 = 0000023a4a92b930
R10 = 0000023a4a18a9a8 R11 = 000000f8b74e7c20
R12 = 0000023a54da9358 R13 = 0000023a54da9378
R14 = 0000000000000000 R15 = 0000000000000010
RIP = 00007ffc0e0758fa EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffc0e0758fa bin\win64\pgo\libmwlxeutilities.dll+00022778 MathWorks::lxe::CreateSharedDataCopy+00000010
[ 1] 0x00007ffc0e1463bf bin\win64\pgo\libmwlxeindexing.dll+00615359 MathWorks::lxe::rparen_mcos_scalar_subscripts_reference+00020775
[ 2] 0x00007ffc0e0df298 bin\win64\pgo\libmwlxeindexing.dll+00193176 MathWorks::lxe::IsSetEnabledDefault+00041324
[ 3] 0x00007ffc0e0c258f bin\win64\pgo\libmwlxeindexing.dll+00075151 MathWorks::lxe::IIndexingContext::FindOverloadedSubsrefWithoutValidation+00001579
[ 4] 0x00007ffc0e0c255f bin\win64\pgo\libmwlxeindexing.dll+00075103 MathWorks::lxe::IIndexingContext::FindOverloadedSubsrefWithoutValidation+00001531
[ 5] 0x00007ffc0e0c264c bin\win64\pgo\libmwlxeindexing.dll+00075340 MathWorks::lxe::IIndexingContext::FindOverloadedSubsrefWithoutValidation+00001768
[ 6] 0x00007ffc0e0b66a7 bin\win64\pgo\libmwlxeindexing.dll+00026279 MathWorks::lxe::at_rdot_list+00000291
[ 7] 0x00007ffc0e0b65c1 bin\win64\pgo\libmwlxeindexing.dll+00026049 MathWorks::lxe::at_rdot_list+00000061
[ 8] 0x00007ffc10c9d26b bin\win64\m_lxe.dll+08966763 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00553243
[ 9] 0x00007ffc10ca7cf1 bin\win64\m_lxe.dll+09010417 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00596897
[ 10] 0x00007ffc10689be3 bin\win64\m_lxe.dll+02595811 MathWorks::lxe::FeatureLxeTrace+02216835
[ 11] 0x00007ffc1068df2a bin\win64\m_lxe.dll+02613034 MathWorks::lxe::FeatureLxeTrace+02234058
[ 12] 0x00007ffc1068b4f3 bin\win64\m_lxe.dll+02602227 MathWorks::lxe::FeatureLxeTrace+02223251
[ 13] 0x00007ffc1067f615 bin\win64\m_lxe.dll+02553365 MathWorks::lxe::FeatureLxeTrace+02174389
[ 14] 0x00007ffc1067f8b0 bin\win64\m_lxe.dll+02554032 MathWorks::lxe::FeatureLxeTrace+02175056
[ 15] 0x00007ffc1068ecc6 bin\win64\m_lxe.dll+02616518 MathWorks::lxe::FeatureLxeTrace+02237542
[ 16] 0x00007ffc1068ad56 bin\win64\m_lxe.dll+02600278 MathWorks::lxe::FeatureLxeTrace+02221302
[ 17] 0x00007ffc1075416d bin\win64\m_lxe.dll+03424621 MathWorks::lxe::FeatureLxeTrace+03045645
[ 18] 0x00007ffc10757ea8 bin\win64\m_lxe.dll+03440296 MathWorks::lxe::FeatureLxeTrace+03061320
[ 19] 0x00007ffc10b8d411 bin\win64\m_lxe.dll+07853073 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00371889
[ 20] 0x00007ffc10c339c6 bin\win64\m_lxe.dll+08534470 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120950
[ 21] 0x00007ffc10c3368d bin\win64\m_lxe.dll+08533645 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120125
[ 22] 0x00007ffc10c36232 bin\win64\m_lxe.dll+08544818 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00131298
[ 23] 0x00007ffc133b2ac0 bin\win64\pgo\m_dispatcher.dll+00076480 mdWhichInfo::find+00000780
[ 24] 0x00007ffc133b3fc1 bin\win64\pgo\m_dispatcher.dll+00081857 Mfh_file::dispatch+00000045
[ 25] 0x00007ffc021cdc96 bin\win64\pgo\mcos_impl.dll+00384150 mdIsA+00067118
[ 26] 0x00007ffc021d1fb4 bin\win64\pgo\mcos_impl.dll+00401332 mdIsA+00084300
[ 27] 0x00007ffc021c992d bin\win64\pgo\mcos_impl.dll+00366893 mdIsA+00049861
[ 28] 0x00007ffc021c9390 bin\win64\pgo\mcos_impl.dll+00365456 mdIsA+00048424
[ 29] 0x00007ffc0221283f bin\win64\pgo\mcos_impl.dll+00665663 mdMethodListAllFcn+00086775
[ 30] 0x00007ffc02413edb bin\win64\pgo\mcos_impl.dll+02768603 mcos::waitforWrapper+00254671
[ 31] 0x00007ffc0240fc0f bin\win64\pgo\mcos_impl.dll+02751503 mcos::waitforWrapper+00237571
[ 32] 0x00007ffc022e0fcd bin\win64\pgo\mcos_impl.dll+01511373 mwboost::serialization::singleton_module::unlock+00274045
[ 33] 0x00007ffc023f2520 bin\win64\pgo\mcos_impl.dll+02630944 mcos::waitforWrapper+00117012
[ 34] 0x00007ffc023f193c bin\win64\pgo\mcos_impl.dll+02627900 mcos::waitforWrapper+00113968
[ 35] 0x00007ffc023ee745 bin\win64\pgo\mcos_impl.dll+02615109 mcos::waitforWrapper+00101177
[ 36] 0x00007ffc023efa2b bin\win64\pgo\mcos_impl.dll+02619947 mcos::waitforWrapper+00106015
[ 37] 0x00007ffc023efc30 bin\win64\pgo\mcos_impl.dll+02620464 mcos::waitforWrapper+00106532
[ 38] 0x00007ffc023f4332 bin\win64\pgo\mcos_impl.dll+02638642 mcos::waitforWrapper+00124710
[ 39] 0x00007ffc023f1ba6 bin\win64\pgo\mcos_impl.dll+02628518 mcos::waitforWrapper+00114586
[ 40] 0x00007ffc023f193c bin\win64\pgo\mcos_impl.dll+02627900 mcos::waitforWrapper+00113968
[ 41] 0x00007ffc023ee745 bin\win64\pgo\mcos_impl.dll+02615109 mcos::waitforWrapper+00101177
[ 42] 0x00007ffc023f729f bin\win64\pgo\mcos_impl.dll+02650783 mcos::waitforWrapper+00136851
[ 43] 0x00007ffc1726df2f bin\win64\pgo\libmx.dll+00712495 matrix::serialize::getMatrixHeaderAtCurrentOffset+00000883
[ 44] 0x00007ffc17205ba6 bin\win64\pgo\libmx.dll+00285606 matrix::WarningObserver::getNumWarnings+00082006
[ 45] 0x00007ffc171dd4d4 bin\win64\pgo\libmx.dll+00120020 matrix::serialize::getCurrentItem+00000124
[ 46] 0x00007ffc171ddbe5 bin\win64\pgo\libmx.dll+00121829 matrix::serialize::getItem+00000081
[ 47] 0x00007ffc171ddc38 bin\win64\pgo\libmx.dll+00121912 matrix::detail::noninlined::mx_array_api::miGetItem+00000048
[ 48] 0x00007ffc3ddcef80 F:\Program Files\MATLAB\R2021b\bin\win64\libmat.dll+00192384 MatFileMonitor::notifyOpenForWrite+00042736
[ 49] 0x00007ffc3ddb6aa9 F:\Program Files\MATLAB\R2021b\bin\win64\libmat.dll+00092841 mwboost::serialization::singleton_module::unlock+00010361
[ 50] 0x00007ffc3ddc0af6 F:\Program Files\MATLAB\R2021b\bin\win64\libmat.dll+00133878 mat_developer_api::matGetVariable+00000070
[ 51] 0x00007ffc30cc2b31 F:\Program Files\MATLAB\R2021b\bin\win64\saveload.dll+00076593 mwboost::serialization::singleton_module::unlock+00040225
[ 52] 0x00007ffc30ce581e F:\Program Files\MATLAB\R2021b\bin\win64\saveload.dll+00219166 WorkspaceSource::throwMatlabErrorForPattern+00043342
[ 53] 0x00007ffc30ce9896 F:\Program Files\MATLAB\R2021b\bin\win64\saveload.dll+00235670 PartialSaveFcn+00009142
[ 54] 0x00007ffc30cec3c9 F:\Program Files\MATLAB\R2021b\bin\win64\saveload.dll+00246729 inFullLoadFcn+00000073
[ 55] 0x00007ffc0fed653b F:\Program Files\MATLAB\R2021b\bin\win64\builtin.dll+00091451 MathWorks::builtin::BuiltinFcn::invoke+00000587
[ 56] 0x00007ffc133b1fb9 bin\win64\pgo\m_dispatcher.dll+00073657 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00001449
[ 57] 0x00007ffc133b1ec5 bin\win64\pgo\m_dispatcher.dll+00073413 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00001205
[ 58] 0x00007ffc133b1688 bin\win64\pgo\m_dispatcher.dll+00071304 Mfh_MATLAB_fn_impl::dispatch+00000712
[ 59] 0x00007ffc133b13ed bin\win64\pgo\m_dispatcher.dll+00070637 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 60] 0x00007ffc10c3ab04 bin\win64\m_lxe.dll+08563460 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00149940
[ 61] 0x00007ffc10c4811e bin\win64\m_lxe.dll+08618270 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00204750
[ 62] 0x00007ffc10d4156e bin\win64\m_lxe.dll+09639278 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01225758
[ 63] 0x00007ffc10d43268 bin\win64\m_lxe.dll+09646696 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01233176
[ 64] 0x00007ffc10c9d2f8 bin\win64\m_lxe.dll+08966904 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00553384
[ 65] 0x00007ffc10cb45f9 bin\win64\m_lxe.dll+09061881 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00648361
[ 66] 0x00007ffc10689bcb bin\win64\m_lxe.dll+02595787 MathWorks::lxe::FeatureLxeTrace+02216811
[ 67] 0x00007ffc1068df2a bin\win64\m_lxe.dll+02613034 MathWorks::lxe::FeatureLxeTrace+02234058
[ 68] 0x00007ffc1068b4f3 bin\win64\m_lxe.dll+02602227 MathWorks::lxe::FeatureLxeTrace+02223251
[ 69] 0x00007ffc1067f615 bin\win64\m_lxe.dll+02553365 MathWorks::lxe::FeatureLxeTrace+02174389
[ 70] 0x00007ffc1067f8b0 bin\win64\m_lxe.dll+02554032 MathWorks::lxe::FeatureLxeTrace+02175056
[ 71] 0x00007ffc1068ecc6 bin\win64\m_lxe.dll+02616518 MathWorks::lxe::FeatureLxeTrace+02237542
[ 72] 0x00007ffc1068ad56 bin\win64\m_lxe.dll+02600278 MathWorks::lxe::FeatureLxeTrace+02221302
[ 73] 0x00007ffc1075416d bin\win64\m_lxe.dll+03424621 MathWorks::lxe::FeatureLxeTrace+03045645
[ 74] 0x00007ffc10757ea8 bin\win64\m_lxe.dll+03440296 MathWorks::lxe::FeatureLxeTrace+03061320
[ 75] 0x00007ffc10b8d411 bin\win64\m_lxe.dll+07853073 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00371889
[ 76] 0x00007ffc10c339c6 bin\win64\m_lxe.dll+08534470 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120950
[ 77] 0x00007ffc10c3368d bin\win64\m_lxe.dll+08533645 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120125
[ 78] 0x00007ffc10c36232 bin\win64\m_lxe.dll+08544818 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00131298
[ 79] 0x00007ffc133b2ac0 bin\win64\pgo\m_dispatcher.dll+00076480 mdWhichInfo::find+00000780
[ 80] 0x00007ffc133b3fc1 bin\win64\pgo\m_dispatcher.dll+00081857 Mfh_file::dispatch+00000045
[ 81] 0x00007ffc021cdc96 bin\win64\pgo\mcos_impl.dll+00384150 mdIsA+00067118
[ 82] 0x00007ffc021d1fb4 bin\win64\pgo\mcos_impl.dll+00401332 mdIsA+00084300
[ 83] 0x00007ffc021c992d bin\win64\pgo\mcos_impl.dll+00366893 mdIsA+00049861
[ 84] 0x00007ffc021c9390 bin\win64\pgo\mcos_impl.dll+00365456 mdIsA+00048424
[ 85] 0x00007ffc0221283f bin\win64\pgo\mcos_impl.dll+00665663 mdMethodListAllFcn+00086775
[ 86] 0x00007ffc02212754 bin\win64\pgo\mcos_impl.dll+00665428 mdMethodListAllFcn+00086540
[ 87] 0x00007ffc0221263a bin\win64\pgo\mcos_impl.dll+00665146 mdMethodListAllFcn+00086258
[ 88] 0x00007ffc021b4d81 bin\win64\pgo\mcos_impl.dll+00281985
[ 89] 0x00007ffc133b23e0 bin\win64\pgo\m_dispatcher.dll+00074720 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00000672
[ 90] 0x00007ffc133b2569 bin\win64\pgo\m_dispatcher.dll+00075113 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 91] 0x00007ffc10d6a79e bin\win64\m_lxe.dll+09807774 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01394254
[ 92] 0x00007ffc10b57c4d bin\win64\m_lxe.dll+07633997 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00152813
[ 93] 0x00007ffc10bbeecf bin\win64\m_lxe.dll+08056527 MathWorks::lxe::profiler::IMexProfilingSupport::~IMexProfilingSupport+00073839
[ 94] 0x00007ffc13273ce0 bin\win64\pgo\m_interpreter.dll+00081120 inCallFcn+00000084
[ 95] 0x00007ffc2ea63a37 F:\Program Files\MATLAB\R2021b\bin\win64\libmwsl_services.dll+02243127 slsv::mxw::WarningHandler::operator=+00004743
[ 96] 0x00007ffc2ea77ec8 F:\Program Files\MATLAB\R2021b\bin\win64\libmwsl_services.dll+02326216 CMatlabCommand::execute+00000152
[ 97] 0x00007ffc2ea88774 F:\Program Files\MATLAB\R2021b\bin\win64\libmwsl_services.dll+02393972 slsvFEVAL_NoThrow+00000276
[ 98] 0x00007ffc2ea88810 F:\Program Files\MATLAB\R2021b\bin\win64\libmwsl_services.dll+02394128 slsvFEVAL_NoThrow+00000064
[ 99] 0x00007ffbcb593440 F:\Program Files\MATLAB\R2021b\bin\win64\simulink_plugins\sl_data_workflows_plugin\libmwsl_data_workflows_plugin.dll+00013376
[100] 0x00007ffc2268b8ac F:\Program Files\MATLAB\R2021b\bin\win64\libmwda_module_services.dll+00571564 DA::AddExtModeTransports+00004284
[101] 0x00007ffc2268ceaf F:\Program Files\MATLAB\R2021b\bin\win64\libmwda_module_services.dll+00577199 DA::LibraryBrowserCustomizerSetIsCustom+00000479
[102] 0x00007ffc021ca15e bin\win64\pgo\mcos_impl.dll+00368990 mdIsA+00051958
[103] 0x00007ffc021c96f5 bin\win64\pgo\mcos_impl.dll+00366325 mdIsA+00049293
[104] 0x00007ffc021c9390 bin\win64\pgo\mcos_impl.dll+00365456 mdIsA+00048424
[105] 0x00007ffc02202b2f bin\win64\pgo\mcos_impl.dll+00600879 mdMethodListAllFcn+00021991
[106] 0x00007ffc023c01b4 bin\win64\pgo\mcos_impl.dll+02425268 mwboost::serialization::singleton_module::unlock+01187940
[107] 0x00007ffc02427de8 bin\win64\pgo\mcos_impl.dll+02850280 namedArgsToCell+00004592
[108] 0x00007ffc02434ca1 bin\win64\pgo\mcos_impl.dll+02903201 namedArgsToCell+00057513
[109] 0x00007ffc16411d38 bin\win64\mcos.dll+00138552 omDirectCallMethod+00000072
[110] 0x00007ffc0e11f34b bin\win64\pgo\libmwlxeindexing.dll+00455499 MathWorks::lxe::MatrixModuleImplementation::SetHeterogeneousArray+00010507
[111] 0x00007ffc0e1af003 bin\win64\pgo\libmwlxeindexing.dll+01044483 MathWorks::lxe::intermediate_paren_ref_place+00006111
[112] 0x00007ffc0e0be1c3 bin\win64\pgo\libmwlxeindexing.dll+00057795 MathWorks::lxe::assign_brace_xlist_pointer_uninitialized+00000579
[113] 0x00007ffc0e0be1c3 bin\win64\pgo\libmwlxeindexing.dll+00057795 MathWorks::lxe::assign_brace_xlist_pointer_uninitialized+00000579
[114] 0x00007ffc0e140f92 bin\win64\pgo\libmwlxeindexing.dll+00593810 MathWorks::lxe::DereferenceRplaceToXvalueZeroOutputs+00000026
[115] 0x00007ffc0e10c7d3 bin\win64\pgo\libmwlxeindexing.dll+00378835 MathWorks::lxe::at_rparen0+00000391
[116] 0x00007ffc10c9d2f8 bin\win64\m_lxe.dll+08966904 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00553384
[117] 0x00007ffc10cbae59 bin\win64\m_lxe.dll+09088601 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00675081
[118] 0x00007ffc10689bcb bin\win64\m_lxe.dll+02595787 MathWorks::lxe::FeatureLxeTrace+02216811
[119] 0x00007ffc1068df2a bin\win64\m_lxe.dll+02613034 MathWorks::lxe::FeatureLxeTrace+02234058
[120] 0x00007ffc1068b4f3 bin\win64\m_lxe.dll+02602227 MathWorks::lxe::FeatureLxeTrace+02223251
[121] 0x00007ffc1067f615 bin\win64\m_lxe.dll+02553365 MathWorks::lxe::FeatureLxeTrace+02174389
[122] 0x00007ffc1067f8b0 bin\win64\m_lxe.dll+02554032 MathWorks::lxe::FeatureLxeTrace+02175056
[123] 0x00007ffc1068ecc6 bin\win64\m_lxe.dll+02616518 MathWorks::lxe::FeatureLxeTrace+02237542
[124] 0x00007ffc1068ad56 bin\win64\m_lxe.dll+02600278 MathWorks::lxe::FeatureLxeTrace+02221302
[125] 0x00007ffc1075416d bin\win64\m_lxe.dll+03424621 MathWorks::lxe::FeatureLxeTrace+03045645
[126] 0x00007ffc10757ea8 bin\win64\m_lxe.dll+03440296 MathWorks::lxe::FeatureLxeTrace+03061320
[127] 0x00007ffc10b8d411 bin\win64\m_lxe.dll+07853073 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00371889

Accepted Answer

James Lebak
James Lebak on 9 Nov 2021

More Answers (1)

PRITAM KUMAR SINGH
PRITAM KUMAR SINGH on 9 Nov 2021
facing same issue while running a code

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by