Simulink Crashing Suddenly (from yesterday)

5 views (last 30 days)
Dark Sorrow
Dark Sorrow on 19 Apr 2022
Answered: Binaya on 10 Jan 2025
Simulink was working properly till yesterday. From yestertady I am getting Access violation detected error. I uninstalled and reinstalled the entire software but error still persist.
I have copy pasted the error bellow..
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Access violation detected at 2022-04-19 08:04:11 +0530
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 630 Version 27.20.100.8280 (2020-5-19)
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 : 6257193
MATLAB Root : C:\Program Files\Polyspace\R2021a
MATLAB Version : 9.10.0.1602886 (R2021a)
OpenGL : hardware
Operating System : Microsoft Windows 10 Pro
Process ID : 3740
Processor ID : x86 Family 6 Model 158 Stepping 9, GenuineIntel
Session Key : d2d94843-e1bc-46b3-b24b-a620ede5a089
Window System : Version 10.0 (Build 19044)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 10624
Register State (from fault):
RAX = 00007ffe55071ad0 RBX = 0000009384df91b0
RCX = 000001cd9304cb60 RDX = 000001cdb2ca0000
RSP = 0000009384df8688 RBP = 0000009384df87c0
RSI = 0000009384df8b70 RDI = 0000009384df91b0
R8 = 000001cdb2b94500 R9 = 0000000000000001
R10 = 0000000000008000 R11 = 0000009384df85f0
R12 = 0000000000000000 R13 = 0000000000000001
R14 = 000001cda5ffb7b0 R15 = 000001cdf9515a70
RIP = 00007ffe519456c6 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffe519456c6 C:\Program Files\Polyspace\R2021a\bin\win64\sl_graphical_classes.dll+06510278 BDConfigSetInfo::getRTWComponent+00000086
[ 1] 0x00007ffe513fcacf C:\Program Files\Polyspace\R2021a\bin\win64\sl_graphical_classes.dll+00969423 SLRootBDAPI::getRTWSystemTargetFile+00000063
[ 2] 0x00007ffe11a8e5b5 C:\ProgramData\MATLAB\SupportPackages\R2021a\bin\win64\simulink_plugins\hardwaresupportpkgs\targets\targetHiddenBlkInsert\libmwtargetHiddenBlkInsert.dll+00124341 sl_hmi::DashboardBlock::useLatestValueForValueParam+00032757
[ 3] 0x00007ffe4f6f0f36 C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+04198198 slplugin::addCompBdSignal+00019302
[ 4] 0x00007ffe4f3ca7f7 C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+00894967 bdPostEngineEvent_nothrow+00001847
[ 5] 0x00007ffe4f3b69b0 C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+00813488 ssSetGrBlkMaxFreqHz+00004336
[ 6] 0x00007ffe4f3c60c9 C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+00876745 slplugin::MasterCompEvent::~MasterCompEvent+00004329
[ 7] 0x00007ffe4f3bad6d C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+00830829 ssSetGrBlkMaxFreqHz+00021677
[ 8] 0x00007ffe4f3c7760 C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+00882528 slplugin::ProcessEngineEvent+00000336
[ 9] 0x00007ffe4f3ca041 C:\Program Files\Polyspace\R2021a\bin\win64\sl_engine_classes.dll+00892993 bdPostEngineEvent+00000209
[ 10] 0x00007ffe4301f280 C:\Program Files\Polyspace\R2021a\bin\win64\sl_compile.dll+03469952 SLOutportWithFcnCallInitPassThru::throwErrorOnInvalidICSrc+00002720
[ 11] 0x00007ffe43063dcb C:\Program Files\Polyspace\R2021a\bin\win64\sl_compile.dll+03751371 VarHiddenConnectionInfo::setNIForRemoval+00010315
[ 12] 0x00007ffe43063f88 C:\Program Files\Polyspace\R2021a\bin\win64\sl_compile.dll+03751816 VarHiddenConnectionInfo::setNIForRemoval+00010760
[ 13] 0x00007ffe4300722a C:\Program Files\Polyspace\R2021a\bin\win64\sl_compile.dll+03371562 SLCompDiagramImpl+00040618
[ 14] 0x00007ffe42ffd68a C:\Program Files\Polyspace\R2021a\bin\win64\sl_compile.dll+03331722 SLCompDiagramImpl+00000778
[ 15] 0x00007ffe521dd146 C:\Program Files\Polyspace\R2021a\bin\win64\sl_link_bd.dll+01102150 slink::CreateSlModelForLink+00000758
[ 16] 0x00007ffe521dce73 C:\Program Files\Polyspace\R2021a\bin\win64\sl_link_bd.dll+01101427 slink::CreateSlModelForLink+00000035
[ 17] 0x00007ffe54a73ee4 C:\Program Files\Polyspace\R2021a\bin\win64\libmwsimulink.dll+15810276 slstSetOutputPortRateID+00130612
[ 18] 0x00007ffe54a79d26 C:\Program Files\Polyspace\R2021a\bin\win64\libmwsimulink.dll+15834406 slstSetOutputPortRateID+00154742
[ 19] 0x00007ffe54a804a7 C:\Program Files\Polyspace\R2021a\bin\win64\libmwsimulink.dll+15860903 slstSetOutputPortRateID+00181239
[ 20] 0x00007ffe54abbcf2 C:\Program Files\Polyspace\R2021a\bin\win64\libmwsimulink.dll+16104690 slstSetOutputPortRateID+00425026
[ 21] 0x00007ffe53eb1022 C:\Program Files\Polyspace\R2021a\bin\win64\libmwsimulink.dll+03477538 ExitPauseInDebuggerMenuSim+00001346
[ 22] 0x00007ffe54683706 C:\Program Files\Polyspace\R2021a\bin\win64\libmwsimulink.dll+11679494 SLGlue::simulationStartPauseContinueNARMode+00000182
[ 23] 0x00007ffe20a65509 C:\Program Files\Polyspace\R2021a\bin\win64\sl_mi.dll+00349449 SLM3I::mi::initCosSFBlockOpenNotification+00074009
[ 24] 0x00007ffea50cd42e bin\win64\pgo\mcos_impl.dll+00381998
[ 25] 0x00007ffea50cc9d5 bin\win64\pgo\mcos_impl.dll+00379349
[ 26] 0x00007ffea50cc670 bin\win64\pgo\mcos_impl.dll+00378480
[ 27] 0x00007ffea510d543 bin\win64\pgo\mcos_impl.dll+00644419 mdMethodListAllFcn+00084595
[ 28] 0x00007ffea510d458 bin\win64\pgo\mcos_impl.dll+00644184 mdMethodListAllFcn+00084360
[ 29] 0x00007ffea510d33e bin\win64\pgo\mcos_impl.dll+00643902 mdMethodListAllFcn+00084078
[ 30] 0x00007ffea50d083d bin\win64\pgo\mcos_impl.dll+00395325 mdIsA+00002017
[ 31] 0x00007ffeb0554630 bin\win64\pgo\m_dispatcher.dll+00083504 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001856
[ 32] 0x00007ffeb05547b9 bin\win64\pgo\m_dispatcher.dll+00083897 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 33] 0x00007ffea162a62e bin\win64\pgo\m_lxe.dll+00370222
[ 34] 0x00007ffea16aa093 bin\win64\pgo\m_lxe.dll+00893075 MathWorks::lxe::initializeFcn+00521059
[ 35] 0x00007ffec233f68c bin\win64\pgo\libmx.dll+00652940 matrix::detail::noninlined::mx_array_api::mxFevalFunctionHandle+00000036
[ 36] 0x00007ffeb0345a75 bin\win64\pgo\m_interpreter.dll+00154229 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::ExecutionEvents::UncaughtErrorEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::ExecutionEvents::UncaughtErrorEvent> >+00027445
[ 37] 0x00007ffeafb38bea C:\Program Files\Polyspace\R2021a\bin\win64\builtin.dll+00101354 MathWorks::builtin::BuiltinFcn::invoke+00001130
[ 38] 0x00007ffeb0564b1c bin\win64\pgo\m_dispatcher.dll+00150300 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000136
[ 39] 0x00007ffeb0554630 bin\win64\pgo\m_dispatcher.dll+00083504 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001856
[ 40] 0x00007ffeb05547b9 bin\win64\pgo\m_dispatcher.dll+00083897 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 41] 0x00007ffea162a62e bin\win64\pgo\m_lxe.dll+00370222
[ 42] 0x00007ffea1626436 bin\win64\pgo\m_lxe.dll+00353334
[ 43] 0x00007ffea162638f bin\win64\pgo\m_lxe.dll+00353167
[ 44] 0x00007ffeb032d550 bin\win64\pgo\m_interpreter.dll+00054608 inCallFcn+00000084
[ 45] 0x00007ffea178f126 bin\win64\pgo\m_lxe.dll+01831206 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00022786
[ 46] 0x00007ffeb03326e2 bin\win64\pgo\m_interpreter.dll+00075490 inCallFcnWithTrap+00000098
[ 47] 0x00007ffe2cb94bc9 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+03623881 dig::FunctionInfoToArray+00000649
[ 48] 0x00007ffe2cb6121a C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+03412506 dig::ActionCallback::operator()+00000826
[ 49] 0x00007ffe2cb60efd C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+03411709 dig::ActionCallback::operator()+00000029
[ 50] 0x00007ffe2ca527d4 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+02303956 dig::ActionService::executeActionImpl+00001732
[ 51] 0x00007ffe2ca5185f C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+02299999 dig::ActionService::executeAction+00000287
[ 52] 0x00007ffe2ca51e64 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+02301540 dig::ActionService::executeAction+00000388
[ 53] 0x00007ffe2cbe6164 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+03957092 dig::View::handleEvent+00001252
[ 54] 0x00007ffe2cbddc38 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+03923000 dig::ToolStrip::handleEvent+00001704
[ 55] 0x00007ffe2caba182 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+02728322 dig::UDDPropertyAdapter::setPropertyValue+00011682
[ 56] 0x00007ffe2c9fb3ab C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+01946539 dig::config::Widget::Impl::printHierarchy+00101019
[ 57] 0x00007ffe2c9eb9f3 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+01882611 dig::config::Widget::Impl::printHierarchy+00037091
[ 58] 0x00007ffe2c9ff2f0 C:\Program Files\Polyspace\R2021a\bin\win64\dig.dll+01962736 dig::config::Widget::Impl::printHierarchy+00117216
[ 59] 0x00007ffeb071392a C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00801066 iqm::PackagedTaskPlugin::execute+00000074
[ 60] 0x00007ffeb083e1ed C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00516589 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00009613
[ 61] 0x00007ffeb06e65ec C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00615916 iqm::Iqm::setupIqmFcnPtrs+00106204
[ 62] 0x00007ffeb06b71f0 C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00422384 iqm::Iqm::create+00007024
[ 63] 0x00007ffeb02c8eaf C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00102063 ioReadLine+00000463
[ 64] 0x00007ffeb02c8ca5 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00101541 ioReadLine+00000165
[ 65] 0x00007ffeb02da761 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00173921 mnGetCommandLineBuffer+00000289
[ 66] 0x00007ffeb02dabb7 C:\Program Files\Polyspace\R2021a\bin\win64\libmwbridge.dll+00175031 mnParser+00000487
[ 67] 0x00007ffeb0843d86 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00540038 mcr_set_enableReadingFromStdin+00013894
[ 68] 0x00007ffeb07df5d3 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00128467 mcrFunctionSignature::set_signature+00107555
[ 69] 0x00007ffeb07fb550 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00243024 mcrFunctionSignature::set_signature+00222112
[ 70] 0x00007ffeb071392a C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00801066 iqm::PackagedTaskPlugin::execute+00000074
[ 71] 0x00007ffeb083e1ed C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00516589 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00009613
[ 72] 0x00007ffeb06e65ec C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00615916 iqm::Iqm::setupIqmFcnPtrs+00106204
[ 73] 0x00007ffeb06b84bc C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00427196 iqm::Iqm::create+00011836
[ 74] 0x00007ffeb06b7c32 C:\Program Files\Polyspace\R2021a\bin\win64\iqm.dll+00425010 iqm::Iqm::create+00009650
[ 75] 0x00007ffeb08158fc C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00350460 mcrInstantiationError::operator=+00010428
[ 76] 0x00007ffeb08164ac C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00353452 mcrInstantiationError::operator=+00013420
[ 77] 0x00007ffeb0813ac0 C:\Program Files\Polyspace\R2021a\bin\win64\mcr.dll+00342720 mcrInstantiationError::operator=+00002688
[ 78] 0x00007ffed84e9b9a C:\Program Files\Polyspace\R2021a\bin\win64\mwboost_thread-vc142-mt-x64-1_72.dll+00039834 mwboost::thread::swap+00000074
[ 79] 0x00007ffef6331bb2 C:\WINDOWS\System32\ucrtbase.dll+00138162 configthreadlocale+00000146
[ 80] 0x00007ffef8067034 C:\WINDOWS\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 81] 0x00007ffef88c2651 C:\WINDOWS\SYSTEM32\ntdll.dll+00337489 RtlUserThreadStart+00000033
Program State:
Most Recent Simulink Activity:
playSimulationAction : OK in editor 1 at Tue Apr 19 08:04:10 2022
Rename Block : OK in editor 1 at Tue Apr 19 08:04:06 2022
Create Subsystem : OK in editor 1 at Tue Apr 19 08:03:47 2022
Simulink:CreateSubsystemFromSelection : OK in editor 1 at Tue Apr 19 08:03:47 2022
Parameter Changes : OK in editor 1 at Tue Apr 19 08:03:42 2022
Parameter Changes : OK in editor 1 at Tue Apr 19 08:03:38 2022
Create Segment : OK in editor 1 at Tue Apr 19 08:03:33 2022
Create Segment : OK in editor 1 at Tue Apr 19 08:03:33 2022
Move : OK in editor 1 at Tue Apr 19 08:03:32 2022
Move : OK in editor 1 at Tue Apr 19 08:03:31 2022
Most Recent Tool Interaction:
Editor 1: tools idle, class diagram::markup::TextTool is most recently active tool since Tue Apr 19 08:03:51 2022

Answers (1)

Binaya
Binaya on 10 Jan 2025
Hi Dark
I believe this crash log resembles to another MATLAB Answer Community post:
"Why does Simulink crash when I start it (with Arduino Support Package installed)?" https://www.mathworks.com/matlabcentral/answers/1676384 .
You can refer to the workaround provided in the above post to resolve the issue.
I hope this helps.

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!