MATLAB crashed when running MATLAB Coder.

27 views (last 30 days)
When I try to generate C code by using MATLAB coder.
MATLAB coder->
check for run-time issues->
generating trial code...
Then MATLAB dumped.
It is a 100% problem.
The crash log is below :
___________________________________________________
Assertion detected at 2021-11-30 16:00:32 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : GBK
Deployed : false
Graphics Driver : ATI Technologies Inc. AMD Radeon(TM) Graphics Version 4.5.14761 Compatibility Profile Context 21.30.14.04 30.0.13014.4003
Graphics Text Issue Info : xmin=-22.800001, ymin=-6.300000, xmax=0.000000, ymax=6.300000
Graphics card 1 : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon(TM) Graphics Version 30.0.13014.4003 (2021-11-5)
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 : 4628136
MATLAB Root : D:\01_Softwares\25_MATLAB
MATLAB Version : 9.11.0.1809720 (R2021b) Update 1
OpenGL : hardware
Operating System : Microsoft Windows 11 家庭中文版
Process ID : 10440
Processor ID : x86 Family 143 Model 104 Stepping 1, AuthenticAMD
Session Key : ------
Window System : Version 10.0 (Build 22000)
Fault Count: 1
Assertion at B:\matlab\src\cg_ir\classic\cycle_equiv\CycleEquivalence.cpp line 216:
In getClass: edge has no entry in CycleEquivalence::getClass
Current Thread: 'MCR 0 interpreter thread' id 17776
Register State (captured):
RAX = 00007ffb73bdd9d8 RBX = 00007ffb73bdd9d8
RCX = 000000486fde9bf0 RDX = 0000000000000000
RSP = 000000486fde9b30 RBP = 00000000000000d8
RSI = 00007ffaf7682e28 RDI = 00007ffb73bdd9d8
R8 = 0000000000000003 R9 = 000000486fde9aa8
R10 = 0000000000000014 R11 = 00007ffb73bcda3a
R12 = 000000486fdea810 R13 = 000000486fdeb5c0
R14 = 00007ffb73bcd918 R15 = 000000486fdea220
RIP = 00007ffb73ab138a EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00007ffb73aaa043 D:\01_Softwares\25_MATLAB\bin\win64\libmwfl.dll+00041027 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00007ffb73aa7338 D:\01_Softwares\25_MATLAB\bin\win64\libmwfl.dll+00029496 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00007ffb73aaccee D:\01_Softwares\25_MATLAB\bin\win64\libmwfl.dll+00052462 foundation::core::diag::symbols::getSymbolAddress+00010334
[ 3] 0x00007ffb73aabe91 D:\01_Softwares\25_MATLAB\bin\win64\libmwfl.dll+00048785 foundation::core::diag::symbols::getSymbolAddress+00006657
[ 4] 0x00007ffb73ab0cfd D:\01_Softwares\25_MATLAB\bin\win64\libmwfl.dll+00068861 foundation::core::diag::terminate+00000077
[ 5] 0x00007ffaf7c9a010 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+01679376 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00386736
[ 6] 0x00007ffaf75cf53a D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+05240122 client_assertion_failed+00000026
[ 7] 0x00007ffaf721848a D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01344650 CG::CycleEquivalence::getClass+00000122
[ 8] 0x00007ffaf7204cd4 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01264852 CG::CycleEquivalence::numClasses+00000324
[ 9] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 10] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 11] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 12] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 13] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 14] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 15] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 16] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 17] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 18] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 19] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 20] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 21] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 22] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 23] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 24] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 25] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 26] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 27] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 28] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 29] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 30] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 31] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 32] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 33] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 34] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 35] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 36] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 37] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 38] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 39] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 40] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 41] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 42] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 43] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 44] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 45] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 46] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 47] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 48] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 49] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 50] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 51] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 52] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 53] 0x00007ffaf7204d90 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01265040 CG::CycleEquivalence::numClasses+00000512
[ 54] 0x00007ffaf7203d26 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01260838 CG::CycleEquivalence::cfg+00000678
[ 55] 0x00007ffaf72040b7 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+01261751 cg_cfg_build_pst+00000087
[ 56] 0x00007ffaf7376436 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+02778166 CG::Pst::unnormalizedRegions+00017366
[ 57] 0x00007ffaf73732ad D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+02765485 CG::Pst::unnormalizedRegions+00004685
[ 58] 0x00007ffaf7373313 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+02765587 CG::Pst::unnormalizedRegions+00004787
[ 59] 0x00007ffaf7371ae5 D:\01_Softwares\25_MATLAB\bin\win64\cg_ir.dll+02759397 CG::Pst::Pst+00000085
[ 60] 0x00007ffaf0d0d78a D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00710538 EML::COV::createLoggingInstanceVar+00001802
[ 61] 0x00007ffaf0d125fb D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00730619 EML::COV::createLoggingInstanceVar+00021883
[ 62] 0x00007ffaf0d12f23 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00732963 EML::COV::createLoggingInstanceVar+00024227
[ 63] 0x00007ffaf0ca426e D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00279150 CG::GenericTagCategory<EML::SysObjMethodTag,0>::iterator+00002958
[ 64] 0x00007ffaf0ca5bd0 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00285648 CG::GenericTagCategory<EML::SysObjMethodTag,0>::registerCategory+00002032
[ 65] 0x00007ffaf0ca80f9 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00295161 CG::GenericTagCategory<EML::SysObjMethodTag,0>::registerCategory+00011545
[ 66] 0x00007ffaf0ca7a15 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00293397 CG::GenericTagCategory<EML::SysObjMethodTag,0>::registerCategory+00009781
[ 67] 0x00007ffaf16a6213 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+10773011 EML::ElimMex::module+00201747
[ 68] 0x00007ffaf1329860 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07116896 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01231840
[ 69] 0x00007ffaf116147c D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05248124 EML::NameCapture::verify+00766972
[ 70] 0x00007ffaf116386d D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05257325 EML::NameCapture::verify+00776173
[ 71] 0x00007ffaf132ab58 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07121752 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01236696
[ 72] 0x00007ffaf1279101 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+06394113 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+00509057
[ 73] 0x00007ffaf128cbf3 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+06474739 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+00589683
[ 74] 0x00007ffaf1154c07 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05196807 EML::NameCapture::verify+00715655
[ 75] 0x00007ffaf11549a8 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05196200 EML::NameCapture::verify+00715048
[ 76] 0x00007ffaf114b0ce D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05157070 EML::NameCapture::verify+00675918
[ 77] 0x00007ffaf114c624 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05162532 EML::NameCapture::verify+00681380
[ 78] 0x00007ffaf11a7944 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+05536068 EML::NameCapture::verify+01054916
[ 79] 0x00007ffaf1279101 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+06394113 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+00509057
[ 80] 0x00007ffaf128cbf3 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+06474739 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+00589683
[ 81] 0x00007ffaf1331705 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07149317 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01264261
[ 82] 0x00007ffaf133161f D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07149087 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01264031
[ 83] 0x00007ffaf1327cc5 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07109829 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01224773
[ 84] 0x00007ffaf1327889 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07108745 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01223689
[ 85] 0x00007ffaf1325562 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+07099746 CG::GenericTagCategory<EML::DesignRangeTag,0>::unregisterCategory+01214690
[ 86] 0x00007ffaf1059597 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+04167063 EML::ElimMex::operator=+00037991
[ 87] 0x00007ffaf1035634 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+04019764 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+01450996
[ 88] 0x00007ffaf0ca01dc D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00262620 CG::GenericTagCategory<EML::SysObjMethodTag,0>::categoryIsRegistered+00003740
[ 89] 0x00007ffaf0c9e37c D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00254844 EML::SystemObjectInterface::operator=+00005212
[ 90] 0x00007ffaf39c0282 D:\01_Softwares\25_MATLAB\bin\win64\cgir_support.dll+04588162 CG::ScopeTransform::apply+00000098
[ 91] 0x00007ffaf16617f8 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+10491896 EML::DesignRangeTag::toPrettyPrintString+00094840
[ 92] 0x00007ffaf0c9fe21 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00261665 CG::GenericTagCategory<EML::SysObjMethodTag,0>::categoryIsRegistered+00002785
[ 93] 0x00007ffaf0cafda0 D:\01_Softwares\25_MATLAB\bin\win64\eml.dll+00327072 EML::API::check_entry_point+00000256
[ 94] 0x00007ffaf7c8af87 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+01617799 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00325159
[ 95] 0x00007ffaf7c73522 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+01520930 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00228290
[ 96] 0x00007ffaf7c70818 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+01509400 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00216760
[ 97] 0x00007ffaf7c70307 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+01508103 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00215463
[ 98] 0x00007ffaf7c70129 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+01507625 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00214985
[ 99] 0x00007ffaf7df0f18 D:\01_Softwares\25_MATLAB\bin\win64\emlcoder.dll+03084056 MLTerminate_emlcoder+00558456
[100] 0x00007ffb2c51a9fe bin\win64\pgo\mcos_impl.dll+00371198 mdIsA+00051990
[101] 0x00007ffb2c519f95 bin\win64\pgo\mcos_impl.dll+00368533 mdIsA+00049325
[102] 0x00007ffb2c519c30 bin\win64\pgo\mcos_impl.dll+00367664 mdIsA+00048456
[103] 0x00007ffb2c55509f bin\win64\pgo\mcos_impl.dll+00610463 mdMethodListAllFcn+00055927
[104] 0x00007ffb2c7104fc bin\win64\pgo\mcos_impl.dll+02426108 mwboost::serialization::singleton_module::unlock+01188316
[105] 0x00007ffb2c778130 bin\win64\pgo\mcos_impl.dll+02851120 namedArgsToCell+00004592
[106] 0x00007ffb2c784fe9 bin\win64\pgo\mcos_impl.dll+02904041 namedArgsToCell+00057513
[107] 0x00007ffb51d51d38 bin\win64\mcos.dll+00138552 omDirectCallMethod+00000072
[108] 0x00007ffb3692f353 bin\win64\pgo\libmwlxeindexing.dll+00455507 MathWorks::lxe::MatrixModuleImplementation::SetHeterogeneousArray+00010507
[109] 0x00007ffb369bf00b bin\win64\pgo\libmwlxeindexing.dll+01044491 MathWorks::lxe::intermediate_paren_ref_place+00006111
[110] 0x00007ffb368ce1d3 bin\win64\pgo\libmwlxeindexing.dll+00057811 MathWorks::lxe::assign_brace_xlist_pointer_uninitialized+00000579
[111] 0x00007ffb368ce1d3 bin\win64\pgo\libmwlxeindexing.dll+00057811 MathWorks::lxe::assign_brace_xlist_pointer_uninitialized+00000579
[112] 0x00007ffb368ce4b4 bin\win64\pgo\libmwlxeindexing.dll+00058548 MathWorks::lxe::MultiValue::SetCellArray+00000324
[113] 0x00007ffb368ce7c3 bin\win64\pgo\libmwlxeindexing.dll+00059331 MathWorks::lxe::at_rparen+00000159
[114] 0x00007ffb39b2d3d8 bin\win64\m_lxe.dll+08967128 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00553384
[115] 0x00007ffb39b4b259 bin\win64\m_lxe.dll+09089625 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00675881
[116] 0x00007ffb39519bcb bin\win64\m_lxe.dll+02595787 MathWorks::lxe::FeatureLxeTrace+02216811
[117] 0x00007ffb3951df2a bin\win64\m_lxe.dll+02613034 MathWorks::lxe::FeatureLxeTrace+02234058
[118] 0x00007ffb3951b4f3 bin\win64\m_lxe.dll+02602227 MathWorks::lxe::FeatureLxeTrace+02223251
[119] 0x00007ffb3950f615 bin\win64\m_lxe.dll+02553365 MathWorks::lxe::FeatureLxeTrace+02174389
[120] 0x00007ffb3950f8b0 bin\win64\m_lxe.dll+02554032 MathWorks::lxe::FeatureLxeTrace+02175056
[121] 0x00007ffb3951ecc6 bin\win64\m_lxe.dll+02616518 MathWorks::lxe::FeatureLxeTrace+02237542
[122] 0x00007ffb3951ad56 bin\win64\m_lxe.dll+02600278 MathWorks::lxe::FeatureLxeTrace+02221302
[123] 0x00007ffb395e417d bin\win64\m_lxe.dll+03424637 MathWorks::lxe::FeatureLxeTrace+03045661
[124] 0x00007ffb395e7eb8 bin\win64\m_lxe.dll+03440312 MathWorks::lxe::FeatureLxeTrace+03061336
[125] 0x00007ffb39a1d4f1 bin\win64\m_lxe.dll+07853297 MathWorks::lxe::profiler::MexFunctionCall::EnterPoint+00371889
[126] 0x00007ffb39ac3d92 bin\win64\m_lxe.dll+08535442 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00121698
[127] 0x00007ffb39ac3766 bin\win64\m_lxe.dll+08533862 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00120118

Accepted Answer

Ryan Livingston
Ryan Livingston on 2 Dec 2021
Edited: Ryan Livingston on 20 Jun 2022
Update This is a bug in MATLAB Coder. Details including workarounds are captured in:
Original answer
It looks like you are hitting a bug in MATLAB Coder. Could you please report it via Technical Support so the development team can try to reproduce and investigate?
A guess at a possible workaround based on the output and stack trace is to disable the "Collect MATLAB line execution counts" box in the Coder App
If that doesn't help, you can bypass this window in the Coder App by clicking the Next button. That may avoid the crash. Note If you do this, please make sure to first test by using MEX as the output type and running the generated MEX. After the MEX runs without errors, then it's OK to move on to generate standalone code like "Source Code", "Static library", etc.
  5 Comments
Ryan Livingston
Ryan Livingston on 20 Jun 2022
Edited: Ryan Livingston on 20 Jun 2022
@Michael that is indeed the correct bug report for this issue. I've updated my answer. The bug report shows in which releases fixes are available.

Sign in to comment.

More Answers (1)

kai doman
kai doman on 30 Nov 2021
restart it

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by