MATLAB: Matlab crashes everytime with plot(x,y)

crashplot

x = 1:81
y = [0.200000000000000 0.0615384615384614 0.0240601503759398 0.0101506740681999 0.00441189142610943 0.00194180280461553 0.000859315421837703 0.000381190048622360 0.000169274408898357 7.52047811882761e-05 3.34187621933157e-05 1.48516802529475e-05 6.60052893697305e-06 2.93352538782710e-06 1.30378056184544e-06 5.79456348570595e-07 2.57535823222632e-07 1.14460300237873e-07 5.08712315605564e-08 2.26094336586158e-08 1.00486364784658e-08 4.46606041037967e-09 1.98491556524516e-09 8.82184547634779e-10 3.92081922484522e-10 1.74258496521418e-10 7.74480479748263e-11 3.44212436331759e-11 1.52982071455199e-11 6.79900580280446e-12 3.02169400612229e-12 1.34281474828413e-12 5.96633853433559e-13 2.65010235978025e-13 1.17683640610267e-13 5.21804821573824e-14 2.28705943072782e-14 9.99200722162641e-15 4.32986979603811e-15 1.66533453693773e-15 5.55111512312578e-16 0 -2.22044604925031e-16 -2.22044604925031e-16 -2.22044604925031e-16 -2.22044604925031e-16 -2.22044604925031e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -4.44089209850063e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -6.66133814775094e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 -8.88178419700125e-16 ]
When I try to
plot(x,y)
Matlab R2016a crashes with the message:
Following is the "Details" from the error log:
*****EDIT***** : IT TURNS OUT IT CRASHES WITH EVERY PLOT I MAKE
MATLAB crash file:C:\Users\Admin\AppData\Local\Temp\matlab_crash_dump.4552-1:
————————————————————————
Assertion detected at Wed Nov 21 02:06:27 2018
————————————————————————
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown software
Default Encoding : windows-1252
Graphics card 1 : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon R5 M335 Version 21.19.148.32768
Graphics card 2 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 520 Version 23.20.16.4973
Host Name : DESKTOP-0S581I6
Java Crash Report : C:\Users\Admin\AppData\Local\Temp\hs_error_pid4552.log
MATLAB Architecture : win64
MATLAB Root : C:\Program Files\MATLAB\R2016a
MATLAB Version : 9.0.0.341360 (R2016a)
OpenGL : software
Operating System : Microsoft Windows 10 Home
Processor ID : x86 Family 6 Model 78 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
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 1389:
Fatal Java Exception. See Java Crash Report for details.
Register State (captured):
RAX = 00000000048fd001 RBX = 0000000000000000
RCX = 000000010c5121a0 RDX = 0000000000000000
RSP = 000000010c511d10 RBP = 0000000010b5d8a0
RSI = 000000010c5127e0 RDI = 00000000048ecfb8
R8 = 0000000000000000 R9 = 00007ffce6830000
R10 = 00000000048ed008 R11 = 00000000048ed008
R12 = 0000000010b5d8a0 R13 = 000000010c513e30
R14 = 00000000048fd088 R15 = 00000000048fd008
RIP = 000000000472961a EFL = 00000202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x000000000472961a C:\Program Files\MATLAB\R2016a\bin\win64\libmwfl.dll+00103962
[ 1] 0x0000000004725b58 C:\Program Files\MATLAB\R2016a\bin\win64\libmwfl.dll+00088920
[ 2] 0x00000000047254a7 C:\Program Files\MATLAB\R2016a\bin\win64\libmwfl.dll+00087207
[ 3] 0x0000000004729068 C:\Program Files\MATLAB\R2016a\bin\win64\libmwfl.dll+00102504
[ 4] 0x0000000010afffc7 C:\Program Files\MATLAB\R2016a\bin\win64\jmi.dll+00589767
[ 5] 0x000000005f107b6d C:\Program Files\MATLAB\R2016a\sys\java\jre\win64\jre\bin\server\jvm.dll+02390893
[ 6] 0x000000005f0f0ad8 C:\Program Files\MATLAB\R2016a\sys\java\jre\win64\jre\bin\server\jvm.dll+02296536
[ 7] 0x000000005f1088e6 C:\Program Files\MATLAB\R2016a\sys\java\jre\win64\jre\bin\server\jvm.dll+02394342
[ 8] 0x000000005f10c2d8 C:\Program Files\MATLAB\R2016a\sys\java\jre\win64\jre\bin\server\jvm.dll+02409176
[ 9] 0x000000005f1a3a48 C:\Program Files\MATLAB\R2016a\sys\java\jre\win64\jre\bin\server\jvm.dll+03029576
[ 10] 0x00007ffd1293ed3d C:\WINDOWS\SYSTEM32\ntdll.dll+00650557
[ 11] 0x00007ffd128a6c86 C:\WINDOWS\SYSTEM32\ntdll.dll+00027782
[ 12] 0x00007ffd1293dc6e C:\WINDOWS\SYSTEM32\ntdll.dll+00646254
[ 13] 0x0000000088f621de C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+16261598
[ 14] 0x0000000088f621a6 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+16261542
[ 15] 0x000000008825fedd C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+02621149
[ 16] 0x0000000088dcd271 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+14602865
[ 17] 0x0000000088dcd448 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+14603336
[ 18] 0x0000000088dcce68 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+14601832
[ 19] 0x000000008813194b C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+01382731
[ 20] 0x0000000088130c77 C:\WINDOWS\System32\DriverStore\FileRepository\c0313191.inf_amd64_f86a31122289b968\atio6axx.dll+01379447
[ 21] 0x00007ffcfe5b6cfc C:\WINDOWS\SYSTEM32\OPENGL32.dll+00158972
[ 22] 0x00007ffcfe5b710d C:\WINDOWS\SYSTEM32\OPENGL32.dll+00160013
[ 23] 0x00007ffcfe5ca209 C:\WINDOWS\SYSTEM32\OPENGL32.dll+00238089
[ 24] 0x00007ffd0f447adc C:\WINDOWS\System32\gdi32full.dll+00424668
[ 25] 0x000000002f283150 <unknown-module>+00000000
[ 26] 0x00000007e48d3f70 <unknown-module>+00000000
[ 27] 0x000000010c51f2f0 <unknown-module>+00000000
[ 28] 0x00000007e48d0fd0 <unknown-module>+00000000
[ 29] 0x000000002f276274 <unknown-module>+00000000
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.

Best Answer

It's usually caused by a video adapter problem in my experience.
bugs.gif
Related Question