How to fix Access violation?

38 Ansichten (letzte 30 Tage)
Andrei
Andrei am 13 Mai 2024
Bearbeitet: Andrei am 15 Mai 2024
Recently we updated our servers to R2022b Update 9 and how we see this error.
How can I fix it?
--------------------------------------------------------------------------------
Access violation detected at 2024-05-13 03:00:42 -0500
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Microsoft Corporation GDI Generic Version 1.1.0
Graphics card 1 : Microsoft ( 0x0 ) Microsoft Hyper-V Video Version 10.0.19041.3636 (2006-6-21)
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 : 5227327
MATLAB Root : C:\Program Files\MATLAB\R2022b
MATLAB Version : 9.13.0.2553342 (R2022b) Update 9
OpenGL : software
Operating System : Microsoft Windows 10 Enterprise
Process ID : 4228
Processor ID : x86 Family 6 Model 106 Stepping 6, GenuineIntel
Session Key : 321b6d16-852e-4d86-95a5-4226eee0c75b
Window System : Version 10.0 (Build 19045)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 8264
Register State (from fault):
RAX = 00000008ec814800 RBX = 00000237c5d44b78
RCX = 00000237fc8f4310 RDX = 00000237c32e9ac0
RSP = 0000008507ff8470 RBP = 0000008507ff84f9
RSI = 0000000000000000 RDI = 00000237fc8f4310
R8 = 00007ffdeee67810 R9 = 0000000000000004
R10 = 0000000000008000 R11 = 0000008507ff8620
R12 = 00000237b71ca720 R13 = 00000237fc8f6740
R14 = 0000000000000001 R15 = 00000237c5d44b70
RIP = 00007ffe40b172c2 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffe40b172c2 C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll+01077954 slCheckForClose+00000034
[ 1] 0x00007ffe3fc9587b C:\Program Files\MATLAB\R2022b\bin\win64\simharness.dll+00350331 sl::simharness::SlHarnessUpdater::operator=+00027979
[ 2] 0x00007ffe3fc975e5 C:\Program Files\MATLAB\R2022b\bin\win64\simharness.dll+00357861 slt::serialization::InternalHarnessInfo::clearFileName+00005989
[ 3] 0x00007ffe3fc9749f C:\Program Files\MATLAB\R2022b\bin\win64\simharness.dll+00357535 slt::serialization::InternalHarnessInfo::clearFileName+00005663
[ 4] 0x00007ffe3fc973cd C:\Program Files\MATLAB\R2022b\bin\win64\simharness.dll+00357325 slt::serialization::InternalHarnessInfo::clearFileName+00005453
[ 5] 0x00007ffe3fc833d0 C:\Program Files\MATLAB\R2022b\bin\win64\simharness.dll+00275408 sl::simharness::SlHarnessManager::destroyManager+00000064
[ 6] 0x00007ffe4a20769b C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+09664155 SlBdDomainListener::SlBdDomainListener+00004059
[ 7] 0x00007ffe40aea1fc C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll+00893436 NormalVariantControlVars::IsVariantControlVarsExistWithSTVAT+00001596
[ 8] 0x00007ffe40b0116c C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll+00987500 SLRootBDDestroyer::doWork+00000796
[ 9] 0x00007ffe4a207c36 C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+09665590 SlBdDomainListener::SlBdDomainListener+00005494
[ 10] 0x00007ffe40affdca C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll+00982474 SLRootBD::destroyBlockDiagram+00000266
[ 11] 0x00007ffe40ae889e C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll+00886942 SLRootBD::CachedFixedStepSize+00000654
[ 12] 0x00007ffe40afc430 C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll+00967728 SLRootBD::closeSystem+00001104
[ 13] 0x00007ffe49d268f6 C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+04548854 SLCustomTableParamCellInfo::getCellTypeOptions+00038630
[ 14] 0x00007ffe49d2672c C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+04548396 SLCustomTableParamCellInfo::getCellTypeOptions+00038172
[ 15] 0x00007ffe49d27042 C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+04550722 SLCustomTableParamCellInfo::getCellTypeOptions+00040498
[ 16] 0x00007ffe49daac5a C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+05090394 slSave::WriteBlockDiagram+00083386
[ 17] 0x00007ffe49dbe3fa C:\Program Files\MATLAB\R2022b\bin\win64\libmwsimulink.dll+05170170 slInternal+00000522
[ 18] 0x00007ffe4aea93ea C:\Program Files\MATLAB\R2022b\bin\win64\sl_proxy_interface.dll+00037866 wrapper_matl_sl_internal+00000074
[ 19] 0x00007ffe4aed2d8f C:\Program Files\MATLAB\R2022b\bin\win64\builtins\sl_proxy_interface\mwsl_proxy_interface_builtinimpl.dll+00077199 us_set_bundle_context_instance_com_mathworks_sl_proxy_interface_builtinimpl+00041535
[ 20] 0x00007ffe4aec8ba2 C:\Program Files\MATLAB\R2022b\bin\win64\builtins\sl_proxy_interface\mwsl_proxy_interface_builtinimpl.dll+00035746 us_set_bundle_context_instance_com_mathworks_sl_proxy_interface_builtinimpl+00000082
[ 21] 0x00007ffe6e486476 C:\Program Files\MATLAB\R2022b\bin\win64\builtin.dll+00156790 MathWorks::builtin::BuiltinFcn::invoke+00001174
[ 22] 0x00007ffe6fa08634 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00362036 mdLoadModuleForPackageOrClass+00007540
[ 23] 0x00007ffe6fa087c5 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00362437 mdLoadModuleForPackageOrClass+00007941
[ 24] 0x00007ffe6f9bb8fe C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00047358
[ 25] 0x00007ffe6f9ddddd C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00187869 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 26] 0x00007ffe6ee00c74 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00330868 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00234740
[ 27] 0x00007ffe6ee0f1f0 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00389616 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00293488
[ 28] 0x00007ffe6aaf3f11 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05717777 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006049
[ 29] 0x00007ffe6aaf5509 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05723401 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00011673
[ 30] 0x00007ffe6aa40118 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+04981016 MathWorks::lxe::printLxeProfStatsForFeature+00300760
[ 31] 0x00007ffe6aa5a169 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05087593 MathWorks::lxe::printLxeProfStatsForFeature+00407337
[ 32] 0x00007ffe6a92d6d7 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03856087 MathWorks::lxe::GetTag+00006295
[ 33] 0x00007ffe6a917d5c C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03767644 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041244
[ 34] 0x00007ffe6a91c480 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03785856 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059456
[ 35] 0x00007ffe6eed4ab0 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01198768 FeatureTestObservableWorkspace+00184240
[ 36] 0x00007ffe6ee3e776 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00583542 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00069206
[ 37] 0x00007ffe6ee4018f C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00590223 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00075887
[ 38] 0x00007ffe6ee9ecd3 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00978131 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00303443
[ 39] 0x00007ffe6eea0e17 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00986647 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00311959
[ 40] 0x00007ffe6ee9fd6c C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00982380 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00307692
[ 41] 0x00007ffe6f74cecc C:\Program Files\MATLAB\R2022b\bin\win64\m_interpreter.dll+00577228 inEvalCmdWithLocalReturnInDesiredWSAndPublishEvents+00000076
[ 42] 0x00007ffe6fde8e95 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00757397 iqm::InternalEvalPlugin::inEvalCmdWithLocalReturn+00000101
[ 43] 0x00007ffe6fde87f3 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00755699 iqm::InternalEvalPlugin::execute+00000243
[ 44] 0x00007ffe6fc021f0 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00401904 mcrInstantiationError::operator=+00082560
[ 45] 0x00007ffe6fdc8a4c C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00625228 iqm::Iqm::setupIqmFcnPtrs+00097324
[ 46] 0x00007ffe6fda08ea C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00461034 iqm::Iqm::create+00035450
[ 47] 0x00007ffe6fd3e2c3 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00058051 iqm::BaseIqmPlugin::processMFileError+00001539
[ 48] 0x00007ffe74c8ae3c C:\Program Files\MATLAB\R2022b\bin\win64\mlutil.dll+03124796 cmddistributor::IIPRunNowMessage::deliver+00000028
[ 49] 0x00007ffe726b6f08 C:\Program Files\MATLAB\R2022b\bin\win64\libmwms.dll+01732360 foundation::msg_svc::exchange::MessageQueue::deliver+00000472
[ 50] 0x00007ffe726b892f C:\Program Files\MATLAB\R2022b\bin\win64\libmwms.dll+01739055 foundation::msg_svc::exchange::MessageQueue::sendReply+00004047
[ 51] 0x00007ffe726a0750 C:\Program Files\MATLAB\R2022b\bin\win64\libmwms.dll+01640272 foundation::msg_svc::exchange::CommunicationErrorEvent::getTransportID+00076544
[ 52] 0x00007ffe726aec07 C:\Program Files\MATLAB\R2022b\bin\win64\libmwms.dll+01698823 foundation::msg_svc::exchange::CommunicationErrorEvent::getTransportID+00135095
[ 53] 0x00007ffe726ad326 C:\Program Files\MATLAB\R2022b\bin\win64\libmwms.dll+01692454 foundation::msg_svc::exchange::CommunicationErrorEvent::getTransportID+00128726
[ 54] 0x00007ffe74af3ddd C:\Program Files\MATLAB\R2022b\bin\win64\mlutil.dll+01457629 cmddistributor::IIP::EventMgrBypass::operator=+00048125
[ 55] 0x00007ffe74ac7ee2 C:\Program Files\MATLAB\R2022b\bin\win64\mlutil.dll+01277666 cmddistributor::DebugLoopEvent::serializeExplicit+00023314
[ 56] 0x00007ffe77c53eac C:\Program Files\MATLAB\R2022b\bin\win64\mvm.dll+00474796 mvm::MVM::setClientCapabilities+00010684
[ 57] 0x00007ffe6fbde45a C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00255066 mwboost::archive::codecvt_null<wchar_t>::do_out+00003370
[ 58] 0x00007ffe6fbddcb2 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00253106 mwboost::archive::codecvt_null<wchar_t>::do_out+00001410
[ 59] 0x00007ffe6fbb87f3 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00100339 mcrFunctionSignature::set_signature+00080067
[ 60] 0x00007ffe6fbd6050 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00221264 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure'+00017616
[ 61] 0x00007ffe6fdf525a C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00807514 iqm::PackagedTaskPlugin::execute+00000074
[ 62] 0x00007ffe6fc02350 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00402256 mcrInstantiationError::operator=+00082912
[ 63] 0x00007ffe6fdc8a4c C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00625228 iqm::Iqm::setupIqmFcnPtrs+00097324
[ 64] 0x00007ffe6fd99c12 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00433170 iqm::Iqm::create+00007586
[ 65] 0x00007ffe6f46311e C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00078110 ioReadLine+00000430
[ 66] 0x00007ffe6f462f35 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00077621 ioReadLine+00000165
[ 67] 0x00007ffe6f494a10 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00281104 mnGetCommandLineBuffer+00000288
[ 68] 0x00007ffe6f494ea2 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00282274 mnParser+00000466
[ 69] 0x00007ffe6fc07c64 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00425060 mcr_set_enableReadingFromStdin+00013524
[ 70] 0x00007ffe6fbb87f3 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00100339 mcrFunctionSignature::set_signature+00080067
[ 71] 0x00007ffe6fbd6050 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00221264 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure'+00017616
[ 72] 0x00007ffe6fdf525a C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00807514 iqm::PackagedTaskPlugin::execute+00000074
[ 73] 0x00007ffe6fc02350 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00402256 mcrInstantiationError::operator=+00082912
[ 74] 0x00007ffe6fdc8a4c C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00625228 iqm::Iqm::setupIqmFcnPtrs+00097324
[ 75] 0x00007ffe6fd9ade1 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00437729 iqm::Iqm::create+00012145
[ 76] 0x00007ffe6fd9a529 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00435497 iqm::Iqm::create+00009913
[ 77] 0x00007ffe6fbf06dc C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00329436 mcrInstantiationError::operator=+00010092
[ 78] 0x00007ffe6fbf1105 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00332037 mcrInstantiationError::operator=+00012693
[ 79] 0x00007ffe6fbeea00 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00322048 mcrInstantiationError::operator=+00002704
[ 80] 0x00007ffe7ace855a C:\Program Files\MATLAB\R2022b\bin\win64\mwboost_thread-vc142-mt-x64-1_75.dll+00034138 mwboost::thread::swap+00000074
[ 81] 0x00007ffea85e1bb2 C:\Windows\System32\ucrtbase.dll+00138162 configthreadlocale+00000146
[ 82] 0x00007ffea93d7344 C:\Windows\System32\KERNEL32.DLL+00095044 BaseThreadInitThunk+00000020
[ 83] 0x00007ffeaa7426b1 C:\Windows\SYSTEM32\ntdll.dll+00337585 RtlUserThreadStart+00000033

Antworten (1)

Gyan Vaibhav
Gyan Vaibhav am 14 Mai 2024
Bearbeitet: Gyan Vaibhav am 14 Mai 2024
Hi Andrei,
I had a similar problem a few days back. Are you trying to use Simulink Test Harness. If yes, I was told to "simply use a Model as System under Test and a Harness as Harness".
Check if this works. Otherwise, try reaching out Mathworks Technical Support.
Thanks,
Gyan
  1 Kommentar
Andrei
Andrei am 15 Mai 2024
Bearbeitet: Andrei am 15 Mai 2024
Thanks, I'll reach out to support.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by