Matlab R2021a quit.
7 次查看(过去 30 天)
显示 更早的评论
MATLAB Log File: C:\Users\cheolhee\AppData\Local\Temp\matlab_crash_dump.18736-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Access violation detected at 2022-10-20 16:19:20 +0900
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : KSC_5601
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) Iris(R) Xe Graphics Version 27.20.100.8853 (2020-10-14)
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 : 2385114
MATLAB Root : C:\Program Files\MATLAB\R2021a
MATLAB Version : 9.10.0.1739362 (R2021a) Update 5
OpenGL : hardware
Operating System : Microsoft Windows 10 Education
Process ID : 18736
Processor ID : x86 Family 6 Model 140 Stepping 1, GenuineIntel
Session Key : bc136fc1-15ca-4459-b01a-9d349a436dd2
Window System : Version 10.0 (Build 19043)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'MCR 0 interpreter thread' id 18852
Register State (from fault):
RAX = 000000d29edf5288 RBX = 0000000000000006
RCX = 00007ffa38411378 RDX = ffffffff8e0935e0
RSP = 000000d29edf5038 RBP = 0000000000000001
RSI = 000000d29edf5480 RDI = 000000d29edf53e8
R8 = 0000000000000008 R9 = 00007ffa38410000
R10 = ffffffff8e0935e0 R11 = 000000d29edf5288
R12 = 000000d29edf53f8 R13 = 000000d29edf5f50
R14 = 0000000000000001 R15 = 000000d29edf5f60
RIP = 00007ffa38411378 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffa38411378 C:\Program Files\MATLAB\R2021a\bin\win64\VCRUNTIME140.dll+00004984 memcpy+00000136
[ 1] 0x00000000100012e0 C:\MATLABCO2\1_Program\1.3_Fluid_Properties\refpropm.mexw64+00004832 MEXFUNCTION+00000736
[ 2] 0x00007ff9b541f034 C:\Program Files\MATLAB\R2021a\bin\win64\libmex.dll+00585780 mexfile::Inspector::needs_upgrade+00014948
[ 3] 0x00007ff9b54200c2 C:\Program Files\MATLAB\R2021a\bin\win64\libmex.dll+00590018 MexRetrieveVersion+00003330
[ 4] 0x00007ff9b5420137 C:\Program Files\MATLAB\R2021a\bin\win64\libmex.dll+00590135 MexRetrieveVersion+00003447
[ 5] 0x00007ff9b54202e7 C:\Program Files\MATLAB\R2021a\bin\win64\libmex.dll+00590567 MexRetrieveVersion+00003879
[ 6] 0x00007ff9b5400542 C:\Program Files\MATLAB\R2021a\bin\win64\libmex.dll+00460098 mexUnlock_800+00025874
[ 7] 0x00007ff9b592ee80 bin\win64\pgo\m_dispatcher.dll+00585344 Mfh_file::dispatch_file_common+00000164
[ 8] 0x00007ff9b592e63e bin\win64\pgo\m_dispatcher.dll+00583230 Mfh_error::lookup+00003386
[ 9] 0x00007ff9b592edd5 bin\win64\pgo\m_dispatcher.dll+00585173 Mfh_file::dispatch+00000045
[ 10] 0x00007ff9afd16acd bin\win64\pgo\m_lxe.dll+00355021
[ 11] 0x00007ff9afd1636f bin\win64\pgo\m_lxe.dll+00353135
[ 12] 0x00007ff9afd15ca1 bin\win64\pgo\m_lxe.dll+00351393
[ 13] 0x00007ff9afd323c7 bin\win64\pgo\m_lxe.dll+00467911 MathWorks::lxe::initializeFcn+00106135
[ 14] 0x00007ff9afd31261 bin\win64\pgo\m_lxe.dll+00463457 MathWorks::lxe::initializeFcn+00101681
[ 15] 0x00007ff9afd30c72 bin\win64\pgo\m_lxe.dll+00461938 MathWorks::lxe::initializeFcn+00100162
[ 16] 0x00007ff9afd353f3 bin\win64\pgo\m_lxe.dll+00480243 MathWorks::lxe::initializeFcn+00118467
[ 17] 0x00007ff9afd3509f bin\win64\pgo\m_lxe.dll+00479391 MathWorks::lxe::initializeFcn+00117615
[ 18] 0x00007ff9afd1d2c0 bin\win64\pgo\m_lxe.dll+00381632 MathWorks::lxe::initializeFcn+00019856
[ 19] 0x00007ff9afd1c0eb bin\win64\pgo\m_lxe.dll+00377067 MathWorks::lxe::initializeFcn+00015291
[ 20] 0x00007ff9afd1b136 bin\win64\pgo\m_lxe.dll+00373046 MathWorks::lxe::initializeFcn+00011270
[ 21] 0x00007ff9afdf4296 bin\win64\pgo\m_lxe.dll+01262230 MathWorks::lxe::ShutdownLxeEngine+00031034
[ 22] 0x00007ff9b18ef670 bin\win64\pgo\m_lxe.dll+29554288 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00055824
[ 23] 0x00007ff9b18ee5f4 bin\win64\pgo\m_lxe.dll+29550068 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00051604
[ 24] 0x00007ff9b190b6fe bin\win64\pgo\m_lxe.dll+29669118 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00170654
[ 25] 0x00007ff9b1939c5c bin\win64\pgo\m_lxe.dll+29858908 FeatureTestObservableWorkspace+00046096
[ 26] 0x00007ff9a039a550 C:\Program Files\MATLAB\R2021a\bin\win64\structuredoutput.dll+00370000 structuredoutput::changeDebuggerEnablement+00000512
[ 27] 0x00007ff9a039a976 C:\Program Files\MATLAB\R2021a\bin\win64\structuredoutput.dll+00371062 structuredoutput::liveEvaluateExport+00000358
[ 28] 0x00007ff9b5168bea C:\Program Files\MATLAB\R2021a\bin\win64\builtin.dll+00101354 MathWorks::builtin::BuiltinFcn::invoke+00001130
[ 29] 0x00007ff9b58c4b9c bin\win64\pgo\m_dispatcher.dll+00150428 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000136
[ 30] 0x00007ff9b58b41d9 bin\win64\pgo\m_dispatcher.dll+00082393 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00000745
[ 31] 0x00007ff9b58b2121 bin\win64\pgo\m_dispatcher.dll+00074017 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 32] 0x00007ff9a86705d6 bin\win64\pgo\mcos_impl.dll+00525782 mdIsA+00171578
[ 33] 0x00007ff9b58a8048 bin\win64\pgo\m_dispatcher.dll+00032840 mdBuiltinAsBuiltinFcn+00000240
[ 34] 0x00007ff9b5168bea C:\Program Files\MATLAB\R2021a\bin\win64\builtin.dll+00101354 MathWorks::builtin::BuiltinFcn::invoke+00001130
[ 35] 0x00007ff9b58c4b9c bin\win64\pgo\m_dispatcher.dll+00150428 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000136
[ 36] 0x00007ff9b58b3588 bin\win64\pgo\m_dispatcher.dll+00079240 Mfh_MATLAB_fn_impl::dispatch+00000712
[ 37] 0x00007ff9b58b32ed bin\win64\pgo\m_dispatcher.dll+00078573 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 38] 0x00007ff9afd17115 bin\win64\pgo\m_lxe.dll+00356629
[ 39] 0x00007ff9afd64ede bin\win64\pgo\m_lxe.dll+00675550 MathWorks::lxe::initializeFcn+00313774
[ 40] 0x00007ff9afd1636f bin\win64\pgo\m_lxe.dll+00353135
[ 41] 0x00007ff9afd14431 bin\win64\pgo\m_lxe.dll+00345137
[ 42] 0x00007ff9afd323c7 bin\win64\pgo\m_lxe.dll+00467911 MathWorks::lxe::initializeFcn+00106135
[ 43] 0x00007ff9afd31261 bin\win64\pgo\m_lxe.dll+00463457 MathWorks::lxe::initializeFcn+00101681
[ 44] 0x00007ff9afd30c72 bin\win64\pgo\m_lxe.dll+00461938 MathWorks::lxe::initializeFcn+00100162
[ 45] 0x00007ff9afd353f3 bin\win64\pgo\m_lxe.dll+00480243 MathWorks::lxe::initializeFcn+00118467
[ 46] 0x00007ff9afd3509f bin\win64\pgo\m_lxe.dll+00479391 MathWorks::lxe::initializeFcn+00117615
[ 47] 0x00007ff9afd1d2c0 bin\win64\pgo\m_lxe.dll+00381632 MathWorks::lxe::initializeFcn+00019856
[ 48] 0x00007ff9afd1c0eb bin\win64\pgo\m_lxe.dll+00377067 MathWorks::lxe::initializeFcn+00015291
[ 49] 0x00007ff9afd1b136 bin\win64\pgo\m_lxe.dll+00373046 MathWorks::lxe::initializeFcn+00011270
[ 50] 0x00007ff9afd91667 bin\win64\pgo\m_lxe.dll+00857703 MathWorks::lxe::initializeFcn+00495927
[ 51] 0x00007ff9afd183fa bin\win64\pgo\m_lxe.dll+00361466
[ 52] 0x00007ff9afe818c5 bin\win64\pgo\m_lxe.dll+01841349 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00045473
[ 53] 0x00007ff9b58b49f8 bin\win64\pgo\m_dispatcher.dll+00084472 Mfh_MATLAB_fn_impl::need_FunctionExecutionFrame+00000568
[ 54] 0x00007ff9b58b5f0d bin\win64\pgo\m_dispatcher.dll+00089869 Mfh_file::dispatch+00000045
[ 55] 0x00007ff9a8649a44 bin\win64\pgo\mcos_impl.dll+00367172 mdIsA+00012968
[ 56] 0x00007ff9a864b267 bin\win64\pgo\mcos_impl.dll+00373351 mdIsA+00019147
[ 57] 0x00007ff9a8643336 bin\win64\pgo\mcos_impl.dll+00340790
[ 58] 0x00007ff9a8642da0 bin\win64\pgo\mcos_impl.dll+00339360
[ 59] 0x00007ff9a868c9bb bin\win64\pgo\mcos_impl.dll+00641467 mdMethodListAllFcn+00085739
[ 60] 0x00007ff9a868c8d0 bin\win64\pgo\mcos_impl.dll+00641232 mdMethodListAllFcn+00085504
[ 61] 0x00007ff9a868c800 bin\win64\pgo\mcos_impl.dll+00641024 mdMethodListAllFcn+00085296
[ 62] 0x00007ff9a8646f7d bin\win64\pgo\mcos_impl.dll+00356221 mdIsA+00002017
[ 63] 0x00007ff9b58b4630 bin\win64\pgo\m_dispatcher.dll+00083504 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001856
[ 64] 0x00007ff9b58b47b9 bin\win64\pgo\m_dispatcher.dll+00083897 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 65] 0x00007ff9afd17e2e bin\win64\pgo\m_lxe.dll+00359982
[ 66] 0x00007ff9afd13c2e bin\win64\pgo\m_lxe.dll+00343086
[ 67] 0x00007ff9afdf1de2 bin\win64\pgo\m_lxe.dll+01252834 MathWorks::lxe::ShutdownLxeEngine+00021638
[ 68] 0x00007ff9afdf1c8e bin\win64\pgo\m_lxe.dll+01252494 MathWorks::lxe::ShutdownLxeEngine+00021298
[ 69] 0x00007ff9afebf3e2 bin\win64\pgo\m_lxe.dll+02094050 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00298174
[ 70] 0x00007ff9afebf348 bin\win64\pgo\m_lxe.dll+02093896 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00298020
[ 71] 0x00007ff9b55b5cde bin\win64\pgo\m_interpreter.dll+00089310 inCallFcnWithTrapInDesiredWSAndPublishEvents+00000098
[ 72] 0x00007ff9b5c0ee12 C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00716306 iqm::BaseFEvalPlugin::inCallFcnWithTrap+00000066
[ 73] 0x00007ff9b5c0e6c7 C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00714439 iqm::BaseFEvalPlugin::execute+00000455
[ 74] 0x00007ff9b5c0e4e2 C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00713954 iqm::FEvalPlugin<cmddistributor::FEvalIIP>::execute+00000018
[ 75] 0x00007ff9b5a2df1d C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00515869 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00008893
[ 76] 0x00007ff9b5c18883 C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00755843 iqm::DelegateToAnotherIqmPlugin::execute+00000019
[ 77] 0x00007ff9ac52c406 C:\Program Files\MATLAB\R2021a\bin\win64\jmi.dll+00705542 LoadJAWTLibrary+00009110
[ 78] 0x00007ff9b5bf66ac C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00616108 iqm::Iqm::setupIqmFcnPtrs+00106204
[ 79] 0x00007ff9b5bc71f0 C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00422384 iqm::Iqm::create+00007024
[ 80] 0x00007ff9b5338eaf C:\Program Files\MATLAB\R2021a\bin\win64\libmwbridge.dll+00102063 ioReadLine+00000463
[ 81] 0x00007ff9b5338ca5 C:\Program Files\MATLAB\R2021a\bin\win64\libmwbridge.dll+00101541 ioReadLine+00000165
[ 82] 0x00007ff9b534a761 C:\Program Files\MATLAB\R2021a\bin\win64\libmwbridge.dll+00173921 mnGetCommandLineBuffer+00000289
[ 83] 0x00007ff9b534abb7 C:\Program Files\MATLAB\R2021a\bin\win64\libmwbridge.dll+00175031 mnParser+00000487
[ 84] 0x00007ff9b5a33d86 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00540038 mcr_set_enableReadingFromStdin+00013894
[ 85] 0x00007ff9b59cf5d3 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00128467 mcrFunctionSignature::set_signature+00107555
[ 86] 0x00007ff9b59eb550 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00243024 mcrFunctionSignature::set_signature+00222112
[ 87] 0x00007ff9b5c239ea C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00801258 iqm::PackagedTaskPlugin::execute+00000074
[ 88] 0x00007ff9b5a2e1ed C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00516589 services::lmgr::exception::LicensingStartupException::~LicensingStartupException+00009613
[ 89] 0x00007ff9b5bf66ac C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00616108 iqm::Iqm::setupIqmFcnPtrs+00106204
[ 90] 0x00007ff9b5bc84bc C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00427196 iqm::Iqm::create+00011836
[ 91] 0x00007ff9b5bc7c32 C:\Program Files\MATLAB\R2021a\bin\win64\iqm.dll+00425010 iqm::Iqm::create+00009650
[ 92] 0x00007ff9b5a058fc C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00350460 mcrInstantiationError::operator=+00010428
[ 93] 0x00007ff9b5a064ac C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00353452 mcrInstantiationError::operator=+00013420
[ 94] 0x00007ff9b5a03ac0 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00342720 mcrInstantiationError::operator=+00002688
[ 95] 0x00007ffa34519b9a C:\Program Files\MATLAB\R2021a\bin\win64\mwboost_thread-vc142-mt-x64-1_72.dll+00039834 mwboost::thread::swap+00000074
[ 96] 0x00007ffa3f9b1bb2 C:\Windows\System32\ucrtbase.dll+00138162 configthreadlocale+00000146
[ 97] 0x00007ffa40737034 C:\Windows\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 98] 0x00007ffa41e426a1 C:\Windows\SYSTEM32\ntdll.dll+00337569 RtlUserThreadStart+00000033
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
0 个评论
回答(2 个)
Shivani
2023-9-28
If the MEX file was written by you or downloaded externally, then the crash is potentially because of bugs in the MEX-file. Please debug the file or work with the author of the MEX-file and debug it, as suggested in the error log.
Refer to this MATLAB answer for additional debugging techniques regarding this issue: https://www.mathworks.com/matlabcentral/answers/97261-why-do-i-receive-a-segmentation-violation-when-i-run-a-c-mex-file-or-fortran-mex-file-that-i-compile
Hope this resolves your issue!
0 个评论
Walter Roberson
2023-9-28
The code was attempting to use the third party package refprop version 9.0 or 8.1, which was for 2013 to 2016. The mex file used refpropm.mexw64 is not used as of refprop 9.1
There were changes in how matlab interfaces with mex files about R2018b that would have required recompiling the source code for use in r2021a.
The process for linking to newer versions of refprop changed; see https://www.mathworks.com/matlabcentral/answers/371810-problem-linking-refprop-to-matlab
I get confused between refprop and coolprop. One of the two of them no longer supports matlab directly and now needs to be called through the Python interface.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!