My Matlab code stops working all of a sudden.
8 次查看(过去 30 天)
显示 更早的评论
--------------------------------------------------------------------------------
In page error detected at Tue Dec 12 01:08:09 2023 -0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Intel Intel(R) UHD Graphics Version 4.5.0 - Build 30.0.101.1338
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 30.0.101.1338 (2022-1-20)
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 11588206
MATLAB Root : C:\Program Files\MATLAB\R2018b
MATLAB Version : 9.5.0.1586782 (R2018b) Update 8
OpenGL : hardware
Operating System : Microsoft Windows 11 Enterprise
Process ID : 6620
Processor ID : x86 Family 6 Model 166 Stepping 0, GenuineIntel
Session Key : 422df0cc-9f26-4174-b594-2d3ad8a38ebd
Window System : Version 10.0 (Build 22631)
Fault Count: 1
Abnormal termination
Register State (from fault):
RAX = 00000000043f94a8 RBX = 00000000381a5ea0
RCX = 00007fff5c5fc451 RDX = 0000000259d9e6a0
RSP = 00000000043f9418 RBP = 00000000043f9478
RSI = 000000000000006a RDI = 0000000001bfe6a2
R8 = 0000000000000002 R9 = 00007fff5c5f0000
R10 = 0000000259d9e6a0 R11 = 00000000043f94a8
R12 = 00000000043f9730 R13 = 0000000000000000
R14 = 00000000000000d8 R15 = 000000000000ffff
RIP = 00007fff5c5fc451 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007fff5c5fc451 C:\Program Files\MATLAB\R2018b\bin\win64\VCRUNTIME140.dll+00050257 memcpy+00000225
[ 1] 0x00000000087a856d C:\Program Files\MATLAB\R2018b\toolbox\matlab\imagesci\private\rtifc.mexw64+00099693 mexfilerequiredapiversion+00003901
[ 2] 0x00000000087a722d C:\Program Files\MATLAB\R2018b\toolbox\matlab\imagesci\private\rtifc.mexw64+00094765 mexFunction+00000701
[ 3] 0x00000000fc635524 bin\win64\libmex.dll+00349476 MexRetrieveVersion+00003348
[ 4] 0x00000000fc635884 bin\win64\libmex.dll+00350340 MexRetrieveVersion+00004212
[ 5] 0x00000000fc619059 bin\win64\libmex.dll+00233561 mexUnlock_800+00025273
[ 6] 0x000000001785e007 bin\win64\pgo\m_dispatcher.dll+00057351 Mfh_file::dispatch_fh_impl+00001111
[ 7] 0x000000001785da9e bin\win64\pgo\m_dispatcher.dll+00055966 Mfh_file::dispatch_fh+00000062
[ 8] 0x0000000018599d12 bin\win64\pgo\m_lxe.dll+00236818
[ 9] 0x0000000018688d36 bin\win64\pgo\m_lxe.dll+01215798
[ 10] 0x000000001868703c bin\win64\pgo\m_lxe.dll+01208380
[ 11] 0x00000000185a3095 bin\win64\pgo\m_lxe.dll+00274581
[ 12] 0x000000001868cb3c bin\win64\pgo\m_lxe.dll+01231676
[ 13] 0x000000001868daf5 bin\win64\pgo\m_lxe.dll+01235701
[ 14] 0x000000001868d7cb bin\win64\pgo\m_lxe.dll+01234891
[ 15] 0x000000001868d129 bin\win64\pgo\m_lxe.dll+01233193
[ 16] 0x000000001785e007 bin\win64\pgo\m_dispatcher.dll+00057351 Mfh_file::dispatch_fh_impl+00001111
[ 17] 0x000000001785da9e bin\win64\pgo\m_dispatcher.dll+00055966 Mfh_file::dispatch_fh+00000062
[ 18] 0x0000000018682e7d bin\win64\pgo\m_lxe.dll+01191549
[ 19] 0x0000000018755b4a bin\win64\pgo\m_lxe.dll+02054986 MathWorks::lxe::ShutdownLxeEngine+00041910
[ 20] 0x00000000186cdbac bin\win64\pgo\m_lxe.dll+01498028
[ 21] 0x00000000186ce78c bin\win64\pgo\m_lxe.dll+01501068
[ 22] 0x00000000186cfb02 bin\win64\pgo\m_lxe.dll+01506050
[ 23] 0x00000000186d0768 bin\win64\pgo\m_lxe.dll+01509224
[ 24] 0x00000000186cfc4f bin\win64\pgo\m_lxe.dll+01506383
[ 25] 0x00000000186cfd4e bin\win64\pgo\m_lxe.dll+01506638
[ 26] 0x0000000018687ca6 bin\win64\pgo\m_lxe.dll+01211558
[ 27] 0x00000000185a3095 bin\win64\pgo\m_lxe.dll+00274581
[ 28] 0x000000001868cb3c bin\win64\pgo\m_lxe.dll+01231676
[ 29] 0x00000000186120fd bin\win64\pgo\m_lxe.dll+00729341
[ 30] 0x000000001861178a bin\win64\pgo\m_lxe.dll+00726922
[ 31] 0x000000001861169e bin\win64\pgo\m_lxe.dll+00726686
[ 32] 0x00000000186f8cd8 bin\win64\pgo\m_lxe.dll+01674456
[ 33] 0x00000000186f8c86 bin\win64\pgo\m_lxe.dll+01674374
[ 34] 0x00000000186128d5 bin\win64\pgo\m_lxe.dll+00731349
[ 35] 0x0000000017ab69e7 bin\win64\pgo\m_interpreter.dll+00354791 inEvalCmdWithLocalReturn+00000063
[ 36] 0x00000000fb610388 bin\win64\libmwbridge.dll+00131976 mnParser+00001304
[ 37] 0x0000000017673618 bin\win64\mcr.dll+00341528 mcr::runtime::setInterpreterThreadSingletonToCurrent+00020808
[ 38] 0x000000001767414d bin\win64\mcr.dll+00344397 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023677
[ 39] 0x000000001763b1ba bin\win64\mcr.dll+00111034 mcrOptions::set_use_license_manager+00075498
[ 40] 0x0000000017656e74 bin\win64\mcr.dll+00224884 mcrOptions::set_use_license_manager+00189348
[ 41] 0x00000000fd02cfee bin\win64\iqm.dll+00643054 iqm::PackagedTaskPlugin::execute+00000894
[ 42] 0x00000000fd02ce63 bin\win64\iqm.dll+00642659 iqm::PackagedTaskPlugin::execute+00000499
[ 43] 0x00000000fcffcc07 bin\win64\iqm.dll+00445447 iqm::Iqm::setupIqmFcnPtrs+00076215
[ 44] 0x00000000fcffcc59 bin\win64\iqm.dll+00445529 iqm::Iqm::setupIqmFcnPtrs+00076297
[ 45] 0x00000000fcffca16 bin\win64\iqm.dll+00444950 iqm::Iqm::setupIqmFcnPtrs+00075718
[ 46] 0x00000000fcfd9748 bin\win64\iqm.dll+00300872 iqm::Iqm::deliver+00005880
[ 47] 0x00000000fcfd8eef bin\win64\iqm.dll+00298735 iqm::Iqm::deliver+00003743
[ 48] 0x00000000fcfdac0d bin\win64\iqm.dll+00306189 iqm::Iqm::deliver+00011197
[ 49] 0x0000000100203765 bin\win64\libmwservices.dll+02176869 services::system_events::PpeDispatchHook::dispatchOne+00036213
[ 50] 0x0000000100212a53 bin\win64\libmwservices.dll+02239059 sysq::addProcessPendingEventsUnitTestHook+00006035
[ 51] 0x0000000100214300 bin\win64\libmwservices.dll+02245376 sysq::getCondition+00004208
[ 52] 0x000000010021595d bin\win64\libmwservices.dll+02251101 svWS_ProcessPendingEvents+00000221
[ 53] 0x0000000017677724 bin\win64\mcr.dll+00358180 mcr::runtime::setInterpreterThreadSingletonToCurrent+00037460
[ 54] 0x0000000017677f16 bin\win64\mcr.dll+00360214 mcr::runtime::setInterpreterThreadSingletonToCurrent+00039494
[ 55] 0x000000001766cabf bin\win64\mcr.dll+00314047 mcr_process_events+00001007
[ 56] 0x000000001757d040 bin\win64\MVMLocal.dll+00380992 mvm_server::inproc::LocalFactory::terminate+00177312
[ 57] 0x00000000fa9d9480 bin\win64\mvm.dll+01741952 mvm::detail::SessionImpl::initWithOptions+00000592
[ 58] 0x00000000fa9da170 bin\win64\mvm.dll+01745264 mvm::detail::SessionImpl::runMain+00000128
[ 59] 0x00000000fa9da395 bin\win64\mvm.dll+01745813 mvm::detail::SessionImpl::runMatlabDesktop+00000261
[ 60] 0x0000000140007036 C:\Program Files\MATLAB\R2018b\bin\win64\matlab.exe+00028726 mwboost::serialization::singleton_module::unlock+00000966
[ 61] 0x0000000140007f13 C:\Program Files\MATLAB\R2018b\bin\win64\matlab.exe+00032531 mwboost::serialization::singleton_module::unlock+00004771
[ 62] 0x00007fff63fd257d C:\Windows\System32\KERNEL32.DLL+00075133
[ 63] 0x00007fff64caaa58 C:\Windows\SYSTEM32\ntdll.dll+00371288 RtlUserThreadStart+00000040
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.
** This crash report has been saved to disk as C:\Users\SOHEIL~1\AppData\Local\Temp\matlab_crash_dump.6620-1 **
回答(1 个)
Gyan Vaibhav
2023-12-21
Hi Soheil,
I understand that you are facing a error, when you are trying to run your code, MATLAB stops working, with the error you provided above.
Here are few things that the stack trace points to:
- The error propagated through a MEX-file “rtifc.mexw64” which seems to be related to TIFF file handling.
- The crash occurred in a system DLL related to memory copying operations “memcpy”.
Here are a few steps that can be followed to resolve the issue.
- Check for Updates: Ensure that your MATLAB installation is up to date with the latest updates and patches. Sometimes, crashes can be resolved by simply updating to the latest version.
- If the issue persists, you could contact MathWorks Technical Support here:
Hope this helps.
Thanks
Gyan
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!