Matlab crashes on startup

Hi,
I have been using Matlab on the same computer for the last couple of months and it has always worked fine. However, today I received this error while opening the program.
Has anyone any clue about what is going on?
Thanks in advance
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Assertion detected at 2021-07-02 09:11:16 +0200
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
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 : 7940685
MATLAB Root : C:\Program Files\MATLAB\R2021a
MATLAB Version : 9.10.0.1649659 (R2021a) Update 1
Operating System : Microsoft Windows 10 Pro
Process ID : 13148
Processor ID : x86 Family 6 Model 142 Stepping 12, GenuineIntel
Session Key : 25bd2f3a-853d-4f2c-84a0-f47a3d83eec7
Window System : Version 10.0 (Build 19042)
Fault Count: 1
Assertion in class std::vector<struct startup_plugins::initializer::BundleNode,class std::allocator<struct startup_plugins::initializer::BundleNode> > __cdecl startup_plugins::initializer::BundleFilter::filter(void) at B:\matlab\startup_plugins\initializer\src\initializer\BundleFilter.cpp line 66:
bad bundle: com_mathworks_graphics_init_plugin
Current Thread: 'MCR 0 interpreter thread' id 10272
Register State (captured):
RAX = 00007ffb5a18a758 RBX = 00007ffb5a18a758
RCX = 000000f15a1f84f0 RDX = 0000000000000000
RSP = 000000f15a1f8430 RBP = 0000000000000042
RSI = 000002b8ac3ede50 RDI = 00007ffb5a18a758
R8 = 0000000000000003 R9 = 000000f15a1f83a8
R10 = 0000000000000014 R11 = 00007ffb5a17a883
R12 = 000000f15a1f8b20 R13 = 000000f15a1f9218
R14 = 00007ffb2b407d40 R15 = 00007ffb5a17a698
RIP = 00007ffb5a0610ba EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00007ffb5a05a063 C:\Program Files\MATLAB\R2021a\bin\win64\libmwfl.dll+00041059 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00007ffb5a057338 C:\Program Files\MATLAB\R2021a\bin\win64\libmwfl.dll+00029496 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00007ffb5a05d7b0 C:\Program Files\MATLAB\R2021a\bin\win64\libmwfl.dll+00055216 foundation::core::diag::symbols::getSymbolAddress+00013056
[ 3] 0x00007ffb5a05c071 C:\Program Files\MATLAB\R2021a\bin\win64\libmwfl.dll+00049265 foundation::core::diag::symbols::getSymbolAddress+00007105
[ 4] 0x00007ffb5a06093b C:\Program Files\MATLAB\R2021a\bin\win64\libmwfl.dll+00067899 foundation::core::diag::terminate+00000059
[ 5] 0x00007ffb2b3f9377 C:\Program Files\MATLAB\R2021a\bin\win64\libmwstartup_plugin_initializer.dll+00562039 startup_plugins::initializer::initialize+00012727
[ 6] 0x00007ffb919a1080 C:\Program Files\MATLAB\R2021a\bin\win64\VCRUNTIME140_1.dll+00004224
[ 7] 0x00007ffb919a26d5 C:\Program Files\MATLAB\R2021a\bin\win64\VCRUNTIME140_1.dll+00009941 _NLG_Return2+00005509
[ 8] 0x00007ffb9bbd1506 C:\Windows\SYSTEM32\ntdll.dll+00660742 RtlCaptureContext2+00001190
[ 9] 0x00007ffb2b37af46 C:\Program Files\MATLAB\R2021a\bin\win64\libmwstartup_plugin_initializer.dll+00044870
[ 10] 0x00007ffb2b3f69e7 C:\Program Files\MATLAB\R2021a\bin\win64\libmwstartup_plugin_initializer.dll+00551399 startup_plugins::initializer::initialize+00002087
[ 11] 0x00007ffb293ce932 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00649522 mcr::runtime::jmi_proxy::setJmiInitOptions+00104162
[ 12] 0x00007ffb2941af81 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00962433 mnRefreshEmergencyExitParamsCache+00000433
[ 13] 0x00007ffb293e66e5 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00747237 mcrInstance::init_on_interpreter_thread+00001573
[ 14] 0x00007ffb293863fe C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00353278 mcrInstantiationError::operator=+00013246
[ 15] 0x00007ffb29383ac0 C:\Program Files\MATLAB\R2021a\bin\win64\mcr.dll+00342720 mcrInstantiationError::operator=+00002688
[ 16] 0x00007ffb8d0f9b9a C:\Program Files\MATLAB\R2021a\bin\win64\mwboost_thread-vc142-mt-x64-1_72.dll+00039834 mwboost::thread::swap+00000074
[ 17] 0x00007ffb99341bb2 C:\Windows\System32\ucrtbase.dll+00138162 configthreadlocale+00000146
[ 18] 0x00007ffb9b1c7034 C:\Windows\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 19] 0x00007ffb9bb82651 C:\Windows\SYSTEM32\ntdll.dll+00337489 RtlUserThreadStart+00000033

4 Comments

Any changes since last time it was working? Updated matlab? Windows OS update? Installed a new plugin?
I often get a ton of java errors if I try to start MATLAB too soon, like while I can see my desktop but it's still loading all kinds of stuff in the background.
Hi, thank you for your suggestions.
There were no changes both in Matlab and in Windows OS.
Since I found online that resetting the preferences was the solution for most of these problems, I did that and it worked.
Interesting. Generally resetting preferences is a good try after you upgrade matlab. Surprisingly it also worked for you.

Sign in to comment.

Answers (1)

QingYang Dai
QingYang Dai on 24 Aug 2021
I have encountered the same problem, and I wonder how to fix it. Thanks a lot!

Categories

Products

Release

R2021a

Tags

Asked:

on 2 Jul 2021

Answered:

on 24 Aug 2021

Community Treasure Hunt

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

Start Hunting!