MATLAB Answers

0

Why does MATLAB crash when using the 15.300.1025.0 crimson driver from AMD?

I have an AMD Radeon graphics card, and I just updated to the most recent driver, version 15.300.1025.0. Now a script that plots a few data series that used to work fine is now crashing MATLAB R2014b. This also occurs in R2015a, when I bring up an axes or an "errordlg". What can I do to resolve this?
MATLAB Crash Dump:
 
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
Graphics card 1 : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon R9 M200X Series Version 15.300.1025.0
Graphics card 2 : Intel Corporation ( 0x8086 ) Intel® HD Graphics 4600 Version 10.18.10.3412
Java Crash Report : C:\Users\Username\AppData\Local\Temp\hs_error_pid9744.log
MATLAB Architecture: win64
MATLAB Root : C:\Program Files\MATLAB\R2014b
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Microsoft Windows 7 Professional
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Software OpenGL : 1
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Assertion in void __cdecl `anonymous-namespace'::mwJavaAbort(void) at b:\matlab\src\jmi\javainit.cpp line 1319:
Fatal Java Exception. See Java Crash Report for details.
...
Stack Trace (captured):
[ 0] 0x000000000435432a C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00082730 fl::diag::windows::context_base::capture_data+00000010
[ 1] 0x0000000004350bb4 C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00068532 fl::diag::thread_context::unspecified_bool+00006628
[ 2] 0x00000000043505ab C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00066987 fl::diag::thread_context::unspecified_bool+00005083
[ 3] 0x0000000004353dbe C:\Program Files\MATLAB\R2014b\bin\win64\libmwfl.dll+00081342 fl::diag::terminate+00000110
[ 4] 0x000000000f0127c7 C:\Program Files\MATLAB\R2014b\bin\win64\jmi.dll+00468935 mljShutdown+00000439
[ 5] 0x000000006dfe0aed C:\Program Files\MATLAB\R2014b\sys\java\jre\win64\jre\bin\server\jvm.dll+02165485 JVM_FindSignal+00002525
[ 6] 0x000000006dfd3c29 C:\Program Files\MATLAB\R2014b\sys\java\jre\win64\jre\bin\server\jvm.dll+02112553 JVM_ResolveClass+00461817
[ 7] 0x000000006dfe17d6 C:\Program Files\MATLAB\R2014b\sys\java\jre\win64\jre\bin\server\jvm.dll+02168790 JVM_FindSignal+00005830
[ 8] 0x000000006dfe597c C:\Program Files\MATLAB\R2014b\sys\java\jre\win64\jre\bin\server\jvm.dll+02185596 JVM_FindSignal+00022636
[ 9] 0x000000006e072e58 C:\Program Files\MATLAB\R2014b\sys\java\jre\win64\jre\bin\server\jvm.dll+02764376 JVM_FindSignal+00601416
[ 10] 0x0000000077ae905d C:\Windows\SYSTEM32\ntdll.dll+00168029 RtlDecodePointer+00000173
[ 11] 0x0000000077ad8c0f C:\Windows\SYSTEM32\ntdll.dll+00101391 RtlUnwindEx+00003007
[ 12] 0x0000000077b0d948 C:\Windows\SYSTEM32\ntdll.dll+00317768 KiUserExceptionDispatcher+00000046
 
Java Stack Trace:
  ERROR: Stack: [0x0000000154040000,0x0000000158040000], sp=0x000000015803e0a8, free space=65528k Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j jogamp.nativewindow.windows.GDI.DescribePixelFormat1(JIILjava/nio/ByteBuffer;)I+0 j jogamp.nativewindow.windows.GDI.DescribePixelFormat(JIILjogamp/nativewindow/windows/PIXELFORMATDESCRIPTOR;)I+17 j jogamp.opengl.windows.wgl.WGLUtil.DescribePixelFormat(JIILjogamp/nativewindow/windows/PIXELFORMATDESCRIPTOR;)I+20 j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglAllGDIPFIDs(J)[I+4 j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationGDI(Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;JZ[I)Z+361 j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(Ljogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;JZ[I)V+238 j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(Ljavax/media/nativewindow/CapabilitiesChooser;Ljavax/media/opengl/GLDrawableFactory;Ljavax/media/nativewindow/NativeSurface;[I)V+129 j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.updateGraphicsConfiguration(Ljavax/media/opengl/GLDrawableFactory;Ljavax/media/nativewindow/NativeSurface;[I)V+7 j jogamp.opengl.windows.wgl.WindowsWGLDrawable.setRealizedImpl()V+29 j jogamp.opengl.GLDrawableImpl.setRealized(Z)V+197 j jogamp.opengl.windows.wgl.WindowsWGLDrawableFactory$SharedResourceImplementation.createSharedResource(Ljava/lang/String;)Ljogamp/opengl/SharedResourceRunner$Resource;+108 j jogamp.opengl.SharedResourceRunner.run()V+267 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub

1 Answer

Answer by MathWorks Support Team on 7 Feb 2018
 Accepted Answer

This is caused by a bug in AMD's 15.300.1025.0 crimson driver. To resolve the issue, update your driver to version 16.1 or newer.

  0 Comments

Sign in to comment.