Why does MATLAB crash when plotting with AMD drivers?

531 views (last 30 days)
I was trying to create a plot, when suddenly MATLAB crashed with the following stack.  What is going on?
Stack Trace (captured):
[ 0] 0x00000000043f462a C:\Program Files\MATLAB\R2015a\bin\win64\libmwfl.dll+00083498
[ 1] 0x00000000043f0ee4 C:\Program Files\MATLAB\R2015a\bin\win64\libmwfl.dll+00069348
[ 2] 0x00000000043f08db C:\Program Files\MATLAB\R2015a\bin\win64\libmwfl.dll+00067803
[ 3] 0x00000000043f40be C:\Program Files\MATLAB\R2015a\bin\win64\libmwfl.dll+00082110
[ 4] 0x00000000fb055607 C:\Program Files\MATLAB\R2015a\bin\win64\jmi.dll+00480775
[ 5] 0x000000006e667b6d C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02390893
[ 6] 0x000000006e650ad8 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02296536
[ 7] 0x000000006e6688e6 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02394342
[ 8] 0x000000006e66c2d8 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02409176
[ 9] 0x000000006e703a48 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+03029576
[ 10] 0x00000000770891ed C:\Windows\SYSTEM32\ntdll.dll+00168429
[ 11] 0x0000000077078b4f C:\Windows\SYSTEM32\ntdll.dll+00101199
[ 12] 0x00000000770b0538 C:\Windows\SYSTEM32\ntdll.dll+00329016
[ 13] 0x000000006e5f8b41 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+01936193
[ 14] 0x000000006e64fafa C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02292474
[ 15] 0x000000006e6507af C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02295727
[ 16] 0x000000006e6688e6 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02394342
[ 17] 0x000000006e66c2d8 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+02409176
[ 18] 0x000000006e703a48 C:\Program Files\MATLAB\R2015a\sys\java\jre\win64\jre\bin\server\jvm.dll+03029576
[ 19] 0x00000000770891ed C:\Windows\SYSTEM32\ntdll.dll+00168429
[ 20] 0x0000000077078b4f C:\Windows\SYSTEM32\ntdll.dll+00101199
[ 21] 0x00000000770b0538 C:\Windows\SYSTEM32\ntdll.dll+00329016
[ 22] 0x000000007d09734f C:\Windows\system32\atio6axx.dll+15299407
[ 23] 0x000000007d102c05 C:\Windows\system32\atio6axx.dll+15739909
[ 24] 0x000000007d0c125e C:\Windows\system32\atio6axx.dll+15471198

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Sep 2021
Edited: MathWorks Support Team on 2 Sep 2021
Several users have reported this issue with their graphics card, and they were able to resolve it by updating their drivers from the following page:
Another user also mentioned there was something wrong with the Intel HD graphic card drivers. After they had repaired those drivers, this issue was solved.
Furthermore, if you are using Riva Tuner software for On Screen Display (OSD) information (i.e. information like FPS, CPU %), you should try disabling OSD for MATLAB. IT seems like it is not supported.
If doing the above does not help to prevent additional crashes, please contact Technical Support:
Malik on 6 Apr 2022
For AMD video cards has anyone tried using the "Radeon™ Pro Software for Enterprise" drivers that are for professional software, aimed for stability, rather than the "AMD Software: Adrenalin Edition" gaming drivers?
Perhaps these have reduce the crashes? Feedback apprecaited since I am having similar issues with my AMD RX 570 and I have tried numerous driver updates without luck until happening upon the 'Pro' drivers that I am now trialing.
@MathWorks Support Team guys, you need to sort out these issues. You can't keep pointing your finger at AMD. It takes two to tango...
Thank you

Sign in to comment.

More Answers (6)

Jinduo Xing
Jinduo Xing on 6 Sep 2018
Edited: Walter Roberson on 5 Feb 2019
I was trying to create a plot, when suddenly MATLAB crashed with the following stack. What is going on? I also try to update the Graphics Driver, but still crash. configuration:
Crash Decoding : Disabled - No sandbox or build area path Crash Mode : continue (default) Default Encoding : GBK Deployed : false Graphics Driver : Unknown software Graphics card 1 : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon R5 M335 Version (2016-12-6) Graphics card 2 : Intel Corporation ( 0x8086 ) Intel® HD Graphics 520 Version (2018-2-28) Java Crash Report : C:\Users\123\AppData\Local\Temp\hs_error_pid13924.log Java Version : Java 1.8.0_144-b01 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode MATLAB Architecture : win64 MATLAB Entitlement ID : 1092095 MATLAB Root : C:\Program Files\MATLAB\R2018a MATLAB Version : (R2018a) OpenGL : software Operating System : Microsoft Windows 10 家庭中文版 Process ID : 13924 Processor ID : x86 Family 6 Model 78 Stepping 3, GenuineIntel Session Key : 91812363-23d6-4750-8467-41e4f49333f8 Window System : Version 10.0 (Build 17134)
Fault Count: 1
Assertion in void __cdecl `anonymous-namespace'::mwJavaAbort(void) at b:\matlab\src\jmi\jmi\javainit.cpp line 1461
Register State (captured): RAX = 00000000107f2ef8 RBX = 0000000000000000 RCX = 0000000184032090 RDX = 0000000000000000 RSP = 0000000184032010 RBP = 0000000025278858 RSI = 00000000107f2ef8 RDI = 00000000107f2ef8
R8 = 000085f38aa40f19 R9 = 00007ffd6e1a0000
R10 = 000000001072a298 R11 = 00000000107e2eec
R12 = 00000001840326d0 R13 = 00000000107e2e28
R14 = 00000000107f2e78 R15 = 0000000025278858
RIP = 00000000105ec44a EFL = 00000202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured): [ 0] 0x00000000105e6063 bin\win64\libmwfl.dll+00155747 [ 1] 0x00000000105e4658 bin\win64\libmwfl.dll+00149080 [ 2] 0x00000000105e7f68 bin\win64\libmwfl.dll+00163688 [ 3] 0x00000000105e780e bin\win64\libmwfl.dll+00161806 [ 4] 0x00000000105ebdc8 bin\win64\libmwfl.dll+00179656 [ 5] 0x000000002520bcec bin\win64\jmi.dll+00703724 [ 6] 0x0000000075d26d1d C:\Program Files\MATLAB\R2018a\sys\java\jre\win64\jre\bin\server\jvm.dll+02714909 [ 7] 0x0000000075d0ef3b C:\Program Files\MATLAB\R2018a\sys\java\jre\win64\jre\bin\server\jvm.dll+02617147 [ 8] 0x0000000075d27a46 C:\Program Files\MATLAB\R2018a\sys\java\jre\win64\jre\bin\server\jvm.dll+02718278 [ 9] 0x0000000075d2c33c C:\Program Files\MATLAB\R2018a\sys\java\jre\win64\jre\bin\server\jvm.dll+02736956 [ 10] 0x0000000075dc2938 C:\Program Files\MATLAB\R2018a\sys\java\jre\win64\jre\bin\server\jvm.dll+03352888 [ 11] 0x00007ffd88adeced C:\WINDOWS\SYSTEM32\ntdll.dll+00650477 [ 12] 0x00007ffd88a46c86 C:\WINDOWS\SYSTEM32\ntdll.dll+00027782 [ 13] 0x00007ffd88addc1e C:\WINDOWS\SYSTEM32\ntdll.dll+00646174 [ 14] 0x00000000bd6221de C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+16261598 [ 15] 0x00000000bd6221a6 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+16261542 [ 16] 0x00000000bc91fedd C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+02621149 [ 17] 0x00000000bd48d271 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+14602865 [ 18] 0x00000000bd48d448 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+14603336 [ 19] 0x00000000bd48ce68 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+14601832 [ 20] 0x00000000bc7f194b C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+01382731 [ 21] 0x00000000bc7f0c77 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+01379447 [ 22] 0x00007ffd691e6cfc C:\WINDOWS\system32\opengl32.dll+00158972 [ 23] 0x00007ffd691e710d C:\WINDOWS\system32\opengl32.dll+00160013 [ 24] 0x00007ffd691fa209 C:\WINDOWS\system32\opengl32.dll+00238089 [ 25] 0x00007ffd85d979fc C:\WINDOWS\System32\gdi32full.dll+00424444 [ 26] 0x00000000533d7f74 unknown-module+00000000
Prasanth Kumar Duba
Prasanth Kumar Duba on 9 Oct 2020
I have tried to install AMD Radeon Drive in my PC.
But it is not working.

Sign in to comment.

ahmed solyman
ahmed solyman on 30 Apr 2019
Really, Many thanks to you MathWorks,
the problem is solved upon your guides
  1 Comment
Noor Abbas
Noor Abbas on 18 Apr 2020
what is the instructions that sole your problem , I have same problem.

Sign in to comment.

John Rodriguez
John Rodriguez on 7 Jan 2020
I realized that my biggest problem is likely due to the fact that I regularly jump between my system being docked and undocked. It swaps video drivers at that time and my IT team doesn't update the system when it isn't docked.

fiza ashfaq
fiza ashfaq on 24 Mar 2020
Same issue accur when me start the setup of matlab
matlab has encountered an internal problem and needs to close

Julio gomez
Julio gomez on 14 Jun 2020
Hello dear Consultants,
I would much appreciate solving me the problem at the end.
I am not doing anything unusual; I just want to plot regular files output by MatLab (*.fig). Such files can be open by my students, nevertheless not managed how to open them.
I have already automatically downloaded an AMD driver (the suggested one, therefore I don't remember the name of it); yet it didn't work out. Also the driver Hello dear Consultants,
I would much appreciate solving me the problem at the end.
I am not doing anything unusual; I just want to plot regular files output by MatLab (*.fig). Such files can be open by my students, nevertheless not managed how to open them.
I have already automatically downloaded an AMD driver (the suggested one, therefore I don't remember the name of it, ¿AMD Radeon VII?); yet it didn't work out.
I would much appreciate your help because this is very annoying.
I would much appreciate your help because this is very annoying.
  1 Comment
Walter Roberson
Walter Roberson on 14 Jun 2020
Please show the stack trace, and please show the output of
opengl info
Also, which MATLAB release are you using?

Sign in to comment.

Suraj dariyal
Suraj dariyal on 25 Nov 2020
its not ploted i think liscence is expire how increase time
  1 Comment
Walter Roberson
Walter Roberson on 25 Nov 2020
Edited: MathWorks Support Team on 18 Aug 2021
The volunteers who answer questions here do not have access to the license database. You can try requesting another trial https://www.mathworks.com/matlabcentral/answers/393992-what-are-the-self-serve-trial-package-options-with-mathworks but you might you might need to contact sales .
If you are using a MOOC license then the course teacher is responsible for extending licenses.
If you are using a Student license supplied by your university then you would need to obtain an updated license from your university.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!