Matlab freezes on startup

14 visualizzazioni (ultimi 30 giorni)
Peter
Peter il 8 Giu 2016
Hello all,
I'm running:
  • Windows Server 2012 R2 Standard 64-bit
  • MATLAB R2014b
Sometimes when I start up MATLAB, nothing appears on screen. Using Process Explorer, I can find the stack trace for all threads launched by MATLAB, but I don't know how to interpret them to resolve this issue. Before I list the threads, I want to note that this issue occurs for all additional MATLAB instances I open after this one, as well as any I open if I log out and log back in; only restarting resolves this (for a while...).
FYI none of these work or make any difference in the stack traces:
  • Deleting my preferences in C:\Users\***\AppData\Roaming\MathWorks\MATLAB
  • -nojvm
  • -nodesktop
Process Explorer -> MATLAB.exe -> Properties... -> Threads:
  • MSCVCR110.dll!endthreadex+0x90
  1. ntdll.dll!ZwWaitForMultipleObjects+0xa
  2. KERNELBASE.dll!WaitForMultipleObjectsEx+0xed
  3. KERNEL32.DLL!WaitForMultipleObjects+0xf
  4. boost_thread-vc110-mt-1_49.dll!boost::this_thread::interruptible_wait+0x26b
  5. libmwservices.dll!svHistoryDate+0x980
  6. libmwservices.dll!QueryMLFcnTable_libmwservices+0x4b5d
  7. boost_thread-vc110-mt-1_49.dll!boost::thread::swap+0x31
  8. MSVCR110.dll!beginthreadex+0x107
  9. MSVCR110.dll!endthreadex+0x192
  10. KERNEL32.DLL!BaseThreadInitThunk+0x22
  11. ntdll.dll!RtlUserThreadStart+0x34
  • MATLAB.exe+0x7718
  1. ntdll.dll!ZwWaitForMultipleObjects+0xa
  2. KERNELBASE.dll!WaitForMultipleObjectsEx+0xed
  3. USER32.dll!IsWindow+0x1e9
  4. combase.dll!InternalIsApartmentInitialized+0x2d2
  5. combase.dll!NdrExtStubInitialize+0x3413
  6. combase.dll!NdrExtStubInitialize+0x27e0
  7. combase.dll!DcomChannelSetHResult+0x1206
  8. combase.dll!NdrExtStubInitialize+0x2572
  9. RPCRT4.dll!RpcAsyncCompleteCall+0x5dc
  10. combase.dll!NdrpFindInterface+0xd7c
  11. combase.dll!ObjectStublessClient32+0x7e42
  12. fastprox.dll!CWbemClassCache::~CWbemClassCache+0xc17
  13. libut.dll!utGetNumAllCores+0x95f
  14. libut.dll!utGetOS+0x76
  15. mcr.dll!mcr_inhibit_shutdown+0x262
  16. mcr.dll!mcr_init_std_output+0x4ab
  17. mcr.dll!mcr::runtime::setInterpreterThreadToCurrent+0x682e
  18. mcr.dll!mcr_process_events+0x1d35
  19. mcr.dll!mcr_process_events+0x3612
  20. MVMLocal.dll!mvm_server::inproc::LocalFactory::terminate+0xbc9d
  21. mvm.dll!mvm::detail::initLocalMvmHack+0x1ea
  22. mvm.dll!mvm::detail::SessionImpl::privateSession+0x178
  23. mvm.dll!mvm::detail::SessionImpl::privateSession+0x3c8
  24. MATLAB.exe+0x5ddd
  25. MATLAB.exe+0x7870
  26. KERNEL32.DLL!BaseThreadInitThunk+0x22
  27. ntdll.dll!RtlUserThreadStart+0x34
  • MSVCR110.dll!endthreadex+0x90
  1. ntdll.dll!NtSignalAndWaitForSingleObject+0xa
  2. KERNELBASE.dll!SignalObjectAndWait+0x8e
  3. libut.dll!MathWorks::System::Condition_DEPRECATED::signalAll+0xac
  4. libut.dll!MathWorks::System::Event_DEPRECATED::wait+0x39
  5. mcr.dll!mcr::runtime::setInterpreterThreadToCurrent+0x6ba1
  6. mcr.dll!mcr_process_events+0x218c
  7. mcr.dll!mcrInstantiationError::operator=+0x6b5a
  8. mcr.dll!mcrInstance::init+0x86e
  9. MVMLocal.dll!mvm_server::inproc::LocalMVM::privateInit+0x261
  10. MVMLocal.dll!mvm_server::inproc::LocalMVM::create+0x11a
  11. MVMLocal.dll!mvm_server::inproc::LocalFactory::createMVM+0x88
  12. MVMLocal.dll!mvm_server::inproc::LocalFactory::terminate+0x90ae
  13. MVMLocal.dll!mvm_server::inproc::LocalFactory::terminate+0xc81a
  14. boost_thread-vc110-mt-1_49.dll!boost::thread::swap+0x31
  15. MSVCR110.dll!beginthreadex+0x107
  16. MSVCR110.dll!endthreadex+0x192
  17. KERNEL32.DLL!BaseThreadInitThunk+0x22
  18. ntdll.dll!RtlUserThreadStart+0x34
  • uiw.dll!UIW_RegisterHooks+0x7a0
  1. USER32.dll!GetMessageW+0x5a
  2. USER32.dll!GetMessageA+0x44
  3. uiw.dll!UIW_RegisterHooks+0x86c
  4. KERNEL32.DLL!BaseThreadInitThunk+0x22
  5. ntdll.dll!RtlUserThreadStart+0x34
  • MSVCR110.dll!endthread+0x34
  1. ntdll.dll!ZwWaitForSingleObject+0xa
  2. KERNELBASE.dll!WaitForSingleObjectEx+0x98
  3. libmwservices.dll!svSetJreSignature+0xccf38
  4. MSVCR110.dll!beginthread+0x10b
  5. MSVCR110.dll!endthread+0xa4
  6. KERNEL32.DLL!BaseThreadInitThunk+0x22
  7. ntdll.dll!RtlUserThreadStart+0x34
Thanks, Peter

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by