MATLAB Answers

Matlab crashes when I start the application

9 views (last 30 days)
Hi,
Matlab crashes when I start the application, what seems to be the error? It would be much appreciated if you had an idea how to fix it :)
I get the following crash logs:
MATLAB Log File: C:\Users\danne\AppData\Local\Temp\matlab_crash_dump.8396-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Access violation detected at 2021-07-26 22:41:28 +0200
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 4600 Version 20.19.15.4549 (2016-11-10)
Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 860M Version 27.21.14.5751 (2020-11-22)
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 : 862612
MATLAB Root : C:\Program Files\MATLAB\R2021a
MATLAB Version : 9.10.0.1669831 (R2021a) Update 2
OpenGL : hardware
Operating System : Microsoft Windows 10 Home
Process ID : 8396
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Session Key : c06b585f-d2d1-4e82-a702-e3314c3d1ac5
Window System : Version 10.0 (Build 19043)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'Chrome_IOThread' id 5988
Register State (from fault):
RAX = 000001e32c377230 RBX = 00000069e5fff301
RCX = 0000000065fe0300 RDX = 0000000000180015
RSP = 00000069e5fff180 RBP = 00007ff9e0056888
RSI = 000001e32c36a588 RDI = 000001e32c36a540
R8 = 0000000000000018 R9 = 0000000000000023
R10 = 0000000000000000 R11 = 2ff11f00000006cd
R12 = 00000069e5fff2b0 R13 = 00000069e5fff2c0
R14 = 00000069e5fff320 R15 = 000001e32c3323b0
RIP = 00007ff9d9dd62d2 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ff9d9dd62d2 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+11363026 cef_string_map_size+10265490
[ 1] 0x00007ff9d9f3151a C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+12784922 cef_string_map_size+11687386
[ 2] 0x00007ff9d9f304b0 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+12780720 cef_string_map_size+11683184
[ 3] 0x00007ff9d9f300f8 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+12779768 cef_string_map_size+11682232
[ 4] 0x00007ff9d9f24c08 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+12733448 cef_string_map_size+11635912
[ 5] 0x00007ff9db425a71 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+34757233 cef_string_utf16_to_upper+00383788
[ 6] 0x00007ff9dbc8fdd9 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+43580889 cef_time_delta+00266853
[ 7] 0x00007ff9dbc8fb61 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+43580257 cef_time_delta+00266221
[ 8] 0x00007ff9db4639d4 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+35011028 cef_string_utf16_to_upper+00637583
[ 9] 0x00007ff9db461eee C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+35004142 cef_string_utf16_to_upper+00630697
[ 10] 0x00007ff9dbc905d8 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+43582936 cef_time_delta+00268900
[ 11] 0x00007ff9db410a4e C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+34671182 cef_string_utf16_to_upper+00297737
[ 12] 0x00007ff9d9dea932 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+11446578 cef_string_map_size+10349042
[ 13] 0x00007ff9db4373a6 C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+34829222 cef_string_utf16_to_upper+00455777
[ 14] 0x00007ff9db467e6d C:\Program Files\MATLAB\R2021a\bin\win64\libcef.dll+35028589 cef_string_utf16_to_upper+00655144
[ 15] 0x00007ffa4f917034 C:\WINDOWS\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 16] 0x00007ffa50fc2651 C:\WINDOWS\SYSTEM32\ntdll.dll+00337489 RtlUserThreadStart+00000033

Accepted Answer

Shubham Khatri
Shubham Khatri on 31 Jul 2021
Hi,
To my understanding,
From the crash report, I can see that there are 2 different graphics drivers on your machine and one of them is a NVIDIA graphics card (from experience, it doesn't interact well with Intel HD graphics card). To avoid the crash, please use the following steps.
  • Firstly, update your NVIDIA graphics driver (GeForce GTX 860M) from their website to the latest version as well as your Intel(R) HD Graphics 4600 from Intel's website.
  • If the crashing behaviour persists, I suggest open MATLAB with the "softwareopenglmesa" tag by executing the following command from the Windows Ccommand Line (cmd):
matlab -softwareopenglmesa
​​​​Other things you can do to help avoid the crash:
  • Force the operating system to use only one graphics card instead of switching between the two automatically
  • When connecting the system to the external monitor or docking station, ensure that MATLAB is up and running before doing so
You can also refer to this answer for further assistance.
Hope it helps

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!