Borrar filtros
Borrar filtros

Matlab UIControl callback error

9 visualizaciones (últimos 30 días)
Toke Søltoft
Toke Søltoft el 17 de En. de 2015
Editada: Walter Roberson el 21 de Abr. de 2018
I get a Matlab UIControl Callback error. I have GUI made with GUIDE. When I start running my code I get the warning:
Matlab has disabled some advanced graphics rendering features by switching to software OpenGL. For more information click here.
After I get the error and closes Matlab R2014b I get this information:
MATLAB crash file:C:\Users\TOKE~1.NIE\AppData\Local\Temp\matlab_crash_dump.5368-1:
------------------------------------------------------------------------
Assertion detected at Sat Jan 17 16:39:06 2015
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 4000 Version 8.15.10.2696
MATLAB Architecture: win64
MATLAB Root : C:\Program Files\MATLAB\R2014b
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Microsoft Windows 7 Enterprise
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Software OpenGL : 1
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Assertion in bool __cdecl mnShutdownMatlabInternal(bool,bool,const class boost::optional<int> &,int *,bool,bool) at b:\matlab\src\mcr\runtime\shutdown.cpp line 171:
Unexpected exception during MATLAB shutdown: Message Catalog MATLAB:services was not loaded from the file. Please check file location, format or contents
Register State (captured):
RAX = 00000000043eea01 RBX = 000000000402a1c0
RCX = 0000000004029b90 RDX = 0000000000000000
RSP = 0000000004029700 RBP = 00000000fd11c208
RSI = 00000000043dea60 RDI = 00000000043eeab0
R8 = 000007fffffde000 R9 = 000007fef7e60000
R10 = 00000000043deab0 R11 = 00000000043deab0
R12 = 000000007e3fb050 R13 = 000000000402a828
R14 = 00000000fd11c208 R15 = 0000000000000000
RIP = 000000000421432a EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x000000000421432a C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00082730 fl::diag::windows::context_base::capture_data+00000010
[ 1] 0x0000000004211364 C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00070500 fl::diag::thread_context::unspecified_bool+00008596
[ 2] 0x000000000421084b C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00067659 fl::diag::thread_context::unspecified_bool+00005755
[ 3] 0x0000000004213ce9 C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00081129 fl::diag::terminate+00000089
[ 4] 0x00000000fd0ec6e9 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00444137 mnShutdownMCR+00000249
[ 5] 0x00000000fd0ec590 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00443792 QueryMLFcnTable_mcr+00001616
[ 6] 0x0000000004cf0fce C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00069582 mdLogging::log_function_exit+00000110
[ 7] 0x0000000004cf09cc C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068044 Mfunction_handle::dispatch+00000476
[ 8] 0x00000000058f9c1e C:\Program Files\MATLAB\R2014b\bin\win64\mcos.dll+00236574 mcos::COSMethodSignature::createMethodSignature+00000510
[ 9] 0x0000000004cf74d6 C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00095446 MFunctionHandles::erase+00000246
[ 10] 0x0000000004cf0fce C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00069582 mdLogging::log_function_exit+00000110
[ 11] 0x0000000004cf09cc C:\Program Files\MATLAB\R2014b\bin\win64\m_dispatcher.dll+00068044 Mfunction_handle::dispatch+00000476
[ 12] 0x0000000004e750e6 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00741606 inCallFcn+00000230
[ 13] 0x0000000004e75047 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00741447 inCallFcn+00000071
[ 14] 0x0000000004e75290 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00742032 inCallFcn+00000656
[ 15] 0x0000000004e75861 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00743521 inCallFcnWithTrap+00000081
[ 16] 0x0000000004e757de C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+00743390 inCallFcnWithTrapInDesiredWS+00000542
[ 17] 0x0000000004f51677 C:\Program Files\MATLAB\R2014b\bin\win64\m_interpreter.dll+01644151 inCallFcnWithTrapInDesiredWSAndPublishEvents+00000071
[ 18] 0x0000000004c08a12 C:\Program Files\MATLAB\R2014b\bin\win64\iqm.dll+00231954 iqm::BaseFEvalPlugin::inCallFcnWithTrap+00000066
[ 19] 0x0000000004c08659 C:\Program Files\MATLAB\R2014b\bin\win64\iqm.dll+00231001 iqm::BaseFEvalPlugin::execute+00000313
[ 20] 0x00000000fa7079b8 C:\Program Files\MATLAB\R2014b\bin\win64\nativejmi.dll+00227768 nativejmi::JmiFEvalIIP::write+00007656
[ 21] 0x00000000fa73a40f C:\Program Files\MATLAB\R2014b\bin\win64\nativejmi.dll+00435215 NativeLabCmdWinSetup+00195279
[ 22] 0x0000000004c041fa C:\Program Files\MATLAB\R2014b\bin\win64\iqm.dll+00213498 iqm::Iqm::setupIqmFcnPtrs+00026106
[ 23] 0x0000000004c040e6 C:\Program Files\MATLAB\R2014b\bin\win64\iqm.dll+00213222 iqm::Iqm::setupIqmFcnPtrs+00025830
[ 24] 0x0000000004bf4329 C:\Program Files\MATLAB\R2014b\bin\win64\iqm.dll+00148265 iqm::Iqm::deliver+00001113
[ 25] 0x0000000006368558 C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00034136 ioReadLine+00000280
[ 26] 0x0000000006368362 C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00033634 ioCmdLineEditSave+00011986
[ 27] 0x000000000636842b C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00033835 ioReadLine+00000107
[ 28] 0x000000000636e956 C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00059734 mnDebugPrompt+00001510
[ 29] 0x000000000636e48a C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00058506 mnDebugPrompt+00000282
[ 30] 0x000000000636ebee C:\Program Files\MATLAB\R2014b\bin\win64\libmwbridge.dll+00060398 mnParser+00000462
[ 31] 0x00000000fd0dd834 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00383028 mcrInstance::mnParser_on_interpreter_thread+00000036
[ 32] 0x00000000fd0a68e7 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00157927 mcr::runtime::setInterpreterThreadToCurrent+00019751
[ 33] 0x00000000fd0a6923 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00157987 mcr::runtime::setInterpreterThreadToCurrent+00019811
[ 34] 0x00000000fd0a7121 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00160033 mcr::runtime::setInterpreterThreadToCurrent+00021857
[ 35] 0x00000000fab5d3a6 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00512934 UIW_AttachThreadInput+00001270
[ 36] 0x00000000fab5cc35 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00511029 wsd_to_MSW+00004373
[ 37] 0x00000000fab5ccb9 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00511161 wsd_to_MSW+00004505
[ 38] 0x00000000772287fe C:\Windows\system32\USER32.dll+00165886 GetMenuBarInfo+00000638
[ 39] 0x000000007720f5fb C:\Windows\system32\USER32.dll+00062971 SystemParametersInfoW+00000235
[ 40] 0x0000000077214895 C:\Windows\system32\USER32.dll+00084117 IsProcessDPIAware+00000465
[ 41] 0x00000000774711f5 C:\Windows\SYSTEM32\ntdll.dll+00332277 KiUserCallbackDispatcher+00000031
[ 42] 0x000000007721908a C:\Windows\system32\USER32.dll+00102538 PeekMessageW+00000186
[ 43] 0x00000000772150fe C:\Windows\system32\USER32.dll+00086270 GetKeyState+00000238
[ 44] 0x0000000077213a6f C:\Windows\system32\USER32.dll+00080495 PeekMessageA+00000087
[ 45] 0x00000000fab0a26b C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00172651 UIW_ShowMenuItem+00003995
[ 46] 0x00000000fab5dce2 C:\Program Files\MATLAB\R2014b\bin\win64\uiw.dll+00515298 UIW_SuspendAttachThreadInput+00000466
[ 47] 0x0000000100118223 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01212963 services::system_events::PpeDispatchHook::dispatchOne+00032291
[ 48] 0x0000000100123c95 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01260693 sysq::addProcessPendingEventsUnitTestHook+00005813
[ 49] 0x0000000100123d50 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01260880 sysq::addProcessPendingEventsUnitTestHook+00006000
[ 50] 0x0000000100125b75 C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01268597 sysq::getCondition+00004629
[ 51] 0x00000001001274ba C:\Program Files\MATLAB\R2014b\bin\win64\libmwservices.dll+01275066 svWS_ProcessPendingEvents+00000138
[ 52] 0x00000000fd0a783d C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00161853 mcr::runtime::setInterpreterThreadToCurrent+00023677
[ 53] 0x00000000fd0a84aa C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00165034 mcr::runtime::setInterpreterThreadToCurrent+00026858
[ 54] 0x00000000fd0a0135 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00131381 mcr_process_events+00007477
[ 55] 0x00000000fd0a1a12 C:\Program Files\MATLAB\R2014b\bin\win64\mcr.dll+00137746 mcr_process_events+00013842
[ 56] 0x0000000007fb8f2d C:\Program Files\MATLAB\R2014b\bin\win64\MVMLocal.dll+00167725 mvm_server::inproc::LocalFactory::terminate+00048285
[ 57] 0x00000000fa8ef1ea C:\Program Files\MATLAB\R2014b\bin\win64\mvm.dll+00782826 mvm::detail::initLocalMvmHack+00000490
[ 58] 0x00000000fa8ef7a8 C:\Program Files\MATLAB\R2014b\bin\win64\mvm.dll+00784296 mvm::detail::SessionImpl::privateSession+00000376
[ 59] 0x00000000fa8ef9f8 C:\Program Files\MATLAB\R2014b\bin\win64\mvm.dll+00784888 mvm::detail::SessionImpl::privateSession+00000968
[ 60] 0x0000000140005ddd C:\Program Files\MATLAB\R2014b\bin\win64\matlab.exe+00024029
[ 61] 0x0000000140007870 C:\Program Files\MATLAB\R2014b\bin\win64\matlab.exe+00030832
[ 62] 0x00000000773159ed C:\Windows\system32\kernel32.dll+00088557 BaseThreadInitThunk+00000013
[ 63] 0x000000007744c541 C:\Windows\SYSTEM32\ntdll.dll+00181569 RtlUserThreadStart+00000033
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.
Anyone knows how to fix this?
  2 comentarios
per isakson
per isakson el 17 de En. de 2015
Can you reproduce this behavior? If so, did you submit a Service Request?
Toke Søltoft
Toke Søltoft el 19 de En. de 2015
is there any way to figure out where in the code this error appears? I tried to use dbstop if error, but i doesn't work. So I have no idea where in the code it happens.

Iniciar sesión para comentar.

Respuesta aceptada

Toke Søltoft
Toke Søltoft el 20 de En. de 2015
So I found the problem. In a loop I run every 10 sec, I use fopen but forgot to use fclose.
Normally if the loop is run in the main m-file you will get an error saying to many files open, but when the loop is called from a function in another m-file you dont get this error information. This should be fixed and I will send an error report.
So remember your fclose :D. Matlab can only handle 512 fopen.

Más respuestas (1)

Toke Søltoft
Toke Søltoft el 17 de En. de 2015
yes I did since it is reproducible. But it is a bit random when it happens.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by