필터 지우기
필터 지우기

How can I troubleshoot error in MATLAB with GCO?

조회 수: 2 (최근 30일)
GeonWoo Jeon
GeonWoo Jeon 2017년 9월 1일
이동: Angelo Yeo 2023년 12월 27일
I want to apply DECOLOR (DEtecting Contiguous Outliers in the Low-Rank Representation) to my video. And I meet this problem implementing the file GCO_ExpandOnAlpha. How can I troubleshoot this error?
MATLAB crash <file:C>:\Users\전건우\AppData\Local\Temp\matlab_crash_dump.5108-1:
------------------------------------------------------------------------
Access violation detected at Fri Sep 01 18:22:16 2017
------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Default Encoding : KSC_5601
Deployed : false
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel® HD Graphics 620 Version 21.20.16.4534
Host Name : DESKTOP-7TS5SGF
MATLAB Architecture : win64 MATLAB
Entitlement ID: 2385114
MATLAB Root : C:\Program Files\MATLAB\R2017a MATLAB Version : 9.2.0.556344 (R2017a)
OpenGL : hardware
Operating System : Microsoft Windows 10 Home
Processor ID : x86 Family 6 Model 142 Stepping 9, Genuine
Intel Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
Window System : Version 10.0 (Build 15063)
Fault Count: 1
Abnormal termination: Access violation
Register State (from fault): RAX = 0000000000000000 RBX = 00000000234c8c20 RCX = 00000000234c8c20 RDX = 0000000000000004 RSP = 00000000043faea8 RBP = 00000000043faed0 RSI = 0000000000000004 RDI = 0000000023499f20
R8 = 0000000000000007 R9 = 00000000043faf10
R10 = 0000000000000002 R11 = 0000000000000004
R12 = 0000000000000007 R13 = 00000003b444b6c9
R14 = 00000000000000a0 R15 = 0000000000000000
RIP = 0000000004787960 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x0000000004787960 D:\code\decolor\decolor\gco_matlab.mexw64+00031072 mexfilerequiredapiversion+00000032
[ 1] 0x0000000004785453 D:\code\decolor\decolor\gco_matlab.mexw64+00021587 mexFunction+00007695
[ 2] 0x0000000004786ec9 D:\code\decolor\decolor\gco_matlab.mexw64+00028361 mexFunction+00014469
[ 3] 0x0000000004782b6d D:\code\decolor\decolor\gco_matlab.mexw64+00011117
[ 4] 0x0000000004783782 D:\code\decolor\decolor\gco_matlab.mexw64+00014210 mexFunction+00000318
[ 5] 0x00000000fc5fd8c9 bin\win64\libmex.dll+00121033 mexRunMexFile+00000313
[ 6] 0x00000000fc5fc4f2 bin\win64\libmex.dll+00115954 mexFeature_mexver+00002130
[ 7] 0x00000000fc5fb306 bin\win64\libmex.dll+00111366 mexUnlock+00023430
[ 8] 0x0000000015b244d4 bin\win64\pgo\m_dispatcher.dll+00017620 Mfh_file::dispatch_fh_impl+00000820
[ 9] 0x0000000015b24196 bin\win64\pgo\m_dispatcher.dll+00016790 Mfh_file::dispatch_fh+00000062
[ 10] 0x0000000015b298fd bin\win64\pgo\m_dispatcher.dll+00039165 Mfunction_handle::dispatch+00001037
[ 11] 0x00000000167b8cea bin\win64\pgo\m_lxe.dll+00232682
[ 12] 0x00000000169481bb bin\win64\pgo\m_lxe.dll+01868219 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00366027
[ 13] 0x00000000167a26c9 bin\win64\pgo\m_lxe.dll+00141001
[ 14] 0x00000000167a32f3 bin\win64\pgo\m_lxe.dll+00144115
[ 15] 0x00000000167a474c bin\win64\pgo\m_lxe.dll+00149324
[ 16] 0x00000000167a5288 bin\win64\pgo\m_lxe.dll+00152200
[ 17] 0x00000000167a498f bin\win64\pgo\m_lxe.dll+00149903
[ 18] 0x0000000016798c4b bin\win64\pgo\m_lxe.dll+00101451
[ 19] 0x00000000167a004a bin\win64\pgo\m_lxe.dll+00131146
[ 20] 0x000000001679f7d0 bin\win64\pgo\m_lxe.dll+00128976
[ 21] 0x00000000168f5d0f bin\win64\pgo\m_lxe.dll+01531151 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00028959
[ 22] 0x00000000168f52d3 bin\win64\pgo\m_lxe.dll+01528531 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00026339
[ 23] 0x00000000168f51b9 bin\win64\pgo\m_lxe.dll+01528249 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00026057
[ 24] 0x0000000016980ea9 bin\win64\pgo\m_lxe.dll+02100905 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,MathWorks::lxe::MatlabIrTree>::load_object_data+00015609
[ 25] 0x0000000016980e32 bin\win64\pgo\m_lxe.dll+02100786 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,MathWorks::lxe::MatlabIrTree>::load_object_data+00015490
[ 26] 0x00000000168f30dd bin\win64\pgo\m_lxe.dll+01519837 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00017645
[ 27] 0x0000000015d5d0cb bin\win64\pgo\m_interpreter.dll+00446667 inEvalCmdWithLocalReturn+00000063
[ 28] 0x00000000fb60923d bin\win64\libmwbridge.dll+00102973 mnGetPrompt+00013165
[ 29] 0x00000000fb60a2f3 bin\win64\libmwbridge.dll+00107251 mnParser+00001107
[ 30] 0x00000000158e75f1 bin\win64\mcr.dll+00226801 mcr::runtime::setInterpreterThreadSingletonToCurrent+00027889
[ 31] 0x00000000158e64e7 bin\win64\mcr.dll+00222439 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023527
[ 32] 0x00000000158e6563 bin\win64\mcr.dll+00222563 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023651
[ 33] 0x00000000158e6e81 bin\win64\mcr.dll+00224897 mcr::runtime::setInterpreterThreadSingletonToCurrent+00025985
[ 34] 0x00000000fd01e647 bin\win64\iqm.dll+00583239 iqm::UserEvalPlugin::pre+00030695
[ 35] 0x00000000fd02af8c bin\win64\iqm.dll+00634764 iqm::UserEvalPlugin::pre+00082220
[ 36] 0x00000000fd018770 bin\win64\iqm.dll+00558960 iqm::UserEvalPlugin::pre+00006416
[ 37] 0x00000000fd02de9a bin\win64\iqm.dll+00646810 iqm::UserEvalPlugin::pre+00094266
[ 38] 0x00000000fcffad17 bin\win64\iqm.dll+00437527 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727
[ 39] 0x00000000fcffb36f bin\win64\iqm.dll+00439151 iqm::PackagedTaskPlugin::execute+00000575
[ 40] 0x00000000fcffad89 bin\win64\iqm.dll+00437641 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841
[ 41] 0x00000000fcffb1e4 bin\win64\iqm.dll+00438756 iqm::PackagedTaskPlugin::execute+00000180
[ 42] 0x00000000fcfd111a bin\win64\iqm.dll+00266522 iqm::Iqm::setupIqmFcnPtrs+00072250
[ 43] 0x00000000fcfd0ff3 bin\win64\iqm.dll+00266227 iqm::Iqm::setupIqmFcnPtrs+00071955
[ 44] 0x00000000fcfb7b95 bin\win64\iqm.dll+00162709 iqm::Iqm::deliver+00003349
[ 45] 0x00000000fcfb8815 bin\win64\iqm.dll+00165909 iqm::Iqm::deliver+00006549
[ 46] 0x0000000180106383 bin\win64\libmwservices.dll+01074051 services::system_events::PpeDispatchHook::dispatchOne+00019811
[ 47] 0x000000018010abe3 bin\win64\libmwservices.dll+01092579 sysq::addProcessPendingEventsUnitTestHook+00002099
[ 48] 0x000000018010add0 bin\win64\libmwservices.dll+01093072 sysq::addProcessPendingEventsUnitTestHook+00002592
[ 49] 0x000000018010c095 bin\win64\libmwservices.dll+01097877 sysq::getCondition+00003269
[ 50] 0x000000018010cf8f bin\win64\libmwservices.dll+01101711 svWS_ProcessPendingEvents+00000287
[ 51] 0x00000000158e795e bin\win64\mcr.dll+00227678 mcr::runtime::setInterpreterThreadSingletonToCurrent+00028766
[ 52] 0x00000000158e8046 bin\win64\mcr.dll+00229446 mcr::runtime::setInterpreterThreadSingletonToCurrent+00030534
[ 53] 0x00000000158de832 bin\win64\mcr.dll+00190514 mcr_process_events+00010210
[ 54] 0x00000000158e0782 bin\win64\mcr.dll+00198530 mcr_process_events+00018226
[ 55] 0x00000000157cc21e bin\win64\MVMLocal.dll+00246302 mvm_server::inproc::LocalFactory::terminate+00073982
[ 56] 0x00000000fa95a3d9 bin\win64\mvm.dll+01221593 mvm::detail::initLocalMvmHack+00000521
[ 57] 0x00000000fa95ab25 bin\win64\mvm.dll+01223461 mvm::detail::SessionImpl::privateSession+00000533
[ 58] 0x00000000fa95ad31 bin\win64\mvm.dll+01223985 mvm::detail::SessionImpl::privateSession+00001057
[ 59] 0x0000000140006fd5 bin\win64\MATLAB.exe+00028629
[ 60] 0x0000000140007661 bin\win64\MATLAB.exe+00030305
[ 61] 0x00007ffe58952774 C:\WINDOWS\System32\KERNEL32.DLL+00075636 BaseThreadInitThunk+00000020
[ 62] 0x00007ffe5b380d51 C:\WINDOWS\SYSTEM32\ntdll.dll+00462161 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.
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
if true
% code
DoSetDataCost(h,dc,iter);
GCO_SetLabeling(h,[3 3 3 3]);
Assert(GCO_ComputeEnergy(h) == sum(dc(3,:)));
GCO_SetLabeling(h,[1 2 3 4]);
Assert(GCO_ComputeEnergy(h) == dc(1,1)+dc(2,2)+dc(3,3)+dc(4,4));
GCO_SetLabeling(h,[5 5 5 5]);
GCO_ExpandOnAlpha(h,8);
Assert(all(GCO_GetLabeling(h) == [5 5 8 8]'));
GCO_ExpandOnAlpha(h,3);
Assert(all(GCO_GetLabeling(h) == [5 3 8 8]'));
GCO_Expansion(h);
Assert(all(GCO_GetLabeling(h) == [1 2 8 9]'));
Assert(GCO_ComputeEnergy(h) == dc(1,1)+dc(2,2)+dc(8,3)+dc(9,4));
GCO_Delete(h);
if (iter==1), disp('Expansion-D00 PASSED'); end
end

채택된 답변

Adam
Adam 2017년 9월 1일
이동: Angelo Yeo 2023년 12월 27일
"If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information."
Best option.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!