Clear Filters
Clear Filters

Matlab (Matlab coder) suddenly crashes when using codegen

19 views (last 30 days)
After trying to use the codegen function to convert my Matlab code to C++ to pass it onto a Nvidia Jetson appliance, Matlab crushes with the following log, after chosing either option of - "send report" or "don't send report", Matlab closes.
  • The same thing happens on the 2024a version, and on the 2023b version of Matlab.
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Assertion detected at 2024-04-15 13:15:01 +0300
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized hardware
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce RTX 3070 Version 31.0.15.4612 (2023-11-6)
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 : 5390876
MATLAB Root : C:\Program Files\MATLAB\R2023b
MATLAB Version : 23.2.0.2515942 (R2023b) Update 7
OpenGL : hardware
Operating System : Microsoft Windows 10 Pro
Process ID : 21028
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Session Key : 141b0db8-3fe0-4fb6-87d8-5369f476b78b
Window System : Version 10.0 (Build 19045)
Fault Count: 1
Assertion at B:\matlab\src\eml\dom_eml\def_before_use\algorithms\DuExprCheck.cpp line 479:
B:\matlab\src\eml\dom_eml\def_before_use\algorithms\DuExprCheck.cpp(479): In processDefaultExpression: Assertion failed: !env()->mcos()->containsMcosPlaceholderType(exprType)
Current Thread: 'MCR 0 interpreter thread' id 21760
Register State (captured):
RAX = 00007ffe4889cd58 RBX = 00007ffe4889cd58
RCX = 000000fc95ae98f0 RDX = 0000000000000000
RSP = 000000fc95ae9830 RBP = 00000000000001df
RSI = 00007ffdcffc9c20 RDI = 00007ffe4889cd58
R8 = 0000000000000003 R9 = 000000fc95ae97a8
R10 = 0000000000000014 R11 = 000000fc95ae9628
R12 = 000000fc95aea520 R13 = 0000000000000000
R14 = 00007ffe4888cc88 R15 = 000000fc95ae9f30
RIP = 00007ffe4879168a EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00007ffe4878aca3 C:\Program Files\MATLAB\R2023b\bin\win64\libmwfl.dll+00044195 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00007ffe48789278 C:\Program Files\MATLAB\R2023b\bin\win64\libmwfl.dll+00037496 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00007ffe4878d39f C:\Program Files\MATLAB\R2023b\bin\win64\libmwfl.dll+00054175 foundation::core::diag::symbols::getSymbolAddress+00009455
[ 3] 0x00007ffe4878c5c1 C:\Program Files\MATLAB\R2023b\bin\win64\libmwfl.dll+00050625 foundation::core::diag::symbols::getSymbolAddress+00005905
[ 4] 0x00007ffe48790fed C:\Program Files\MATLAB\R2023b\bin\win64\libmwfl.dll+00069613 foundation::core::diag::terminate+00000077
[ 5] 0x00007ffdd4b68b50 C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+02001744 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00470704
[ 6] 0x00007ffdda665dda C:\Program Files\MATLAB\R2023b\bin\win64\cg_ir.dll+06446554 client_assertion_failed+00000026
[ 7] 0x00007ffdda665b45 C:\Program Files\MATLAB\R2023b\bin\win64\cg_ir.dll+06445893 CG::operator&&+00000101
[ 8] 0x00007ffdcf4cf310 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02683664 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00173328
[ 9] 0x00007ffdcf4d0283 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02687619 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00177283
[ 10] 0x00007ffdcf4ce800 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02680832 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00170496
[ 11] 0x00007ffdcf4d0230 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02687536 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00177200
[ 12] 0x00007ffdcf4cf20c C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02683404 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00173068
[ 13] 0x00007ffdcf4d0283 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02687619 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00177283
[ 14] 0x00007ffdcf4c1f02 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02629378 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00119042
[ 15] 0x00007ffdcf4c2401 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02630657 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00120321
[ 16] 0x00007ffdcf4cfb0e C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02685710 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00175374
[ 17] 0x00007ffdcf4be762 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02615138 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00104802
[ 18] 0x00007ffdcf4bf1ed C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02617837 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00107501
[ 19] 0x00007ffdcf4bee56 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02616918 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00106582
[ 20] 0x00007ffdcf4cf7ed C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02684909 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00174573
[ 21] 0x00007ffdcf4ddacb C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02742987 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00232651
[ 22] 0x00007ffdcf4de547 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02745671 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00235335
[ 23] 0x00007ffdcf4d8b25 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02722597 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00212261
[ 24] 0x00007ffdcf4d9d52 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02727250 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00216914
[ 25] 0x00007ffdcf4d7a87 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02718343 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00208007
[ 26] 0x00007ffdcf4b5d45 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+02579781 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+00069445
[ 27] 0x00007ffdcf613977 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+04012407 CG::GenericTagCategory<EML::SyntheticLoopTag,0>::unregisterCategory+01502071
[ 28] 0x00007ffdcf2bec9f C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+00519327 CG::GenericTagCategory<EML::SysObjMethodTag,0>::unregisterCategory+00086719
[ 29] 0x00007ffdcf2bc519 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+00509209 CG::GenericTagCategory<EML::SysObjMethodTag,0>::unregisterCategory+00076601
[ 30] 0x00007ffddd77ae2c C:\Program Files\MATLAB\R2023b\bin\win64\cgir_support.dll+05811756 CG::ScopeTransform::apply+00000092
[ 31] 0x00007ffdcfcdb6a8 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+11122344 EML::DesignRangeTag::toPrettyPrintString+00090472
[ 32] 0x00007ffdcf2be960 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+00518496 CG::GenericTagCategory<EML::SysObjMethodTag,0>::unregisterCategory+00085888
[ 33] 0x00007ffdcf2d1207 C:\Program Files\MATLAB\R2023b\bin\win64\eml.dll+00594439 EML::API::check_entry_point+00000295
[ 34] 0x00007ffdd4b56b9b C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+01928091 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00397051
[ 35] 0x00007ffdd4b369ed C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+01796589 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00265549
[ 36] 0x00007ffdd4b34097 C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+01786007 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00254967
[ 37] 0x00007ffdd4b9ba07 C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+02210311 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00679271
[ 38] 0x00007ffdd4b33aab C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+01784491 mcos::factory::Marshaler<mlcoder::WrappedStringArrayTypePolicy>::operator=+00253451
[ 39] 0x00007ffdd4d38b70 C:\Program Files\MATLAB\R2023b\bin\win64\emlcoder.dll+03902320 MLTerminate_emlcoder+00729248
[ 40] 0x00007ffe08ff31c0 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02961856 mcos::heterogeneous::mcosIsHeterogeneousArray+00049440
[ 41] 0x00007ffe08ff3cf3 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02964723 mcos::heterogeneous::mcosIsHeterogeneousArray+00052307
[ 42] 0x00007ffe08ff3f8f C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02965391 mcos::heterogeneous::mcosIsHeterogeneousArray+00052975
[ 43] 0x00007ffe08ff7afe C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02980606 mcos::heterogeneous::mcosIsHeterogeneousArray+00068190
[ 44] 0x00007ffe0910564d C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+04085325 namedArgsToCell+00009165
[ 45] 0x00007ffe0911e931 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+04188465 namedArgsToCell+00112305
[ 46] 0x00007ffe462822a8 C:\Program Files\MATLAB\R2023b\bin\win64\mcos.dll+00139944 omDirectCallMethod+00000072
[ 47] 0x00007ffe1acec007 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+00704519 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00019831
[ 48] 0x00007ffe1acf075e C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+00722782 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00038094
[ 49] 0x00007ffe1ad4f2d4 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+01110740 MathWorks::lxe::rparen_mcos_method_rplace+00000148
[ 50] 0x00007ffe1b4e13e8 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05247976 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00211992
[ 51] 0x00007ffe1b4fa8a9 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05351593 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00315609
[ 52] 0x00007ffe1b3b91cc C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04035020 MathWorks::lxe::GetTag+00006668
[ 53] 0x00007ffe1b3a34f8 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+03945720 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041688
[ 54] 0x00007ffe1b3a78c0 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+03963072 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059040
[ 55] 0x00007ffe1fff5790 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+01464208 FeatureTestObservableWorkspace+00211120
[ 56] 0x00007ffe1feef111 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00389393 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280801
[ 57] 0x00007ffe1feeeab5 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00387765 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279173
[ 58] 0x00007ffe1fef1528 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00398632 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00290040
[ 59] 0x00007ffe2c9145a2 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 60] 0x00007ffe2c9134e8 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01258728 Mfh_error::lookup+00011928
[ 61] 0x00007ffe2c91465d C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01263197 Mfh_file::dispatch_with_reuse+00000045
[ 62] 0x00007ffe090c5fe4 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+03825636 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00306900
[ 63] 0x00007ffe08ff3947 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02963783 mcos::heterogeneous::mcosIsHeterogeneousArray+00051367
[ 64] 0x00007ffe08ff3af1 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02964209 mcos::heterogeneous::mcosIsHeterogeneousArray+00051793
[ 65] 0x00007ffe08ff3f8f C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02965391 mcos::heterogeneous::mcosIsHeterogeneousArray+00052975
[ 66] 0x00007ffe08ff7c7c C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02980988 mcos::heterogeneous::mcosIsHeterogeneousArray+00068572
[ 67] 0x00007ffe092055cd C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+05133773 musBeA+00325773
[ 68] 0x00007ffe09204aa6 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+05130918 musBeA+00322918
[ 69] 0x00007ffe2c7ec07f C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+00049279
[ 70] 0x00007ffe2c80d76d C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+00186221 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 71] 0x00007ffe1b5dac70 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06270064 MathWorks::lxe::CreateUnboundFunctionHandle+00011168
[ 72] 0x00007ffe1b5dad5f C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06270303 MathWorks::lxe::CreateUnboundFunctionHandle+00011407
[ 73] 0x00007ffe1b5aa64e C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06071886 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00005566
[ 74] 0x00007ffe1b5ac7c1 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06080449 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00014129
[ 75] 0x00007ffe1b4e1438 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05248056 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00212072
[ 76] 0x00007ffe1b4fe289 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05366409 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00330425
[ 77] 0x00007ffe1b3b91c7 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04035015 MathWorks::lxe::GetTag+00006663
[ 78] 0x00007ffe1b3a34f8 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+03945720 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041688
[ 79] 0x00007ffe1b3a78c0 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+03963072 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059040
[ 80] 0x00007ffe1fff5790 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+01464208 FeatureTestObservableWorkspace+00211120
[ 81] 0x00007ffe1feeee3b C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00388667 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280075
[ 82] 0x00007ffe1feeeabc C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00387772 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279180
[ 83] 0x00007ffe1fef14f2 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00398578 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00289986
[ 84] 0x00007ffe2c9145a2 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 85] 0x00007ffe2c913228 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01258024 Mfh_error::lookup+00011224
[ 86] 0x00007ffe2c91449d C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01262749 Mfh_file::dispatch+00000045
[ 87] 0x00007ffe090c5ff6 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+03825654 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00306918
[ 88] 0x00007ffe08ff3947 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02963783 mcos::heterogeneous::mcosIsHeterogeneousArray+00051367
[ 89] 0x00007ffe08ff3af1 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02964209 mcos::heterogeneous::mcosIsHeterogeneousArray+00051793
[ 90] 0x00007ffe08ff3f8f C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02965391 mcos::heterogeneous::mcosIsHeterogeneousArray+00052975
[ 91] 0x00007ffe08ff7afe C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+02980606 mcos::heterogeneous::mcosIsHeterogeneousArray+00068190
[ 92] 0x00007ffe0910564d C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+04085325 namedArgsToCell+00009165
[ 93] 0x00007ffe0911e931 C:\Program Files\MATLAB\R2023b\bin\win64\mcos_impl.dll+04188465 namedArgsToCell+00112305
[ 94] 0x00007ffe462822a8 C:\Program Files\MATLAB\R2023b\bin\win64\mcos.dll+00139944 omDirectCallMethod+00000072
[ 95] 0x00007ffe1aced205 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+00709125 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00024437
[ 96] 0x00007ffe1acec1d8 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+00704984 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00020296
[ 97] 0x00007ffe1acf05dd C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+00722397 MathWorks::lxe::MatrixModuleImplementation::SubscriptedDelete+00037709
[ 98] 0x00007ffe1ad4ebed C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxeindexing.dll+01108973 MathWorks::lxe::at_rparen0_mcos_method_rplace+00000157
[ 99] 0x00007ffe1b4e13e8 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05247976 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00211992
[100] 0x00007ffe1b4ee409 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05301257 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00265273
[101] 0x00007ffe1b3b91cc C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04035020 MathWorks::lxe::GetTag+00006668
[102] 0x00007ffe1b3a34f8 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+03945720 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041688
[103] 0x00007ffe1b3a78c0 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+03963072 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059040
[104] 0x00007ffe1fff5790 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+01464208 FeatureTestObservableWorkspace+00211120
[105] 0x00007ffe1feef111 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00389393 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280801
[106] 0x00007ffe1feeeab5 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00387765 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279173
[107] 0x00007ffe1fef1528 C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00398632 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00290040
[108] 0x00007ffe2c9145a2 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[109] 0x00007ffe2c9134e8 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01258728 Mfh_error::lookup+00011928
[110] 0x00007ffe2c91465d C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+01263197 Mfh_file::dispatch_with_reuse+00000045
[111] 0x00007ffe1b5d4b6e C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06245230 MathWorks::lxe::CreateNestedFunctionHandle+00008494
[112] 0x00007ffe1ff3ef8d C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00716685 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00086333
[113] 0x00007ffe1ffb952f C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+01217839 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00323199
[114] 0x00007ffe2c677ed5 C:\Program Files\MATLAB\R2023b\bin\win64\m_interpreter.dll+00753365 inCallFcn+00000069
[115] 0x00007ffe2c68708e C:\Program Files\MATLAB\R2023b\bin\win64\m_interpreter.dll+00815246 inFullFevalFcn+00000270
[116] 0x00007ffe2e458186 C:\Program Files\MATLAB\R2023b\bin\win64\builtin.dll+00164230 MathWorks::builtin::BuiltinFcn::invoke+00001510
[117] 0x00007ffe2c83495a C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+00346458 mdLoadModuleForPackageOrClass+00006282
[118] 0x00007ffe2c834aa5 C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+00346789 mdLoadModuleForPackageOrClass+00006613
[119] 0x00007ffe2c7eb48f C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+00046223
[120] 0x00007ffe2c80d70d C:\Program Files\MATLAB\R2023b\bin\win64\m_dispatcher.dll+00186125 Mfh_MATLAB_fn_impl::dispatch+00000045
[121] 0x00007ffe1fef705d C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00421981 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00313389
[122] 0x00007ffe1ff06c3e C:\Program Files\MATLAB\R2023b\bin\win64\libmwlxemainservices.dll+00486462 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00377870
[123] 0x00007ffe1b5aa93e C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06072638 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006318
[124] 0x00007ffe1b5a5929 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+06052137 MathWorks::lxe::LXEConstants::NewIrMacro+00008249
[125] 0x00007ffe1b4e1438 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05248056 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00212072
[126] 0x00007ffe1b4fe4b9 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+05366969 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00330985
[127] 0x00007ffe1b3b91c7 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04035015 MathWorks::lxe::GetTag+00006663
  1 Comment
Infinite_king
Infinite_king on 16 Apr 2024
Can you share the reproduction steps or the exact codegen command that you have used ?

Sign in to comment.

Answers (1)

David Fink
David Fink on 17 Apr 2024
Thank you for reporting this bug - we have recieved the crash reports that you've sent.
Please reach out to MathWorks Technical Support for assistance with this issue.

Categories

Find more on Characters and Strings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!