Skip to content

Matlab crash after click Localize #33

@naqin1018

Description

@naqin1018

I follow the user guide, and test with the sample data Gettingstarted2D_Nup96-AF647.tif. When I click preview, it works fine. But when I click Localize, MATLAB crash, and gives the following error message:

MATLAB Log File: C:\Users\75282\AppData\Local\Temp\matlab_crash_dump.87692-1


MATLAB Log File


         Access violation detected at 2026-02-26 22:42:24 +0800

Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : NVIDIA Corporation NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 Version 4.6.0 NVIDIA 560.94
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce RTX 3060 Ti Version 32.0.15.6094 (2024-8-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 : 4432226
MATLAB Root : D:\Personal\Matlab
MATLAB Version : 9.14.0.2306882 (R2023a) Update 4
OpenGL : hardware
Operating System : Microsoft Windows 11 Pro
Process ID : 87692
Processor ID : x86 Family 6 Model 151 Stepping 5, GenuineIntel
Session Key : 3d1ce695-1427-4a8d-8f37-3e77d5f948d4
Window System : Version 10.0 (Build 26200)

Fault Count: 1

Abnormal termination:
Access violation

Current Thread: 'MCR 0 interpreter thread' id 82372

Register State (from fault):
RAX = 000000b52dcf90a8 RBX = 0000000000000000
RCX = 0000000000000000 RDX = 0000000000000000
RSP = 000000b52dcf9030 RBP = 0000000000000000
RSI = 000000b52dcf92c0 RDI = 0000000000000000

R8 = 0000000000000000 R9 = 0000000000000000
R10 = ffffffffffffffff R11 = 0000000000000000
R12 = 0000000000000001 R13 = 0000000000000000
R14 = 0000000000000000 R15 = 0000000000000000

RIP = 00007ffc48f91080 EFL = 00010246

CS = 0033 FS = 0053 GS = 002b

Stack Trace (from fault):
[ 0] 0x00007ffc48f91080 D:\NTU\SMAP\shared\mexfiles\connectsingle2c.mexw64+00004224
[ 1] 0x00007ffc48f91361 D:\NTU\SMAP\shared\mexfiles\connectsingle2c.mexw64+00004961 mexFunction+00000273
[ 2] 0x00007ffba5536ac9 D:\Personal\Matlab\bin\win64\libmex.dll+00682697 mexfile::Inspector::needs_upgrade+00023257
[ 3] 0x00007ffba5539b42 D:\Personal\Matlab\bin\win64\libmex.dll+00695106 MexRetrieveVersion+00009682
[ 4] 0x00007ffba5539cb7 D:\Personal\Matlab\bin\win64\libmex.dll+00695479 MexRetrieveVersion+00010055
[ 5] 0x00007ffba5539e67 D:\Personal\Matlab\bin\win64\libmex.dll+00695911 MexRetrieveVersion+00010487
[ 6] 0x00007ffba551ae0e D:\Personal\Matlab\bin\win64\libmex.dll+00568846 mexUnlock+00016926
[ 7] 0x00007ffba5acc442 D:\Personal\Matlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[ 8] 0x00007ffba5acb712 D:\Personal\Matlab\bin\win64\m_dispatcher.dll+01226514 Mfh_error::lookup+00012722
[ 9] 0x00007ffba5acc37d D:\Personal\Matlab\bin\win64\m_dispatcher.dll+01229693 Mfh_file::dispatch+00000045
[ 10] 0x00007ffba51454b2 D:\Personal\Matlab\bin\win64\libmwlxemainservices.dll+00480434 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00379250
[ 11] 0x00007ffb4d38e7e1 D:\Personal\Matlab\bin\win64\m_lxe.dll+05826529 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006193
[ 12] 0x00007ffb4d390588 D:\Personal\Matlab\bin\win64\m_lxe.dll+05834120 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00013784
[ 13] 0x00007ffb4d2db068 D:\Personal\Matlab\bin\win64\m_lxe.dll+05091432 MathWorks::lxe::printLxeProfStatsForFeature+00299016
[ 14] 0x00007ffb4d2f5459 D:\Personal\Matlab\bin\win64\m_lxe.dll+05198937 MathWorks::lxe::printLxeProfStatsForFeature+00406521
[ 15] 0x00007ffb4d0d859b D:\Personal\Matlab\bin\win64\m_lxe.dll+02983323 MathWorks::lxe::LXEConstants::IsIfElse+00531387
[ 16] 0x00007ffb4d0dcba6 D:\Personal\Matlab\bin\win64\m_lxe.dll+03001254 MathWorks::lxe::LXEConstants::IsY+00012902
[ 17] 0x00007ffb4d0da041 D:\Personal\Matlab\bin\win64\m_lxe.dll+02990145 MathWorks::lxe::LXEConstants::IsY+00001793
[ 18] 0x00007ffb4d0ddca5 D:\Personal\Matlab\bin\win64\m_lxe.dll+03005605 MathWorks::lxe::LXEConstants::IsY+00017253
[ 19] 0x00007ffb4d0ddf53 D:\Personal\Matlab\bin\win64\m_lxe.dll+03006291 MathWorks::lxe::LXEConstants::IsY+00017939
[ 20] 0x00007ffb4d0dd8a8 D:\Personal\Matlab\bin\win64\m_lxe.dll+03004584 MathWorks::lxe::LXEConstants::IsY+00016232
[ 21] 0x00007ffb4d0d9796 D:\Personal\Matlab\bin\win64\m_lxe.dll+02987926 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000598
[ 22] 0x00007ffb4d1af527 D:\Personal\Matlab\bin\win64\m_lxe.dll+03863847 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00044007
[ 23] 0x00007ffb4d1b30e0 D:\Personal\Matlab\bin\win64\m_lxe.dll+03879136 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059296
[ 24] 0x00007ffba522c1e0 D:\Personal\Matlab\bin\win64\libmwlxemainservices.dll+01425888 FeatureTestObservableWorkspace+00202192
[ 25] 0x00007ffba512d177 D:\Personal\Matlab\bin\win64\libmwlxemainservices.dll+00381303 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280119
[ 26] 0x00007ffba512cac5 D:\Personal\Matlab\bin\win64\libmwlxemainservices.dll+00379589 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00278405
[ 27] 0x00007ffba512f108 D:\Personal\Matlab\bin\win64\libmwlxemainservices.dll+00389384 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288200
[ 28] 0x00007ffba5acc442 D:\Personal\Matlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[ 29] 0x00007ffba5acb3f8 D:\Personal\Matlab\bin\win64\m_dispatcher.dll+01225720 Mfh_error::lookup+00011928
[ 30] 0x00007ffba5acc4fd D:\Personal\Matlab\bin\win64\m_dispatcher.dll+01230077 Mfh_file::dispatch_with_reuse+00000045
[ 31] 0x00007ffb4d3b629e D:\Personal\Matlab\bin\win64\m_lxe.dll+05989022 MathWorks::lxe::CreateNestedFunctionHandle+00008318
[ 32] 0x00007ffb4d3aab1c D:\Personal\Matlab\bin\win64\m_lxe.dll+05942044 MathWorks::lxe::RegisterFunctionHandleTable+00000092
[ 33] 0x00007ffba79fea44 D:\Personal\Matlab\bin\win64\libmx.dll+00780868 matrix::detail::noninlined::mx_array_api::mxFevalFunctionHandle+00000036
[ 34] 0x00007ffba57337d8 D:\Personal\Matlab\bin\win64\m_interpreter.dll+00735192 inFullFevalFcn+00000136
[ 35] 0x00007ffb456fa1fb D:\Personal\Matlab\bin\win64\libmwgui.dll+00238075 MCallback::_execute+00000459
[ 36] 0x00007ffb45700137 D:\Personal\Matlab\bin\win64\libmwgui.dll+00262455 MCallback::executeImpl+00000327
[ 37] 0x00007ffb456ffedb D:\Personal\Matlab\bin\win64\libmwgui.dll+00261851 MCallback::execute+00000283
[ 38] 0x00007ffb35e848f5 D:\Personal\Matlab\bin\win64\hgdatatypes.dll+01001717 graphics::datatype::ZLocation::setZValue+00014181
[ 39] 0x00007ffb35e82ea0 D:\Personal\Matlab\bin\win64\hgdatatypes.dll+00994976 graphics::datatype::ZLocation::setZValue+00007440
[ 40] 0x00007ffb35e84095 D:\Personal\Matlab\bin\win64\hgdatatypes.dll+00999573 graphics::datatype::ZLocation::setZValue+00012037
[ 41] 0x00007ffb35db1ae3 D:\Personal\Matlab\bin\win64\hgdatatypes.dll+00137955 mwboost::archive::codecvt_null<wchar_t>::do_out+00001155
[ 42] 0x00007ffb421af273 D:\Personal\Matlab\bin\win64\mcos_impl.dll+01372787 mwboost::serialization::singleton_module::unlock+00855971
[ 43] 0x00007ffb421af3ce D:\Personal\Matlab\bin\win64\mcos_impl.dll+01373134 mwboost::serialization::singleton_module::unlock+00856318
[ 44] 0x00007ffb421aa926 D:\Personal\Matlab\bin\win64\mcos_impl.dll+01354022 mwboost::serialization::singleton_module::unlock+00837206
[ 45] 0x00007ffb36891d74 D:\Personal\Matlab\bin\win64\hg.dll+05774708 triggerFigureView+02794036
[ 46] 0x00007ffb364e5f7e D:\Personal\Matlab\bin\win64\hg.dll+01924990 UIClientComponentInterface::requestFocus+00635326
[ 47] 0x00007ffb364e9add D:\Personal\Matlab\bin\win64\hg.dll+01940189 UIClientComponentInterface::requestFocus+00650525
[ 48] 0x00007ffb364e9d57 D:\Personal\Matlab\bin\win64\hg.dll+01940823 UIClientComponentInterface::requestFocus+00651159
[ 49] 0x00007ffb3657dd59 D:\Personal\Matlab\bin\win64\hg.dll+02547033 getGraphicsUpdatesRequestedCount+00047497
[ 50] 0x00007ffb45169e93 D:\Personal\Matlab\bin\win64\graphics_util.dll+00171667 graphics_util::callbackHandler+00000371
[ 51] 0x00007ffb3657e0e0 D:\Personal\Matlab\bin\win64\hg.dll+02547936 getGraphicsUpdatesRequestedCount+00048400
[ 52] 0x00007ffb364cc508 D:\Personal\Matlab\bin\win64\hg.dll+01819912 UIClientComponentInterface::requestFocus+00530248
[ 53] 0x00007ffb356aedc9 D:\Personal\Matlab\bin\win64\gbtcontroller.dll+00126409 JDMFactory::destroy+00074057
[ 54] 0x00007ffb356a2e21 D:\Personal\Matlab\bin\win64\gbtcontroller.dll+00077345 JDMFactory::destroy+00024993
[ 55] 0x00007ffb829e0940 D:\Personal\Matlab\bin\win64\udd.dll+00330048 UDListener::removeListenerContainer+00001040
[ 56] 0x00007ffb829d931c D:\Personal\Matlab\bin\win64\udd.dll+00299804 UDEventInfo::send+00000092
[ 57] 0x00007ffb41289e11 D:\Personal\Matlab\bin\win64\udd_jmi.dll+00171537 mwboost::serialization::singleton_module::lock+00003745
[ 58] 0x00007ffb4127f272 D:\Personal\Matlab\bin\win64\udd_jmi.dll+00127602 mwboost::archive::codecvt_null<wchar_t>::default constructor closure'+00014226 [ 59] 0x00007ffb45169e93 D:\Personal\Matlab\bin\win64\graphics_util.dll+00171667 graphics_util::callbackHandler+00000371 [ 60] 0x00007ffb4127ecfb D:\Personal\Matlab\bin\win64\udd_jmi.dll+00126203 mwboost::archive::codecvt_null<wchar_t>::default constructor closure'+00012827
[ 61] 0x00007ffb4848be02 D:\Personal\Matlab\bin\win64\jmi.dll+01097218 IsRunningTimerOrReadyCallbacks+00036130
[ 62] 0x00007ffb4846d364 D:\Personal\Matlab\bin\win64\jmi.dll+00971620 mljLocalReferenceFrame::popFrameAndReturnReference+00063940
[ 63] 0x00007ffb484838e0 D:\Personal\Matlab\bin\win64\jmi.dll+01063136 IsRunningTimerOrReadyCallbacks+00002048
[ 64] 0x00007ffba5e25e5a D:\Personal\Matlab\bin\win64\iqm.dll+00810586 iqm::PackagedTaskPlugin::execute+00000074
[ 65] 0x00007ffba5c35770 D:\Personal\Matlab\bin\win64\mcr.dll+00415600 installMOCmdWinSink+00073888
[ 66] 0x00007ffba5dfcbe7 D:\Personal\Matlab\bin\win64\iqm.dll+00642023 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 67] 0x00007ffba5dccc91 D:\Personal\Matlab\bin\win64\iqm.dll+00445585 iqm::Iqm::create+00007745
[ 68] 0x00007ffbb3373e5e D:\Personal\Matlab\bin\win64\libmwbridge.dll+00081502 ioReadLine+00000430
[ 69] 0x00007ffbb3373c75 D:\Personal\Matlab\bin\win64\libmwbridge.dll+00081013 ioReadLine+00000165
[ 70] 0x00007ffbb33a5da0 D:\Personal\Matlab\bin\win64\libmwbridge.dll+00286112 mnGetCommandLineBuffer+00000288
[ 71] 0x00007ffbb33a6232 D:\Personal\Matlab\bin\win64\libmwbridge.dll+00287282 mnParser+00000466
[ 72] 0x00007ffba5c3b064 D:\Personal\Matlab\bin\win64\mcr.dll+00438372 mcr_initialize_main+00013812
[ 73] 0x00007ffba5be85a4 D:\Personal\Matlab\bin\win64\mcr.dll+00099748 mcrFunctionSignature::set_signature+00078980
[ 74] 0x00007ffba5c06130 D:\Personal\Matlab\bin\win64\mcr.dll+00221488 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure'+00017728
[ 75] 0x00007ffba5e25e5a D:\Personal\Matlab\bin\win64\iqm.dll+00810586 iqm::PackagedTaskPlugin::execute+00000074
[ 76] 0x00007ffba5c35770 D:\Personal\Matlab\bin\win64\mcr.dll+00415600 installMOCmdWinSink+00073888
[ 77] 0x00007ffba5dfcbe7 D:\Personal\Matlab\bin\win64\iqm.dll+00642023 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 78] 0x00007ffba5dcdeb1 D:\Personal\Matlab\bin\win64\iqm.dll+00450225 iqm::Iqm::create+00012385
[ 79] 0x00007ffba5dcd5f9 D:\Personal\Matlab\bin\win64\iqm.dll+00447993 iqm::Iqm::create+00010153
[ 80] 0x00007ffba5c21c9c D:\Personal\Matlab\bin\win64\mcr.dll+00335004 mcrInstantiationError::operator=+00009948
[ 81] 0x00007ffba5c226c5 D:\Personal\Matlab\bin\win64\mcr.dll+00337605 mcrInstantiationError::operator=+00012549
[ 82] 0x00007ffba5c20050 D:\Personal\Matlab\bin\win64\mcr.dll+00327760 mcrInstantiationError::operator=+00002704
[ 83] 0x00007ffc6dc892ea D:\Personal\Matlab\bin\win64\mwboost_thread-vc142-mt-x64-1_78.dll+00037610 mwboost::detail::win32::handle_manager::swap+00001642
[ 84] 0x00007ffc8e8b37b0 C:\WINDOWS\System32\ucrtbase.dll+00014256 wcsrchr+00000336
[ 85] 0x00007ffc904de8d7 C:\WINDOWS\System32\KERNEL32.DLL+00190679 BaseThreadInitThunk+00000023
[ 86] 0x00007ffc917ec48c C:\WINDOWS\SYSTEM32\ntdll.dll+00574604 RtlUserThreadStart+00000044

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.

Interestingly, I can find the file Gettingstarted2D_Nup96-AF647_sml.mat (2266 KB, I don't know if it is correct) under my path.

So, my question is why the MATLAB crash and how to solve it?

Thank you!

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions