Matlab crashes when using stateflow library block.
3 views (last 30 days)
Show older comments
When working in my stateflow model, matlab crashes very often at 'random' times giving me this error:
------------------------------------------------------------------------ std::terminate() detected at Mon Jul 16 14:00:06 2018 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled - No sandbox or build area path Crash Mode : continue (default) Current Graphics Driver: NVIDIA Corporation Quadro M1200/PCIe/SSE2 Version 4.6.0 NVIDIA 391.74 Default Encoding : windows-1252 Deployed : false Graphics card 1 : Intel Corporation ( 0x8086 ) Intel® HD Graphics 630 Version 23.20.16.5018 Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA Quadro M1200 Version 23.21.13.9174 Host Name : DESKTOP-EPRF11N MATLAB Architecture : win64 MATLAB Entitlement ID: 4605909 MATLAB Root : C:\Program Files\MATLAB\R2016b MATLAB Version : 9.1.0.441655 (R2016b) OpenGL : hardware Operating System : Microsoft Windows 10 Pro Processor ID : x86 Family 6 Model 158 Stepping 9, GenuineIntel Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode Window System : Version 10.0 (Build 17134)
Fault Count: 1
Abnormal termination: std::terminate()
Register State (captured): RAX = 00000000fe9df2e8 RBX = 00000000fe9df2e8 RCX = 00000000043f6a90 RDX = 0000000000000000 RSP = 00000000043f6a10 RBP = 00000000043f79a0 RSI = 00000000fe9df2e8 RDI = 0000000000000000
R8 = 0000000000000000 R9 = 00007ffc69830000
R10 = 00000000fe9cf290 R11 = 00000000fe9cf290
R12 = 0000000000000000 R13 = 00000000043f70d0
R14 = 00000000fe9cf218 R15 = 00000000fe9df268
RIP = 00000000fe80971a EFL = 00000202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured): [ 0] 0x00000000fe804153 C:\Program Files\MATLAB\R2016b\bin\win64\libmwfl.dll+00082259 fl::diag::thread_context::unspecified_bool+00000051 [ 1] 0x00000000fe802a68 C:\Program Files\MATLAB\R2016b\bin\win64\libmwfl.dll+00076392 fl::diag::stacktrace_base::capture+00000024 [ 2] 0x00000000fe805b2a C:\Program Files\MATLAB\R2016b\bin\win64\libmwfl.dll+00088874 fl::diag::thread_context::unspecified_bool+00006666 [ 3] 0x00000000fe8084b7 C:\Program Files\MATLAB\R2016b\bin\win64\libmwfl.dll+00099511 fl::test::terminate_handler::~terminate_handler+00003207 [ 4] 0x0000000015bbdcf5 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00580853 mnShutdownMCR+00022277 [ 5] 0x0000000015bbd9f8 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00580088 mnShutdownMCR+00021512 [ 6] 0x0000000015bbdb0a C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00580362 mnShutdownMCR+00021786 [ 7] 0x0000000015bbafeb C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00569323 mnShutdownMCR+00010747 [ 8] 0x0000000015bbe7c8 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00583624 mnSetSegvServiceUrl+00000168 [ 9] 0x00007ffc6989ddb0 C:\Program Files\MATLAB\R2016b\bin\win64\MSVCR120.dll+00449968 purecall+00000024 [ 10] 0x00000001196431b2 C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll+19149234 SLResolverSupport::getObjectType+00000018 [ 11] 0x00000000fff89a67 C:\Program Files\MATLAB\R2016b\bin\win64\simulink_resolver.dll+00105063 Simulink::SLObjectImpl::getType+00000151 [ 12] 0x00000000fff8abbe C:\Program Files\MATLAB\R2016b\bin\win64\simulink_resolver.dll+00109502 Simulink::SLObjectImpl::isGraph+00002334 [ 13] 0x00000000ff8c291b C:\Program Files\MATLAB\R2016b\bin\win64\diagram_resolver.dll+00076059 diagram::listenForObjectIsAboutToBeDestroyed+00000043 [ 14] 0x000000013f0f1144 C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+04133188 GLUE2::StylerDB::getGLUE2Style+00002164 [ 15] 0x000000013ef4ad5e C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+02403678 GLUE2::Glyph::getStyleOptions+00000190 [ 16] 0x000000013ef4acba C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+02403514 GLUE2::Glyph::getStyleOptions+00000026 [ 17] 0x00000001c20d0cd6 C:\Program Files\MATLAB\R2016b\bin\win64\sf_editor.dll+00789718 StateflowDI::Editor::updateGraphLocation+00121638 [ 18] 0x00000001c20d1b07 C:\Program Files\MATLAB\R2016b\bin\win64\sf_editor.dll+00793351 StateflowDI::Editor::updateGraphLocation+00125271 [ 19] 0x00000001c20cf1d6 C:\Program Files\MATLAB\R2016b\bin\win64\sf_editor.dll+00782806 StateflowDI::Editor::updateGraphLocation+00114726 [ 20] 0x000000013ef4a83e C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+02402366 GLUE2::Glyph::doUpdate+00000062 [ 21] 0x000000013ef4b9da C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+02406874 GLUE2::Glyph::setSelectedType+00000266 [ 22] 0x000000013eec9da2 C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+01875362 GLUE2::Graphics::suppressBadges+00004770 [ 23] 0x000000013eec3755 C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+01849173 GLUE2::Graphics::forceUpdateInvalidatedGlyphs+00000581 [ 24] 0x000000013eec0f8f C:\Program Files\MATLAB\R2016b\bin\win64\glue2.dll+01838991 GLUE2::PanelRegistry::d_func+00000751 [ 25] 0x00000000f1841c51 C:\Program Files\MATLAB\R2016b\bin\win64\glee_util.dll+00531537 GLIM::ConnectedPacket::deliver+00000049 [ 26] 0x00000000f18461e6 C:\Program Files\MATLAB\R2016b\bin\win64\glee_util.dll+00549350 GLIM::Thread::processCurrentQueue+00000150 [ 27] 0x00000000fc65f81e C:\Program Files\MATLAB\R2016b\bin\win64\glee.dll+00260126 GLDebugOutputLogging::output+00001054 [ 28] 0x00000000fc6462e8 C:\Program Files\MATLAB\R2016b\bin\win64\glee.dll+00156392 checkMultiMVM+00029144 [ 29] 0x00000000fc65605c C:\Program Files\MATLAB\R2016b\bin\win64\glee.dll+00221276 GLIMMessageBlocker::~GLIMMessageBlocker+00005820 [ 30] 0x00000000fc6409c0 C:\Program Files\MATLAB\R2016b\bin\win64\glee.dll+00133568 checkMultiMVM+00006320 [ 31] 0x00000000fc6590ea C:\Program Files\MATLAB\R2016b\bin\win64\glee.dll+00233706 GLIMMessageBlocker::~GLIMMessageBlocker+00018250 [ 32] 0x00000000fcff9a37 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00432695 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727 [ 33] 0x00000000fcffa08f C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00434319 iqm::PackagedTaskPlugin::execute+00000575 [ 34] 0x00000000fcff9aa9 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00432809 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841 [ 35] 0x00000000fcff9f04 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00433924 iqm::PackagedTaskPlugin::execute+00000180 [ 36] 0x0000000015b7b185 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00307589 mcrRegisterExternalFunction+00036469 [ 37] 0x00000000fcfd42fa C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00279290 iqm::Iqm::setupIqmFcnPtrs+00071530 [ 38] 0x00000000fcfd41d3 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00278995 iqm::Iqm::setupIqmFcnPtrs+00071235 [ 39] 0x00000000fcfb95a5 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00169381 iqm::Iqm::deliver+00001045 [ 40] 0x00000000fb5fb545 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00046405 ioReadLine+00000293 [ 41] 0x00000000fb5fb342 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00045890 ioCmdLineEditSave+00019986 [ 42] 0x00000000fb5fb40b C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00046091 ioReadLine+00000107 [ 43] 0x00000000fb609691 C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00104081 mnDebugPrompt+00001521 [ 44] 0x00000000fb6091ba C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00102842 mnDebugPrompt+00000282 [ 45] 0x00000000fb6098fa C:\Program Files\MATLAB\R2016b\bin\win64\libmwbridge.dll+00104698 mnParser+00000410 [ 46] 0x0000000015b66841 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00223297 mcr::runtime::setInterpreterThreadToCurrent+00025585 [ 47] 0x0000000015b657d7 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00219095 mcr::runtime::setInterpreterThreadToCurrent+00021383 [ 48] 0x0000000015b65853 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00219219 mcr::runtime::setInterpreterThreadToCurrent+00021507 [ 49] 0x0000000015b66141 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00221505 mcr::runtime::setInterpreterThreadToCurrent+00023793 [ 50] 0x00000000fd01d347 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00578375 iqm::UserEvalPlugin::pre+00030679 [ 51] 0x00000000fd029e7c C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00630396 iqm::UserEvalPlugin::pre+00082700 [ 52] 0x00000000fd017480 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00554112 iqm::UserEvalPlugin::pre+00006416 [ 53] 0x00000000fd02c99a C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00641434 iqm::UserEvalPlugin::pre+00093738 [ 54] 0x00000000fcff9a37 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00432695 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727 [ 55] 0x00000000fcffa08f C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00434319 iqm::PackagedTaskPlugin::execute+00000575 [ 56] 0x00000000fcff9aa9 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00432809 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841 [ 57] 0x00000000fcff9f04 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00433924 iqm::PackagedTaskPlugin::execute+00000180 [ 58] 0x00000000fcfd42fa C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00279290 iqm::Iqm::setupIqmFcnPtrs+00071530 [ 59] 0x00000000fcfd41d3 C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00278995 iqm::Iqm::setupIqmFcnPtrs+00071235 [ 60] 0x00000000fcfb9e5a C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00171610 iqm::Iqm::deliver+00003274 [ 61] 0x00000000fcfbad2f C:\Program Files\MATLAB\R2016b\bin\win64\iqm.dll+00175407 iqm::Iqm::deliver+00007071 [ 62] 0x0000000100108173 C:\Program Files\MATLAB\R2016b\bin\win64\libmwservices.dll+01147251 services::system_events::PpeDispatchHook::dispatchOne+00019059 [ 63] 0x000000010010c3a3 C:\Program Files\MATLAB\R2016b\bin\win64\libmwservices.dll+01164195 sysq::addProcessPendingEventsUnitTestHook+00001923 [ 64] 0x000000010010c580 C:\Program Files\MATLAB\R2016b\bin\win64\libmwservices.dll+01164672 sysq::addProcessPendingEventsUnitTestHook+00002400 [ 65] 0x000000010010d685 C:\Program Files\MATLAB\R2016b\bin\win64\libmwservices.dll+01169029 sysq::getCondition+00002917 [ 66] 0x000000010010e4b2 C:\Program Files\MATLAB\R2016b\bin\win64\libmwservices.dll+01172658 svWS_ProcessPendingEvents+00000162 [ 67] 0x0000000015b66b7d C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00224125 mcr::runtime::setInterpreterThreadToCurrent+00026413 [ 68] 0x0000000015b6726a C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00225898 mcr::runtime::setInterpreterThreadToCurrent+00028186 [ 69] 0x0000000015b5e385 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00189317 mcr_process_events+00010293 [ 70] 0x0000000015b602d2 C:\Program Files\MATLAB\R2016b\bin\win64\mcr.dll+00197330 mcr_process_events+00018306 [ 71] 0x0000000015a0bd0e C:\Program Files\MATLAB\R2016b\bin\win64\MVMLocal.dll+00245006 mvm_server::inproc::LocalFactory::terminate+00070846 [ 72] 0x00000000fa942cd9 C:\Program Files\MATLAB\R2016b\bin\win64\mvm.dll+01125593 mvm::detail::initLocalMvmHack+00000521 [ 73] 0x00000000fa9432a5 C:\Program Files\MATLAB\R2016b\bin\win64\mvm.dll+01127077 mvm::detail::SessionImpl::privateSession+00000373 [ 74] 0x00000000fa9434b1 C:\Program Files\MATLAB\R2016b\bin\win64\mvm.dll+01127601 mvm::detail::SessionImpl::privateSession+00000897 [ 75] 0x0000000140006fd5 C:\Program Files\MATLAB\R2016b\bin\win64\MATLAB.exe+00028629 [ 76] 0x0000000140007661 C:\Program Files\MATLAB\R2016b\bin\win64\MATLAB.exe+00030305 [ 77] 0x00007ffc717e3034 C:\WINDOWS\System32\KERNEL32.DLL+00077876 BaseThreadInitThunk+00000020 [ 78] 0x00007ffc73851431 C:\WINDOWS\SYSTEM32\ntdll.dll+00463921 RtlUserThreadStart+00000033
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
What could be the issue here? It is a Simulink model with custom library blocks in it, which are stateflow charts. MATLAB crashes when editing the code in the stateflow chart, so not during simulation.
Kind regards, Brecht
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!