Simulink Crash when perform Prescan co-simulation
Ältere Kommentare anzeigen
When I conduct Prescan real-time simulation in Simulink, matlab will often crash, before, during or after the simulation starts, please see the attachment for the error report, please help!
MATLAB Log File: C:\Users\Julius\AppData\Local\Temp\matlab_crash_dump.38036-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Access violation detected at 2023-07-07 11:15:39 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : GBK
Deployed : false
Graphics Driver : NVIDIA Corporation NVIDIA GeForce RTX 3080/PCIe/SSE2 Version 4.6.0 NVIDIA 535.98
Graphics Text Issue Info : xmin=-15.750000, ymin=-5.250000, xmax=0.000000, ymax=5.250000
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce RTX 3080 Version 31.0.15.3598 (2023-5-24)
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 : 6265454
MATLAB Root : D:\Program Files\MATLAB\R2021b
MATLAB Version : 9.11.0.2207237 (R2021b) Update 6
OpenGL : hardware
Operating System : Microsoft Windows 11 专业工作站版
Process ID : 38036
Processor ID : x86 Family 6 Model 183 Stepping 1, GenuineIntel
Session Key : 024ec1ec-04aa-4cf4-885b-ddb11a4e9ff1
Window System : Version 10.0 (Build 22621)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 9764
Register State (from fault):
RAX = 03fffffe00000000 RBX = 0000000000000057
RCX = 0000008000000000 RDX = 2000007000000000
RSP = 0000007ab2ff7788 RBP = 000000000000002f
RSI = 0000008000000000 RDI = 000001aa32eea270
R8 = ffffff8000000004 R9 = 0000000000000008
R10 = 0000008000000000 R11 = ffffffffffffffff
R12 = 0000000000000008 R13 = 000001a90f3e0000
R14 = 0000007aad86e000 R15 = 000001aa32eea250
RIP = 00007ff9e300e55c EFL = 00010246
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ff9e300e55c C:\Windows\SYSTEM32\ntdll.dll+00648540 RtlUnhandledExceptionFilter+00000540
[ 1] 0x00007ff9e2fad19a C:\Windows\SYSTEM32\ntdll.dll+00250266 RtlAllocateHeap+00002970
[ 2] 0x00007ff9e2fac7aa C:\Windows\SYSTEM32\ntdll.dll+00247722 RtlAllocateHeap+00000426
[ 3] 0x00007ff9e05f1b06 C:\Windows\System32\ucrtbase.dll+00072454 malloc_base+00000054
[ 4] 0x000000006337a488 D:\Program Files\MATLAB\R2021b\bin\win64\zlib1.dll+00042120 inflateInit2_+00000136
[ 5] 0x00007ff9336f3424 D:\Program Files\MATLAB\R2021b\bin\win64\libminizip.dll+00013348 unzOpenCurrentFile2+00001700
[ 6] 0x00007ff9336f2d92 D:\Program Files\MATLAB\R2021b\bin\win64\libminizip.dll+00011666 unzOpenCurrentFile2+00000018
[ 7] 0x00007ff92aab8c27 D:\Program Files\MATLAB\R2021b\bin\win64\opczippackage.dll+00035879 opc::zippackage::ZipPartInfo::`default constructor closure'+00001639
[ 8] 0x00007ff92aab8270 D:\Program Files\MATLAB\R2021b\bin\win64\opczippackage.dll+00033392
[ 9] 0x00007ff92aac33b6 D:\Program Files\MATLAB\R2021b\bin\win64\opczippackage.dll+00078774 opc::zippackage::ZipPhysicalPackage::createZipInputStream+00000070
[ 10] 0x00007ff92aabad27 D:\Program Files\MATLAB\R2021b\bin\win64\opczippackage.dll+00044327 opc::zippackage::CommitOptions::operator=+00001783
[ 11] 0x00007ff920021152 D:\Program Files\MATLAB\R2021b\bin\win64\opcmodel.dll+00201042 opc::model::URI::`default constructor closure'+00018738
[ 12] 0x00007ff9200704d9 D:\Program Files\MATLAB\R2021b\bin\win64\opcmodel.dll+00525529 opc::model::Package::open+00000201
[ 13] 0x00007ff8adba37ea D:\Program Files\MATLAB\R2021b\bin\win64\template_core.dll+00145386 sltemplate::services::PackageWriter::writePackage+00083882
[ 14] 0x00007ff8adba3614 D:\Program Files\MATLAB\R2021b\bin\win64\template_core.dll+00144916 sltemplate::services::PackageWriter::writePackage+00083412
[ 15] 0x00007ff8adbc60cd D:\Program Files\MATLAB\R2021b\bin\win64\template_core.dll+00286925 sltemplate::services::TemplateInfo::getSharingType+00004589
[ 16] 0x00007ff8adbc4e03 D:\Program Files\MATLAB\R2021b\bin\win64\template_core.dll+00282115 sltemplate::services::TemplateInfo::create+00000099
[ 17] 0x00007ff8acaa2a74 D:\Program Files\MATLAB\R2021b\bin\win64\sltemplate.dll+00207476 loadSourceControlProviders+00134596
[ 18] 0x00007ff8acaa44b1 D:\Program Files\MATLAB\R2021b\bin\win64\sltemplate.dll+00214193 loadSourceControlProviders+00141313
[ 19] 0x00007ff90ba022db bin\win64\pgo\mcos_impl.dll+00402139 mdIsA+00077843
[ 20] 0x00007ff90b9fc00d bin\win64\pgo\mcos_impl.dll+00376845 mdIsA+00052549
[ 21] 0x00007ff90b9fb335 bin\win64\pgo\mcos_impl.dll+00373557 mdIsA+00049261
[ 22] 0x00007ff90b9fafd0 bin\win64\pgo\mcos_impl.dll+00372688 mdIsA+00048392
[ 23] 0x00007ff90b9e56c2 bin\win64\pgo\mcos_impl.dll+00284354
[ 24] 0x00007ff90b9e489c bin\win64\pgo\mcos_impl.dll+00280732
[ 25] 0x00007ff90b9e58cf bin\win64\pgo\mcos_impl.dll+00284879
[ 26] 0x00007ff90b9e4513 bin\win64\pgo\mcos_impl.dll+00279827
[ 27] 0x00007ff90b9e44be bin\win64\pgo\mcos_impl.dll+00279742
[ 28] 0x00007ff90b9e69e1 bin\win64\pgo\mcos_impl.dll+00289249
[ 29] 0x00007ff91d8823d0 bin\win64\pgo\m_dispatcher.dll+00074704 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00000672
[ 30] 0x00007ff91d882559 bin\win64\pgo\m_dispatcher.dll+00075097 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 31] 0x00007ff91b32aade bin\win64\m_lxe.dll+09808606 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01394430
[ 32] 0x00007ff91b326cfb bin\win64\m_lxe.dll+09792763 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01378587
[ 33] 0x00007ff91b32ab62 bin\win64\m_lxe.dll+09808738 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01394562
[ 34] 0x00007ff91b32ebe1 bin\win64\m_lxe.dll+09825249 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01411073
[ 35] 0x00007ff91b20819e bin\win64\m_lxe.dll+08618398 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00204222
[ 36] 0x00007ff91b3016d3 bin\win64\m_lxe.dll+09639635 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01225459
[ 37] 0x00007ff91b303488 bin\win64\m_lxe.dll+09647240 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01233064
[ 38] 0x00007ff91b25d588 bin\win64\m_lxe.dll+08967560 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00553384
[ 39] 0x00007ff91b274829 bin\win64\m_lxe.dll+09062441 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00648265
[ 40] 0x00007ff91ad281e7 bin\win64\m_lxe.dll+03506663 MathWorks::lxe::FeatureLxeTrace+03127687
[ 41] 0x00007ff91ad13808 bin\win64\m_lxe.dll+03422216 MathWorks::lxe::FeatureLxeTrace+03043240
[ 42] 0x00007ff91ad17ea8 bin\win64\m_lxe.dll+03440296 MathWorks::lxe::FeatureLxeTrace+03061320
[ 43] 0x00007ff91b14d6a1 bin\win64\m_lxe.dll+07853729 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00371889
[ 44] 0x00007ff91b1f3c56 bin\win64\m_lxe.dll+08535126 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120950
[ 45] 0x00007ff91b1f391d bin\win64\m_lxe.dll+08534301 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120125
[ 46] 0x00007ff91b1f64c2 bin\win64\m_lxe.dll+08545474 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00131298
[ 47] 0x00007ff91d882ab0 bin\win64\pgo\m_dispatcher.dll+00076464 mdWhichInfo::find+00000780
[ 48] 0x00007ff91d883fb1 bin\win64\pgo\m_dispatcher.dll+00081841 Mfh_file::dispatch+00000045
[ 49] 0x00007ff90b9ff8e6 bin\win64\pgo\mcos_impl.dll+00391398 mdIsA+00067102
[ 50] 0x00007ff90ba03844 bin\win64\pgo\mcos_impl.dll+00407620 mdIsA+00083324
[ 51] 0x00007ff90b9fb56d bin\win64\pgo\mcos_impl.dll+00374125 mdIsA+00049829
[ 52] 0x00007ff90b9fafd0 bin\win64\pgo\mcos_impl.dll+00372688 mdIsA+00048392
[ 53] 0x00007ff90ba3ee9f bin\win64\pgo\mcos_impl.dll+00650911 mdMethodListAllFcn+00074535
[ 54] 0x00007ff90ba3edb4 bin\win64\pgo\mcos_impl.dll+00650676 mdMethodListAllFcn+00074300
[ 55] 0x00007ff90ba3ece4 bin\win64\pgo\mcos_impl.dll+00650468 mdMethodListAllFcn+00074092
[ 56] 0x00007ff90b9e69e1 bin\win64\pgo\mcos_impl.dll+00289249
[ 57] 0x00007ff91d8823d0 bin\win64\pgo\m_dispatcher.dll+00074704 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00000672
[ 58] 0x00007ff91d882559 bin\win64\pgo\m_dispatcher.dll+00075097 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 59] 0x00007ff91b32aade bin\win64\m_lxe.dll+09808606 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01394430
[ 60] 0x00007ff91b117edd bin\win64\m_lxe.dll+07634653 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00152813
[ 61] 0x00007ff91b17f15f bin\win64\m_lxe.dll+08057183 MathWorks::lxe::profiler::IMexProfilingSupport::~IMexProfilingSupport+00073839
[ 62] 0x00007ff91d73a379 bin\win64\pgo\m_interpreter.dll+00041849 inFullFevalFcn+00000361
[ 63] 0x00007ff91a41653b D:\Program Files\MATLAB\R2021b\bin\win64\builtin.dll+00091451 MathWorks::builtin::BuiltinFcn::invoke+00000587
[ 64] 0x00007ff91d881fa9 bin\win64\pgo\m_dispatcher.dll+00073641 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00001449
[ 65] 0x00007ff91d881eb5 bin\win64\pgo\m_dispatcher.dll+00073397 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00001205
[ 66] 0x00007ff91d8823d0 bin\win64\pgo\m_dispatcher.dll+00074704 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00000672
[ 67] 0x00007ff91d882559 bin\win64\pgo\m_dispatcher.dll+00075097 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 68] 0x00007ff91b32aade bin\win64\m_lxe.dll+09808606 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+01394430
[ 69] 0x00007ff91b117edd bin\win64\m_lxe.dll+07634653 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00152813
[ 70] 0x00007ff91b17f15f bin\win64\m_lxe.dll+08057183 MathWorks::lxe::profiler::IMexProfilingSupport::~IMexProfilingSupport+00073839
[ 71] 0x00007ff91d743cf0 bin\win64\pgo\m_interpreter.dll+00081136 inCallFcn+00000084
[ 72] 0x00007ff91b17f3c9 bin\win64\m_lxe.dll+08057801 MathWorks::lxe::profiler::IMexProfilingSupport::~IMexProfilingSupport+00074457
[ 73] 0x00007ff91d743c82 bin\win64\pgo\m_interpreter.dll+00081026 inCallFcnWithTrap+00000098
[ 74] 0x00007ff8d5a42cd8 D:\Program Files\MATLAB\R2021b\bin\win64\dig.dll+03747032 dig::FunctionInfoToArray+00000648
[ 75] 0x00007ff8d5a1dcfc D:\Program Files\MATLAB\R2021b\bin\win64\dig.dll+03595516 dig::ActionRefresher::operator()+00001084
[ 76] 0x00007ff8d5a1d8dd D:\Program Files\MATLAB\R2021b\bin\win64\dig.dll+03594461 dig::ActionRefresher::operator()+00000029
[ 77] 0x00007ff8d58d735b D:\Program Files\MATLAB\R2021b\bin\win64\dig.dll+02257755 dig::ActionService::refreshActionImpl+00005211
[ 78] 0x00007ff8d58d4bf0 D:\Program Files\MATLAB\R2021b\bin\win64\dig.dll+02247664 dig::ActionService::markScheduledActionAsRefreshed+00003056
[ 79] 0x00007ff8f493f3d4 D:\Program Files\MATLAB\R2021b\bin\win64\performance.dll+00259028 Performance::CooperativeTaskManager::Task::process+00000580
[ 80] 0x00007ff8f493e9a2 D:\Program Files\MATLAB\R2021b\bin\win64\performance.dll+00256418 Performance::CooperativeTaskManager::RoundRobinTaskSession::onProcess+00000210
[ 81] 0x00007ff8f493f3d4 D:\Program Files\MATLAB\R2021b\bin\win64\performance.dll+00259028 Performance::CooperativeTaskManager::Task::process+00000580
[ 82] 0x00007ff8f493fc9f D:\Program Files\MATLAB\R2021b\bin\win64\performance.dll+00261279 Performance::CooperativeTaskManager::shutDown+00000543
[ 83] 0x00007ff8f4912773 D:\Program Files\MATLAB\R2021b\bin\win64\performance.dll+00075635 Performance::CooperativeTaskManager::Task::setName+00051731
[ 84] 0x00007ff8f492bb40 D:\Program Files\MATLAB\R2021b\bin\win64\performance.dll+00179008 std::enable_shared_from_this<Performance::AsyncBatcher::BatcherBase>::operator=+00024720
[ 85] 0x00007ff91deae01a D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00778266 iqm::PackagedTaskPlugin::execute+00000074
[ 86] 0x00007ff91dcc709d D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00487581 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00007213
[ 87] 0x00007ff91de85292 D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00610962 iqm::Iqm::setupIqmFcnPtrs+00094562
[ 88] 0x00007ff91de583b1 D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00426929 iqm::Iqm::create+00007521
[ 89] 0x00007ff91dc03ae5 D:\Program Files\MATLAB\R2021b\bin\win64\libmwbridge.dll+00080613 ioReadLine+00000501
[ 90] 0x00007ff91dc038b5 D:\Program Files\MATLAB\R2021b\bin\win64\libmwbridge.dll+00080053 ioReadLine+00000165
[ 91] 0x00007ff91dc14c50 D:\Program Files\MATLAB\R2021b\bin\win64\libmwbridge.dll+00150608 mnGetCommandLineBuffer+00000288
[ 92] 0x00007ff91dc150e2 D:\Program Files\MATLAB\R2021b\bin\win64\libmwbridge.dll+00151778 mnParser+00000466
[ 93] 0x00007ff91dccc666 D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00509542 mcr_set_enableReadingFromStdin+00013094
[ 94] 0x00007ff91dc6fd03 D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00130307 mcrFunctionSignature::set_signature+00109267
[ 95] 0x00007ff91dc8cd60 D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00249184 mcrFunctionSignature::set_signature+00228144
[ 96] 0x00007ff91deae01a D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00778266 iqm::PackagedTaskPlugin::execute+00000074
[ 97] 0x00007ff91dcc709d D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00487581 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00007213
[ 98] 0x00007ff91de85292 D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00610962 iqm::Iqm::setupIqmFcnPtrs+00094562
[ 99] 0x00007ff91de596f6 D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00431862 iqm::Iqm::create+00012454
[100] 0x00007ff91de58de2 D:\Program Files\MATLAB\R2021b\bin\win64\iqm.dll+00429538 iqm::Iqm::create+00010130
[101] 0x00007ff91dca6b9c D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00355228 mcrInstantiationError::operator=+00010444
[102] 0x00007ff91dca75f5 D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00357877 mcrInstantiationError::operator=+00013093
[103] 0x00007ff91dca4d70 D:\Program Files\MATLAB\R2021b\bin\win64\mcr.dll+00347504 mcrInstantiationError::operator=+00002720
[104] 0x00007ff966389baa D:\Program Files\MATLAB\R2021b\bin\win64\mwboost_thread-vc142-mt-x64-1_72.dll+00039850 mwboost::thread::swap+00000074
[105] 0x00007ff9e0609363 C:\Windows\System32\ucrtbase.dll+00168803 recalloc+00000163
[106] 0x00007ff9e27426ad C:\Windows\System32\KERNEL32.DLL+00075437 BaseThreadInitThunk+00000029
[107] 0x00007ff9e2fca9f8 C:\Windows\SYSTEM32\ntdll.dll+00371192 RtlUserThreadStart+00000040
Program State:
Most Recent Simulink Activity:
saveModelAction : OK in editor 5 at Fri Jul 7 11:15:35 2023
playSimulationAction : OK in editor 5 at Fri Jul 7 11:14:49 2023
playSimulationAction : OK in editor 5 at Fri Jul 7 11:10:18 2023
saveModelAction : OK in editor 5 at Fri Jul 7 11:10:09 2023
Rename Block : OK in editor 5 at Fri Jul 7 11:09:42 2023
Create Segment : OK in editor 5 at Fri Jul 7 11:09:22 2023
Copy : OK in editor 5 at Fri Jul 7 11:09:20 2023
showLibraryBrowserAction : OK in editor 5 at Fri Jul 7 11:09:16 2023
Create Segment : OK in editor 5 at Fri Jul 7 11:09:13 2023
Create Segment : OK in editor 5 at Fri Jul 7 11:09:12 2023
Most Recent Tool Interaction:
Editor 1: tools idle, no most recently active tool Editor 2: tools idle, no most recently active tool Editor 3: tools idle, no most recently active tool Editor 4: tools idle, no most recently active tool Editor 5: tools idle, class GLUE2::PanZoomTool is most recently active tool since Fri Jul 7 11:14:48 2023
Editor 6: tools idle, no most recently active tool Editor 7: tools idle, no most recently active tool
1 Kommentar
Keshav
am 23 Aug. 2023
Hi,
Please contact MathWorks Support here https://in.mathworks.com/support/contact_us.html
Antworten (0)
Kategorien
Mehr zu Naming Conventions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!