Error with holder block and Stateflow

3 次查看(过去 30 天)
Hi,
I'm having problems with the holder block and Stateflow If I try to start the simulation, then I get an Assertion Error reported by Stateflow and Simulink, with summary id>0 && id<pool_capacity && object[id]!=NULL.
This is the full output in the matlab command window when this happens:
In stateflow\private\get_port_bus_object_or_expression at 19 failed assertion in b:\matlab\toolbox\stateflow\src\stateflow\fsm\data.cpp at line 209:
id>0 && id<pool_capacity && object[id]!=NULL
Stack Trace:
[ 0] 0x000000006f96dba4 C:\Program Files\MATLAB\R2013b\bin\win64\libmwfl.dll+00056228 fl::diag::stacktrace_base::rend+00000612
[ 1] 0x000000006f96e0ce C:\Program Files\MATLAB\R2013b\bin\win64\libmwfl.dll+00057550 fl::diag::stacktrace_base::stacktrace_base+00000030
[ 2] 0x000000000421ad87 C:\Program Files\MATLAB\R2013b\bin\win64\libut.dll+00109959 utDumpStackTrace+00000487
[ 3] 0x00000000ca9cea95 C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+03402389 SF::get_last_error+00002469
[ 4] 0x00000000ca8f181e C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02496542 SF::passthrough::getProgramCounterTooltip+00018414
[ 5] 0x00000000ca903dad C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02571693 SF::sf_mexFunction+00015453
[ 6] 0x00000000ca8f9ece C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02531022 SF::passthrough::getProgramCounterTooltip+00052894
[ 7] 0x00000000ca8fa26a C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02531946 SF::passthrough::getProgramCounterTooltip+00053818
[ 8] 0x00000000ca9b5aa9 C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+03300009 SF::passthrough::computeUEOffsets+00183689
[ 9] 0x000000006c6875fb C:\Program Files\MATLAB\R2013b\bin\win64\udd.dll+00226811 UDInterface::get+00000347
[ 10] 0x000000006b328e61 C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00233057 MErrorException::~MErrorException+00001153
[ 11] 0x000000006b324490 C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00214160 MErrorException::sendErrorToMatlab+00009616
[ 12] 0x000000006b324490 C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00214160 MErrorException::sendErrorToMatlab+00009616
[ 13] 0x000000006b331f4b C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00270155 registerCheckIfHG2ObjectFcn+00020443
[ 14] 0x000000006b331ffd C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00270333 registerCheckIfHG2ObjectFcn+00020621
[ 15] 0x000000006c68b6e6 C:\Program Files\MATLAB\R2013b\bin\win64\udd.dll+00243430 UDMethodInfo::invokeMethodE+00000038
[ 16] 0x000000006b3344a0 C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00279712 registerCheckIfHG2ObjectFcn+00030000
[ 17] 0x000000006b334766 C:\Program Files\MATLAB\R2013b\bin\win64\udd_mi.dll+00280422 registerCheckIfHG2ObjectFcn+00030710
[ 18] 0x000000000580ccb0 C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00249008 mcos::COSJITInterface::isArrayHandle+00002624
[ 19] 0x000000018000da40 C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00055872 Mfh_MATLAB_fn::dispatch_fh+00000464
[ 20] 0x000000000583e140 C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00450880 mcos::COSNameID::COSNameID+00000112
[ 21] 0x000000018000defa C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00057082 Mfunction_handle::dispatch+00000810
[ 22] 0x0000000004f26a81 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00486017 inFunctionHandleInterface::DestroyWorkspace+00308737
[ 23] 0x0000000004f2303e C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00471102 inFunctionHandleInterface::DestroyWorkspace+00293822
[ 24] 0x0000000004f0b85f C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00374879 inFunctionHandleInterface::DestroyWorkspace+00197599
[ 25] 0x0000000004f0b7c8 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00374728 inFunctionHandleInterface::DestroyWorkspace+00197448
[ 26] 0x0000000004f2ebbd C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00519101 inFunctionHandleInterface::DestroyWorkspace+00341821
[ 27] 0x0000000004f2b5cc C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00505292 inFunctionHandleInterface::DestroyWorkspace+00328012
[ 28] 0x0000000004f0e529 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00386345 inFunctionHandleInterface::DestroyWorkspace+00209065
[ 29] 0x000000018000d612 C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00054802 Mfh_file::dispatch_fh+00000674
[ 30] 0x000000018000defa C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00057082 Mfunction_handle::dispatch+00000810
[ 31] 0x0000000004ed05d6 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00132566 inMexCallMATLAB+00003110
[ 32] 0x0000000004ebfbd7 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00064471 inCallFcn+00000071
[ 33] 0x0000000017f8de7c C:\Program Files\MATLAB\R2013b\bin\win64\sl_services.dll+00253564 slsvFEVAL+00000076
[ 34] 0x00000000ca8fdeb9 C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02547385 SF::BadgesRegistry::operator=+00005065
[ 35] 0x00000000ca9ff372 C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+03601266 SF::get_last_error+00201346
[ 36] 0x00000000ca8fd0f2 C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02543858 SF::BadgesRegistry::operator=+00001538
[ 37] 0x00000000ca900162 C:\Program Files\MATLAB\R2013b\bin\win64\stateflow.dll+02556258 SF::sf_mexFunction+00000018
[ 38] 0x000000006d76f741 C:\Program Files\MATLAB\R2013b\bin\win64\libmex.dll+00063297 mexRunMexFile+00000129
[ 39] 0x000000006d76e212 C:\Program Files\MATLAB\R2013b\bin\win64\libmex.dll+00057874 inSwapMexfileReader+00000226
[ 40] 0x000000006d76f2c4 C:\Program Files\MATLAB\R2013b\bin\win64\libmex.dll+00062148 _constructor_lm_mexmaci64+00001620
[ 41] 0x000000018000d612 C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00054802 Mfh_file::dispatch_fh+00000674
[ 42] 0x000000018000defa C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00057082 Mfunction_handle::dispatch+00000810
[ 43] 0x0000000004ed05d6 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00132566 inMexCallMATLAB+00003110
[ 44] 0x0000000004ebfbd7 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00064471 inCallFcn+00000071
[ 45] 0x00000000053222d0 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+04661968 MathWorks::lxe::VariablesChangedEvent::~VariablesChangedEvent+00006992
[ 46] 0x00000000052d0134 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+04325684 inCallFcnInDesiredWS+00000084
[ 47] 0x0000000017f8dc0b C:\Program Files\MATLAB\R2013b\bin\win64\sl_services.dll+00252939 CMatlabCommandNoWatermark::execute+00000219
[ 48] 0x0000000017f8f201 C:\Program Files\MATLAB\R2013b\bin\win64\sl_services.dll+00258561 CMatlabCommand::execute+00000161
[ 49] 0x0000000017f8f857 C:\Program Files\MATLAB\R2013b\bin\win64\sl_services.dll+00260183 slsvFEVAL_NoThrow+00000151
[ 50] 0x000000001724c12b C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+10928427 SFSignalResolveAPI::~SFSignalResolveAPI+00003931
[ 51] 0x0000000016b2933f C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+03445567 SlSigHierInfoIter::getCompleteSignalName+00047775
[ 52] 0x0000000016b29db3 C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+03448243 SlSigHierInfoIter::getCompleteSignalName+00050451
[ 53] 0x0000000016b2a4a2 C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+03450018 SlSigHierInfoIter::getCompleteSignalName+00052226
[ 54] 0x0000000016b3401c C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+03489820 SlSigHierInfoIter::getCompleteSignalName+00092028
[ 55] 0x0000000016cd7011 C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+05206033 DACompDomainMgr::InitializeForCompile+00137345
[ 56] 0x0000000016d8ab2e C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+05942062 ReportDimsBlockMsg+00321822
[ 57] 0x0000000016d8ef6e C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+05959534 ReportDimsBlockMsg+00339294
[ 58] 0x0000000016d90a55 C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+05966421 ReportDimsBlockMsg+00346181
[ 59] 0x0000000016d75bc1 C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+05856193 ReportDimsBlockMsg+00235953
[ 60] 0x0000000016d499eb C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+05675499 ReportDimsBlockMsg+00055259
[ 61] 0x00000000167fcc87 C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+00117895 SLGlue::operator>>+00004807
[ 62] 0x000000001680ba3d C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+00178749 SFSignalResolveAPI::operator=+00004157
[ 63] 0x0000000016fb5ebf C:\Program Files\MATLAB\R2013b\bin\win64\libmwsimulink.dll+08216255 SLGlue::simulationStartPauseContinue+00000255
[ 64] 0x00000000cb814ae0 C:\Program Files\MATLAB\R2013b\bin\win64\sl_mi.dll+00019168
[ 65] 0x00000000057e702f C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00094255 mcos::COSTypeRepository::getConversion+00010527
[ 66] 0x0000000005801b2c C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00203564 mcos::COSMethodInfo::isStatic+00002604
[ 67] 0x00000000058061ef C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00221679 omDoesClassImplementSubsasgn+00001183
[ 68] 0x0000000005806ef2 C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00225010 omDoesClassImplementSubsasgn+00004514
[ 69] 0x0000000005808c2d C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00232493 mcos::COSJITInterface::getPropertyID+00002237
[ 70] 0x0000000005824746 C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00345926 mcos::AbstractClassInfo::isSealed+00000134
[ 71] 0x000000018000da40 C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00055872 Mfh_MATLAB_fn::dispatch_fh+00000464
[ 72] 0x000000000583e140 C:\Program Files\MATLAB\R2013b\bin\win64\mcos.dll+00450880 mcos::COSNameID::COSNameID+00000112
[ 73] 0x000000018000defa C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00057082 Mfunction_handle::dispatch+00000810
[ 74] 0x000000018000a762 C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00042850 mdMxarrayFunctionHandle::pre_dec_ref_count+00001298
[ 75] 0x000000018000f4cf C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00062671 mdMxarrayFunctionHandle::isHiddenFunctionBinding+00000495
[ 76] 0x0000000004717384 C:\Program Files\MATLAB\R2013b\bin\win64\libmx.dll+00291716 mxFevalFunctionHandle+00000036
[ 77] 0x0000000004fa0b5c C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00985948 inFullFevalFcn+00000140
[ 78] 0x000000018000d7ff C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00055295 Mfh_file::dispatch_fh+00001167
[ 79] 0x000000018000ddb7 C:\Program Files\MATLAB\R2013b\bin\win64\m_dispatcher.dll+00056759 Mfunction_handle::dispatch+00000487
[ 80] 0x0000000004ed05d6 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00132566 inMexCallMATLAB+00003110
[ 81] 0x0000000004ed0412 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+00132114 inMexCallMATLAB+00002658
[ 82] 0x00000000053b85e1 C:\Program Files\MATLAB\R2013b\bin\win64\m_interpreter.dll+05277153 inCallFcnWithTrap+00000081
[ 83] 0x0000000070c1ce5f C:\Program Files\MATLAB\R2013b\bin\win64\dastudio.dll+02149983 SafeCallMatlab+00000191
[ 84] 0x0000000070c159d5 C:\Program Files\MATLAB\R2013b\bin\win64\dastudio.dll+02120149 ActionSchema::invokeCallback+00000117
[ 85] 0x0000000070c1aa2c C:\Program Files\MATLAB\R2013b\bin\win64\dastudio.dll+02140716 DigCallbackInvoker::invokeUDI+00000188
[ 86] 0x0000000070c1abba C:\Program Files\MATLAB\R2013b\bin\win64\dastudio.dll+02141114 DigDefaultCallbackInvoker::invoke+00000058
[ 87] 0x0000000070cec61f C:\Program Files\MATLAB\R2013b\bin\win64\dastudio.dll+02999839 DeferredManager::exitTest+00000031
[ 88] 0x000000006b01fa96 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00391830 UIW_IsUserMessage+00000086
[ 89] 0x000000006b020175 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00393589 UIW_SetGLIMUserMsg+00000117
[ 90] 0x000000006b0201f9 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00393721 UIW_SetGLIMUserMsg+00000249
[ 91] 0x0000000077568802 C:\Windows\system32\USER32.dll+00165890 GetMenuBarInfo+00000626
[ 92] 0x000000007754f5e7 C:\Windows\system32\USER32.dll+00062951 SystemParametersInfoW+00000247
[ 93] 0x0000000077554869 C:\Windows\system32\USER32.dll+00084073 IsProcessDPIAware+00000453
[ 94] 0x000000007768ba75 C:\Windows\SYSTEM32\ntdll.dll+00309877 KiUserCallbackDispatcher+00000031
[ 95] 0x0000000077559e9a C:\Windows\system32\USER32.dll+00106138 SfmDxSetSwapChainStats+00000026
[ 96] 0x000000007755616e C:\Windows\system32\USER32.dll+00090478 GetMessageA+00000078
[ 97] 0x000000006aff9b34 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00236340 win_sleep+00000868
[ 98] 0x000000006c715529 C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00021801 ioCmdLineEditSave+00001065
[ 99] 0x000000006c7182ee C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00033518 ioCmdLineEditSave+00012782
[100] 0x000000006c718676 C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00034422 ioReadLine+00000118
[101] 0x000000006c71870e C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00034574 ioReadLine+00000270
[102] 0x000000006c71c5e9 C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00050665 mnInitializeParser+00001529
[103] 0x000000006c71c6a5 C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00050853 mnInitializeParser+00001717
[104] 0x000000006c71ce66 C:\Program Files\MATLAB\R2013b\bin\win64\libmwbridge.dll+00052838 mnParser+00000454
[105] 0x000000006e4ff4b4 C:\Program Files\MATLAB\R2013b\bin\win64\mcr.dll+00193716 mcrInstance::mnParser_on_interpreter_thread+00000036
[106] 0x000000006e4e44b0 C:\Program Files\MATLAB\R2013b\bin\win64\mcr.dll+00083120 mcr::runtime::setInterpreterThreadToCurrent+00029472
[107] 0x000000006e4e4510 C:\Program Files\MATLAB\R2013b\bin\win64\mcr.dll+00083216 mcr::runtime::setInterpreterThreadToCurrent+00029568
[108] 0x000000006b01fa96 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00391830 UIW_IsUserMessage+00000086
[109] 0x000000006b020175 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00393589 UIW_SetGLIMUserMsg+00000117
[110] 0x000000006b0201f9 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00393721 UIW_SetGLIMUserMsg+00000249
[111] 0x0000000077568802 C:\Windows\system32\USER32.dll+00165890 GetMenuBarInfo+00000626
[112] 0x000000007754f5e7 C:\Windows\system32\USER32.dll+00062951 SystemParametersInfoW+00000247
[113] 0x0000000077554869 C:\Windows\system32\USER32.dll+00084073 IsProcessDPIAware+00000453
[114] 0x000000007768ba75 C:\Windows\SYSTEM32\ntdll.dll+00309877 KiUserCallbackDispatcher+00000031
[115] 0x00000000775590ca C:\Windows\system32\USER32.dll+00102602 PeekMessageW+00000186
[116] 0x00000000775550de C:\Windows\system32\USER32.dll+00086238 GetKeyState+00000238
[117] 0x0000000077553a47 C:\Windows\system32\USER32.dll+00080455 PeekMessageA+00000087
[118] 0x000000006aff94db C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00234715 UIW_SetCurrentDialog+00000731
[119] 0x000000006b021632 C:\Program Files\MATLAB\R2013b\bin\win64\uiw.dll+00398898 ws_FreeSystemFont+00000482
[120] 0x000000006f156600 C:\Program Files\MATLAB\R2013b\bin\win64\libmwservices.dll+01009152 services::system_events::PpeDispatchHook::~PpeDispatchHook+00055552
[121] 0x000000006f156fc5 C:\Program Files\MATLAB\R2013b\bin\win64\libmwservices.dll+01011653 services::system_events::PpeDispatchHook::~PpeDispatchHook+00058053
[122] 0x000000006f157e10 C:\Program Files\MATLAB\R2013b\bin\win64\libmwservices.dll+01015312 services::system_events::PpeDispatchHook::~PpeDispatchHook+00061712
[123] 0x000000006f160596 C:\Program Files\MATLAB\R2013b\bin\win64\libmwservices.dll+01050006 sysq::removeProcessPendingEventsHook+00010998
[124] 0x000000006f16089a C:\Program Files\MATLAB\R2013b\bin\win64\libmwservices.dll+01050778 svWS_ProcessPendingEvents+00000138
[125] 0x000000006e4e552d C:\Program Files\MATLAB\R2013b\bin\win64\mcr.dll+00087341 mcr::runtime::setInterpreterThreadToCurrent+00033693
[126] 0x000000006e4e57fb C:\Program Files\MATLAB\R2013b\bin\win64\mcr.dll+00088059 mcr::runtime::setInterpreterThreadToCurrent+00034411
[127] 0x000000006e4d9545 C:\Program Files\MATLAB\R2013b\bin\win64\mcr.dll+00038213 mcrInstantiationError::operator=+00003221
i appreciate any help Jay

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Thermal Analysis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by