Matlab Crash 'MCR 0 interpreter thread' 2022b whilst controlling NI-dmm IVI

104 visualizaciones (últimos 30 días)
I have a persistent Matlab Crash (see crash log at the bottom). The code worked well till it crashed once, now it never works even though the code hasn't been modified.
My suspicion is that matlab has cached some optimisation which is breaking it. Most probably in the folder: C:\Users\acmeas\AppData\Local\Temp\ICTDeploymentFiles\R2022b\ where matlab creates <>ProtoForni<>.m files and <>thunk_pcwin64.dll files as these are recreated ever time the code is run.
I have renamed this folder and the new ones created cause similar crashes.
A similar set of code still runs which uses the same ni408x.dll, nidmm408x.dll and fetchwaveform commands.
MATLAB Log File: C:\Users\acmeas\AppData\Local\Temp\matlab_crash_dump.6704-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Access violation detected at 2022-11-09 09:01:26 -0000
--------------------------------------------------------------------------------
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 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics 630 Version 26.20.100.7262 (2019-9-25)
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 : 5668280
MATLAB Root : C:\Program Files\MATLAB\R2022b
MATLAB Version : 9.13.0.2049777 (R2022b)
OpenGL : hardware
Operating System : Microsoft Windows 10 Enterprise
Process ID : 6704
Processor ID : x86 Family 6 Model 158 Stepping 10, GenuineIntel
Session Key : 499c94b5-5499-4227-8438-7e0af6145d24
Window System : Version 10.0 (Build 18363)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 13320
Register State (from fault):
RAX = bfc0db082db919f1 RBX = 0000026f69142010
RCX = 0000000000000002 RDX = 0000026f6915d040
RSP = 000000cacfff4140 RBP = 000000cacfff4250
RSI = 0000026f6901d040 RDI = 000000000000d8b9
R8 = 000000000005acde R9 = 000000cacfff4350
R10 = 0000026f693a6fd0 R11 = 000000000005acdc
R12 = 000000cacfff44f8 R13 = 0000026f44a88970
R14 = 0000026f6901d040 R15 = 0000000000000001
RIP = 00007ffbb9c0dfb4 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffbb9c0dfb4 C:\WINDOWS\SYSTEM32\ni408x.dll+01171380 boost::serialization::singleton<ni408x::ScalingFactoryContainer>::get_instance+00063700
[ 1] 0x00007ffbb9bfb42b C:\WINDOWS\SYSTEM32\ni408x.dll+01094699 boost::serialization::singleton<ni408x::DefaultSettleTimeLookupTable>::get_instance+00066427
[ 2] 0x00007ffbb9bfdc30 C:\WINDOWS\SYSTEM32\ni408x.dll+01104944 boost::serialization::singleton<ni408x::DefaultSettleTimeLookupTable>::get_instance+00076672
[ 3] 0x00007ffbb9b080cb C:\WINDOWS\SYSTEM32\ni408x.dll+00098507 ni408x_fetchWaveform+00000155
[ 4] 0x00007ffbb9d4a6d9 C:\WINDOWS\SYSTEM32\nidmm408x.dll+00239321 nidmm408x_GetLastRetrievedMeasurement+00142489
[ 5] 0x00007ffbb9d3606b C:\WINDOWS\SYSTEM32\nidmm408x.dll+00155755 nidmm408x_GetLastRetrievedMeasurement+00058923
[ 6] 0x00007ffbb9d18094 C:\WINDOWS\SYSTEM32\nidmm408x.dll+00032916 nidmm408x_FetchWaveform+00000212
[ 7] 0x00007ffbb9e79a66 C:\Program Files\IVI Foundation\IVI\bin\niDMM_64.dll+00105062 niDMM_FetchWaveform+00001142
[ 8] 0x00007ffbba391854 C:\Users\acmeas\AppData\Local\Temp\ICTDeploymentFiles\R2022b\niDMM_thunk_pcwin64.dll+00006228 longulonglonglongvoidPtrvoidPtrThunk+00000180
[ 9] 0x00007ffbbae2b98a C:\Program Files\MATLAB\R2022b\bin\win64\libmwcli.dll+00047498
[ 10] 0x00007ffbbae2e7b4 C:\Program Files\MATLAB\R2022b\bin\win64\libmwcli.dll+00059316 mwboost::serialization::singleton_module::get_lock+00000772
[ 11] 0x00007ffbbae4be13 C:\Program Files\MATLAB\R2022b\bin\win64\libmwcli.dll+00179731 PointerMapSize+00097475
[ 12] 0x00007ffbbae4d552 C:\Program Files\MATLAB\R2022b\bin\win64\libmwcli.dll+00185682 mfCallLib+00000226
[ 13] 0x00007ffbbae9e23f C:\Program Files\MATLAB\R2022b\bin\win64\builtins\ml_external_interfaces\mwlibmwcli_builtinimpl.dll+00057919 us_set_bundle_context_instance_com_mathworks_cli_builtinimpl+00022255
[ 14] 0x00007ffbbae98ba2 C:\Program Files\MATLAB\R2022b\bin\win64\builtins\ml_external_interfaces\mwlibmwcli_builtinimpl.dll+00035746 us_set_bundle_context_instance_com_mathworks_cli_builtinimpl+00000082
[ 15] 0x00007ffbf6fb6476 C:\Program Files\MATLAB\R2022b\bin\win64\builtin.dll+00156790 MathWorks::builtin::BuiltinFcn::invoke+00001174
[ 16] 0x00007ffbf9188494 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00361620 mdLoadModuleForPackageOrClass+00007524
[ 17] 0x00007ffbf9188625 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00362021 mdLoadModuleForPackageOrClass+00007925
[ 18] 0x00007ffbf913c31f C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00049951
[ 19] 0x00007ffbf915d20d C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00184845 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 20] 0x00007ffbf44cf270 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05894768 MathWorks::lxe::CreateUnboundFunctionHandle+00010688
[ 21] 0x00007ffbf44ca6a5 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05875365 MathWorks::lxe::new_unbound_function_handle+00002277
[ 22] 0x00007ffbf44cf302 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05894914 MathWorks::lxe::CreateUnboundFunctionHandle+00010834
[ 23] 0x00007ffbf44c9d81 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05873025 MathWorks::lxe::call_global_function+00000289
[ 24] 0x00007ffbf87defe0 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00389088 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00292960
[ 25] 0x00007ffbf44a1d6b C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05709163 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00005579
[ 26] 0x00007ffbf44a3be8 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05716968 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00013384
[ 27] 0x00007ffbf43ee148 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+04972872 MathWorks::lxe::printLxeProfStatsForFeature+00300760
[ 28] 0x00007ffbf4408509 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05080329 MathWorks::lxe::printLxeProfStatsForFeature+00408217
[ 29] 0x00007ffbf41f803b C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02916411 MathWorks::lxe::LXEConstants::IsIfElse+00525851
[ 30] 0x00007ffbf41fc644 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02934340 MathWorks::lxe::LXEConstants::IsY+00012980
[ 31] 0x00007ffbf41f9a91 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02923153 MathWorks::lxe::LXEConstants::IsY+00001793
[ 32] 0x00007ffbf41fd785 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02938757 MathWorks::lxe::LXEConstants::IsY+00017397
[ 33] 0x00007ffbf41fda33 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02939443 MathWorks::lxe::LXEConstants::IsY+00018083
[ 34] 0x00007ffbf41fd388 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02937736 MathWorks::lxe::LXEConstants::IsY+00016376
[ 35] 0x00007ffbf41f9236 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02921014 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000598
[ 36] 0x00007ffbf42c6f53 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03764051 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00042979
[ 37] 0x00007ffbf42caa60 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03779168 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00058096
[ 38] 0x00007ffbf88a4a90 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01198736 FeatureTestObservableWorkspace+00184240
[ 39] 0x00007ffbf880e776 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00583542 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00069206
[ 40] 0x00007ffbf881018f C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00590223 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00075887
[ 41] 0x00007ffbf8888d07 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01084679 FeatureTestObservableWorkspace+00070183
[ 42] 0x00007ffbf888a42b C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01090603 FeatureTestObservableWorkspace+00076107
[ 43] 0x00007ffbf8edbe1b C:\Program Files\MATLAB\R2022b\bin\win64\m_interpreter.dll+00638491 inFullEvalFcn+00000059
[ 44] 0x00007ffbe0c3967c C:\Program Files\MATLAB\R2022b\bin\win64\builtins\m_interpreter\mwm_interpreter_builtinimpl.dll+00038524 us_set_bundle_context_instance_com_mathworks_m_interpreter_builtinimpl+00002860
[ 45] 0x00007ffbf6fb6476 C:\Program Files\MATLAB\R2022b\bin\win64\builtin.dll+00156790 MathWorks::builtin::BuiltinFcn::invoke+00001174
[ 46] 0x00007ffbf9188494 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00361620 mdLoadModuleForPackageOrClass+00007524
[ 47] 0x00007ffbf9188625 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00362021 mdLoadModuleForPackageOrClass+00007925
[ 48] 0x00007ffbf913b76e C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00046958
[ 49] 0x00007ffbf915d1ad C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00184749 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 50] 0x00007ffbf87d0c74 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00330868 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00234740
[ 51] 0x00007ffbf87df1f0 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00389616 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00293488
[ 52] 0x00007ffbf44a1f41 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05709633 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006049
[ 53] 0x00007ffbf44a3539 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05715257 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00011673
[ 54] 0x00007ffbf43ee148 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+04972872 MathWorks::lxe::printLxeProfStatsForFeature+00300760
[ 55] 0x00007ffbf4408199 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05079449 MathWorks::lxe::printLxeProfStatsForFeature+00407337
[ 56] 0x00007ffbf42db767 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03848039 MathWorks::lxe::GetTag+00006295
[ 57] 0x00007ffbf42c6630 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03761712 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00040640
[ 58] 0x00007ffbf42caa60 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03779168 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00058096
[ 59] 0x00007ffbf88a4a90 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01198736 FeatureTestObservableWorkspace+00184240
[ 60] 0x00007ffbf87c9aa1 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00301729 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00205601
[ 61] 0x00007ffbf87c9495 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00300181 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00204053
[ 62] 0x00007ffbf87cbad8 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00309976 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00213848
[ 63] 0x00007ffbf922da32 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+01038898 Mfh_file::dispatch_file_common+00000178
[ 64] 0x00007ffbf922c9e8 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+01034728 Mfh_error::lookup+00011928
[ 65] 0x00007ffbf922daed C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+01039085 Mfh_file::dispatch_with_reuse+00000045
[ 66] 0x00007ffbf44c932e C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05870382 MathWorks::lxe::CreateNestedFunctionHandle+00008318
[ 67] 0x00007ffbf8810dad C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00593325 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00078989
[ 68] 0x00007ffbf886f26f C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00979567 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00304879
[ 69] 0x00007ffbf8ecf155 C:\Program Files\MATLAB\R2022b\bin\win64\m_interpreter.dll+00586069 inCallFcn+00000069
[ 70] 0x00007ffbf8edbf42 C:\Program Files\MATLAB\R2022b\bin\win64\m_interpreter.dll+00638786 inFullFevalFcn+00000274
[ 71] 0x00007ffbe0c3967c C:\Program Files\MATLAB\R2022b\bin\win64\builtins\m_interpreter\mwm_interpreter_builtinimpl.dll+00038524 us_set_bundle_context_instance_com_mathworks_m_interpreter_builtinimpl+00002860
[ 72] 0x00007ffbf6fb6476 C:\Program Files\MATLAB\R2022b\bin\win64\builtin.dll+00156790 MathWorks::builtin::BuiltinFcn::invoke+00001174
[ 73] 0x00007ffbf9188494 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00361620 mdLoadModuleForPackageOrClass+00007524
[ 74] 0x00007ffbf9188625 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00362021 mdLoadModuleForPackageOrClass+00007925
[ 75] 0x00007ffbf913b76e C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00046958
[ 76] 0x00007ffbf915d1ad C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+00184749 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 77] 0x00007ffbf87d0c74 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00330868 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00234740
[ 78] 0x00007ffbf87df1f0 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00389616 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00293488
[ 79] 0x00007ffbf44a1f41 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05709633 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006049
[ 80] 0x00007ffbf449cf54 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05689172 MathWorks::lxe::LXEConstants::NewIrMacro+00007716
[ 81] 0x00007ffbf43ee148 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+04972872 MathWorks::lxe::printLxeProfStatsForFeature+00300760
[ 82] 0x00007ffbf44086e9 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05080809 MathWorks::lxe::printLxeProfStatsForFeature+00408697
[ 83] 0x00007ffbf42db767 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03848039 MathWorks::lxe::GetTag+00006295
[ 84] 0x00007ffbf42c6630 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03761712 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00040640
[ 85] 0x00007ffbf42caa60 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03779168 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00058096
[ 86] 0x00007ffbf88a4a90 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01198736 FeatureTestObservableWorkspace+00184240
[ 87] 0x00007ffbf87c9d73 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00302451 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00206323
[ 88] 0x00007ffbf87c94a3 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00300195 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00204067
[ 89] 0x00007ffbf87cbaa2 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00309922 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00213794
[ 90] 0x00007ffbf922da32 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+01038898 Mfh_file::dispatch_file_common+00000178
[ 91] 0x00007ffbf922cd02 C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+01035522 Mfh_error::lookup+00012722
[ 92] 0x00007ffbf922d96d C:\Program Files\MATLAB\R2022b\bin\win64\m_dispatcher.dll+01038701 Mfh_file::dispatch+00000045
[ 93] 0x00007ffbf87d0c74 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00330868 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00234740
[ 94] 0x00007ffbf87df1f0 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00389616 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00293488
[ 95] 0x00007ffbf44a1f41 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05709633 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006049
[ 96] 0x00007ffbf44a3539 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05715257 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00011673
[ 97] 0x00007ffbf43ee148 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+04972872 MathWorks::lxe::printLxeProfStatsForFeature+00300760
[ 98] 0x00007ffbf4408199 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+05079449 MathWorks::lxe::printLxeProfStatsForFeature+00407337
[ 99] 0x00007ffbf41f803b C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02916411 MathWorks::lxe::LXEConstants::IsIfElse+00525851
[100] 0x00007ffbf41fc644 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02934340 MathWorks::lxe::LXEConstants::IsY+00012980
[101] 0x00007ffbf41f9a91 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02923153 MathWorks::lxe::LXEConstants::IsY+00001793
[102] 0x00007ffbf41fd785 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02938757 MathWorks::lxe::LXEConstants::IsY+00017397
[103] 0x00007ffbf41fda33 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02939443 MathWorks::lxe::LXEConstants::IsY+00018083
[104] 0x00007ffbf41fd388 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02937736 MathWorks::lxe::LXEConstants::IsY+00016376
[105] 0x00007ffbf41f9236 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+02921014 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000598
[106] 0x00007ffbf42c6f53 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03764051 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00042979
[107] 0x00007ffbf42caa60 C:\Program Files\MATLAB\R2022b\bin\win64\m_lxe.dll+03779168 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00058096
[108] 0x00007ffbf88a4a90 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+01198736 FeatureTestObservableWorkspace+00184240
[109] 0x00007ffbf880e776 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00583542 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00069206
[110] 0x00007ffbf881018f C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00590223 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00075887
[111] 0x00007ffbf886ecb3 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00978099 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00303411
[112] 0x00007ffbf8870df7 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00986615 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00311927
[113] 0x00007ffbf8870090 C:\Program Files\MATLAB\R2022b\bin\win64\libmwlxemainservices.dll+00983184 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00308496
[114] 0x00007ffbf8c14679 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00280185 mnGetPrompt+00014889
[115] 0x00007ffbf95261b6 C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00483766 iqm::Iqm::instance+00001110
[116] 0x00007ffbf95770cd C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00815309 iqm::UserEvalPlugin::execute+00001357
[117] 0x00007ffbf9548a4c C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00625228 iqm::Iqm::setupIqmFcnPtrs+00097324
[118] 0x00007ffbf951a05f C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00434271 iqm::Iqm::create+00008687
[119] 0x00007ffbf8be311e C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00078110 ioReadLine+00000430
[120] 0x00007ffbf8be2f35 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00077621 ioReadLine+00000165
[121] 0x00007ffbf8c14a10 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00281104 mnGetCommandLineBuffer+00000288
[122] 0x00007ffbf8c14ea2 C:\Program Files\MATLAB\R2022b\bin\win64\libmwbridge.dll+00282274 mnParser+00000466
[123] 0x00007ffbf9387c64 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00425060 mcr_set_enableReadingFromStdin+00013524
[124] 0x00007ffbf93387f3 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00100339 mcrFunctionSignature::set_signature+00080067
[125] 0x00007ffbf9356050 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00221264 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure'+00017616
[126] 0x00007ffbf95720ca C:\Program Files\MATLAB\R2022b\bin\win64\iqm.dll+00794826 iqm::PackagedTaskPlugin::execute+00000074
[127] 0x00007ffbf9382350 C:\Program Files\MATLAB\R2022b\bin\win64\mcr.dll+00402256 mcrInstantiationError::operator=+00082912

Respuestas (1)

chrisw23
chrisw23 el 10 de Nov. de 2022
This looks like a kind of custom driver installation, because I can't believe that the NI DMM .Net driver installation which is IVI conform places library files directly into the system32 path. (see crash log -> C:\WINDOWS\SYSTEM32\nidmm408x.dll)
In general it's essential to release (dispose) driver objects when the script crashes or it is finished. Otherwise the Matlab IDE can crash when restarting the script creating a new driver object while the old instance is still existing somewhere.
  1 comentario
Peter Davis
Peter Davis el 10 de Nov. de 2022
I am not sure what "custom driver installation" means. In this circumstance I used the NI-DMM matlab add-on. I don't think it found the drivers directly, but I had to "link" to them eg.
driverLocation='C:\ProgramData\MATLAB\SupportPackages\R2022b\toolbox\instrument\supportpackages\nidmm\drivers\nidmm.mdd';
ictObj = icdevice(driverLocation,resourceID);
connect(ictObj);
In the end the problem was my fault. I wasn't explicit to the DMM on the array and number of samples I wanted and by ammending these it went back to working correctly. Not sure why it worked in the first place though

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by