Access violation detected: Abnormal termination:
44 views (last 30 days)
Show older comments
The simulink model successfully generates the C code, however as soon as I move around and click on any model reference block, the MATLAB crashes. I am using MATLAB 2023B and Microsoft visual c++ compiler
Attaching the crash dump file.
--------------------------------------------------------------------------------
Access violation detected at 2024-09-09 17:01:05 -0700
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized hardware
Graphics card 1 : DisplayLink ( 0x0 ) DisplayLink USB Device Version 11.3.5139.0 (2024-2-9)
Graphics card 2 : DisplayLink ( 0x0 ) DisplayLink USB Device Version 11.3.5139.0 (2024-2-9)
Graphics card 3 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 31.0.101.5388 (2024-4-2)
Graphics card 4 : NVIDIA ( 0x10de ) NVIDIA RTX A4000 Laptop GPU Version 31.0.15.3878 (2024-6-10)
Interpreter 0 : Executing request: 6D61696E2F4173796E63426174636865722E637070
JAWT Patch Status: : Patch applied
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 : 11829912
MATLAB Root : C:\Program Files\MATLAB\R2023b
MATLAB Version : 23.2.0.2485118 (R2023b) Update 6
OpenGL : hardware
Operating System : Microsoft Windows 11 Pro
Process ID : 10524
Processor ID : x86 Family 6 Model 141 Stepping 1, GenuineIntel
Session Key : a0173aab-8175-4e16-af59-45895ff25504
Window System : Version 10.0 (Build 22631)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 28828
Register State (from fault):
RAX = 0000000000000000 RBX = 000002723a50d3f0
RCX = 0000000000000000 RDX = 000002723a50d3f0
RSP = 000000d07ddfbcb8 RBP = 0000000000000000
RSI = 00000272275cb370 RDI = 00000272275cb370
R8 = 000000d07ddfbe08 R9 = 0000000000000000
R10 = 00007fff6f7cf828 R11 = 000000d07ddfbd00
R12 = 000000d07ddfbe08 R13 = 0000000000000000
R14 = 000000d07ddfbe08 R15 = 000000d07ddfbdd8
RIP = 00007fff6164dad0 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007fff6164dad0 C:\Program Files\MATLAB\R2023b\bin\win64\SimulinkBlock.dll+00187088 SLRootBlock::getRootBPI+00000000
[ 1] 0x00007fff69601b05 C:\Program Files\MATLAB\R2023b\bin\win64\sl_prm_engine.dll+06429445 SlSSRefWS::getNextParentWorkspace+00000069
[ 2] 0x00007fff696019bb C:\Program Files\MATLAB\R2023b\bin\win64\sl_prm_engine.dll+06429115 SlSSRefWS::fullFindVariable+00000203
[ 3] 0x00007fff69472423 C:\Program Files\MATLAB\R2023b\bin\win64\sl_prm_engine.dll+04793379 ValidateDialogFields::validateFieldForCanvas+00001811
[ 4] 0x00007fff6f055359 C:\Program Files\MATLAB\R2023b\bin\win64\libmwsimulink.dll+10179417 BlockEditTimeController::findMissingVarHelper+00000281
[ 5] 0x00007fff6f054fe4 C:\Program Files\MATLAB\R2023b\bin\win64\libmwsimulink.dll+10178532 BlockEditTimeController::findMissingVar+00001604
[ 6] 0x00007fff6f055daf C:\Program Files\MATLAB\R2023b\bin\win64\libmwsimulink.dll+10182063 BlockEditTimeController::findMissingVariable+00001119
[ 7] 0x00007ffeff62e123 C:\Program Files\MATLAB\R2023b\bin\win64\sldiagnostic_edittime.dll+00123171
[ 8] 0x00007ffeff9ed951 C:\Program Files\MATLAB\R2023b\bin\win64\edittimecheckengine.dll+00579921 mwboost::archive::codecvt_null<wchar_t>::do_out+00104625
[ 9] 0x00007ffeff9daab9 C:\Program Files\MATLAB\R2023b\bin\win64\edittimecheckengine.dll+00502457 mwboost::archive::codecvt_null<wchar_t>::do_out+00027161
[ 10] 0x00007ffeff9bc61a C:\Program Files\MATLAB\R2023b\bin\win64\edittimecheckengine.dll+00378394 MLTerminate_edittimecheckengine+00166394
[ 11] 0x00007fff8ca8c261 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00311905 Performance::CooperativeTaskManager::Task::process+00000385
[ 12] 0x00007fff8ca8b7bf C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00309183 Performance::CooperativeTaskManager::OrderedTaskSession::onProcess+00000159
[ 13] 0x00007fff8ca8c261 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00311905 Performance::CooperativeTaskManager::Task::process+00000385
[ 14] 0x00007fff8ca8b997 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00309655 Performance::CooperativeTaskManager::RoundRobinTaskSession::onProcess+00000231
[ 15] 0x00007fff8ca8c261 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00311905 Performance::CooperativeTaskManager::Task::process+00000385
[ 16] 0x00007fff8ca8cbf6 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00314358 Performance::CooperativeTaskManager::shutDown+00000694
[ 17] 0x00007fff8ca58594 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00099732 Performance::CooperativeTaskManager::Task::setName+00059796
[ 18] 0x00007fff8ca72150 C:\Program Files\MATLAB\R2023b\bin\win64\performance.dll+00205136 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure'+00016528
[ 19] 0x00007fffe8e08c3a C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 20] 0x00007fffe7d158e0 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00415968 installMOCmdWinSink+00074384
[ 21] 0x00007fffe8ddcbb7 C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 22] 0x00007fffe8dacc61 C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00445537 iqm::Iqm::create+00007745
[ 23] 0x00007ffffe753f5e C:\Program Files\MATLAB\R2023b\bin\win64\libmwbridge.dll+00081758 ioReadLine+00000430
[ 24] 0x00007ffffe753d75 C:\Program Files\MATLAB\R2023b\bin\win64\libmwbridge.dll+00081269 ioReadLine+00000165
[ 25] 0x00007ffffe785fb0 C:\Program Files\MATLAB\R2023b\bin\win64\libmwbridge.dll+00286640 mnGetCommandLineBuffer+00000288
[ 26] 0x00007ffffe7864b2 C:\Program Files\MATLAB\R2023b\bin\win64\libmwbridge.dll+00287922 mnParser+00000578
[ 27] 0x00007fffe7d1b398 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00439192 mcr_initialize_main+00013816
[ 28] 0x00007fffe7cc8604 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00099844 mcrFunctionSignature::set_signature+00078996
[ 29] 0x00007fffe7ce61a0 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00221600 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure'+00017728
[ 30] 0x00007fffe8e08c3a C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 31] 0x00007fffe7d158e0 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00415968 installMOCmdWinSink+00074384
[ 32] 0x00007fffe8ddcbb7 C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 33] 0x00007fffe8dade81 C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00450177 iqm::Iqm::create+00012385
[ 34] 0x00007fffe8dad5c9 C:\Program Files\MATLAB\R2023b\bin\win64\iqm.dll+00447945 iqm::Iqm::create+00010153
[ 35] 0x00007fffe7d01c1c C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00334876 mcrInstantiationError::operator=+00009948
[ 36] 0x00007fffe7d02645 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00337477 mcrInstantiationError::operator=+00012549
[ 37] 0x00007fffe7cfffd0 C:\Program Files\MATLAB\R2023b\bin\win64\mcr.dll+00327632 mcrInstantiationError::operator=+00002704
[ 38] 0x00007ff82b8a92ea C:\Program Files\MATLAB\R2023b\bin\win64\mwboost_thread-vc142-mt-x64-1_78.dll+00037610 mwboost::detail::win32::handle_manager::swap+00001642
[ 39] 0x00007ff83fd79333 C:\WINDOWS\System32\ucrtbase.dll+00168755 recalloc+00000163
[ 40] 0x00007ff840de257d C:\WINDOWS\System32\KERNEL32.DLL+00075133 BaseThreadInitThunk+00000029
[ 41] 0x00007ff8421caf28 C:\WINDOWS\SYSTEM32\ntdll.dll+00372520 RtlUserThreadStart+00000040
Program State:
Most Recent Simulink Activity:
coderGenerateCodeOnlyAction : OK in editor 23 at Mon Sep 9 16:59:47 2024
embeddedCoderAppAction : OK in editor 23 at Mon Sep 9 16:59:45 2024
coderGenerateCodeOnlyAction : OK in editor 22 at Mon Sep 9 16:54:23 2024
embeddedCoderAppAction : OK in editor 22 at Mon Sep 9 16:54:20 2024
saveModelAction : OK in editor 13 at Mon Sep 9 15:32:54 2024
saveModelAction : OK in editor 6 at Mon Sep 9 15:32:50 2024
Delete : OK in editor 6 at Mon Sep 9 15:32:48 2024
coderGenerateCodeOnlyAction : OK in editor 13 at Mon Sep 9 15:32:11 2024
embeddedCoderAppAction : OK in editor 13 at Mon Sep 9 15:32:09 2024
stopSimulationAction : OK in editor 13 at Mon Sep 9 15:32:05 2024
Most Recent Tool Interaction:
Editor 16: tools idle, class GLUE2::PanZoomTool is most recently active tool since Mon Sep 9 16:53:43 2024
Editor 17: tools idle, class GLUE2::BadgeTool is most recently active tool since Mon Sep 9 16:53:52 2024
Editor 18: tools idle, no most recently active tool Editor 19: tools idle, no most recently active tool Editor 20: tools idle, no most recently active tool Editor 21: tools idle, class GLUE2::BadgeTool is most recently active tool since Mon Sep 9 16:54:14 2024
Editor 22: tools idle, no most recently active tool
3 Comments
Udit06
on 30 Sep 2024
Hi Devyani, if you are still facing the issue, I would recommend you to contact MathWorks Technical Support using the following link:
Answers (0)
See Also
Categories
Find more on Install Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!