In our WPF application's telemetry, we found a few crashes related to a DirectX exception. Not much is in the stack trace. The core error message is:
What might cause this issue? Full stack trace is below.
[{"severityLevel":"Critical","parsedStack":[{"assembly":"Esri.ArcGISRuntime, Version=100.5.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86","method":"Esri.ArcGISRuntime.ArcGISException.HandleCoreError","level":0,"line":0},{"assembly":"Esri.ArcGISRuntime, Version=100.5.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86","method":"RuntimeCoreNet.GeneratedWrappers.Interop.CheckError","level":1,"line":0},{"assembly":"Esri.ArcGISRuntime, Version=100.5.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86","method":"RuntimeCoreNet.GeneratedWrappers.CoreGeoView.Pulse","level":2,"line":0},{"assembly":"Esri.ArcGISRuntime, Version=100.5.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86","method":"Esri.ArcGISRuntime.Internal.HostedSurfaceElement.CompositionTargetRendering","level":3,"line":0},{"assembly":"PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Media.MediaContext.RenderMessageHandlerCore","level":4,"line":0},{"assembly":"PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Media.MediaContext.AnimatedRenderMessageHandler","level":5,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.ExceptionWrapper.InternalRealCall","level":6,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.ExceptionWrapper.TryCatchWhen","level":7,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.DispatcherOperation.InvokeImpl","level":8,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"MS.Internal.CulturePreservingExecutionContext.CallbackWrapper","level":9,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ExecutionContext.RunInternal","level":10,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ExecutionContext.Run","level":11,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ExecutionContext.Run","level":12,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"MS.Internal.CulturePreservingExecutionContext.Run","level":13,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.DispatcherOperation.Invoke","level":14,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.Dispatcher.ProcessQueue","level":15,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.Dispatcher.WndProcHook","level":16,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"MS.Win32.HwndWrapper.WndProc","level":17,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"MS.Win32.HwndSubclass.DispatcherCallbackOperation","level":18,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.ExceptionWrapper.InternalRealCall","level":19,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.ExceptionWrapper.TryCatchWhen","level":20,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.Dispatcher.LegacyInvokeImpl","level":21,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"MS.Win32.HwndSubclass.SubclassWndProc","level":22,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"MS.Win32.UnsafeNativeMethods.DispatchMessage","level":23,"line":0},{"assembly":"WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35","method":"System.Windows.Threading.Dispatcher.PushFrameImpl","level":24,"line":0},{"assembly":"Esri.ArcGISRuntime, Version=100.5.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86","method":"Esri.ArcGISRuntime.Internal.HostedSurfaceElement.SurfaceBackgroundUiWorker","level":25,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ExecutionContext.RunInternal","level":26,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ExecutionContext.Run","level":27,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ExecutionContext.Run","level":28,"line":0},{"assembly":"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Threading.ThreadHelper.ThreadStart","level":29,"line":0}],"outerId":"0","message":"DirectX failure CreateQuery code = 0x887a0005: \nc:\dailyr\rtc\runtimecore\capi\src\mapping\mapview\geoview.cpp(209) : error : Exception caught in RTGeoView_pulse","type":"Esri.ArcGISRuntime.ArcGISRuntimeException","id":"6993709"}]
Just found another similar issue reported in 100.3 and 100.4.
https://community.esri.com/message/792505-map-crash-runtime-net-1003
Sounds like we're pretty sure this is graphics driver related. We'll check with our clients to be sure they have updated their drivers.