AnsweredAssumed Answered

Map crashes or freezes

Question asked by AlexEdwin on Oct 23, 2018
Latest reply on Oct 24, 2018 by AlexEdwin

Hi

 

In our application we are experiencing crashes, freezes and this is complety random. i previously opened a thread to ask for help for this problem (Map crash runtime .Net 100.3 ), i was using runtime 100.3 and i hoped that in the next realese this would be fixed. I updated to runtime 100.4 but it still happens. i have two dump files that i could got when the application crashed

 

 

In Windows Event viewer i can see the following entry when the map crash. I updated the graphics drivers and i check that it support direct x. I am running the application in windows 10 but it also happen in windows 7

 

Faulting application name: app.exe, version: 7.3.0.22, time stamp: 0x5bcdbb4c

Faulting module name: ucrtbase.dll, version: 10.0.17134.191, time stamp: 0xcb91c047

Exception code: 0xc0000409

Fault offset: 0x000a253b

Faulting process id: 0x3a94

Faulting application start time: 0x01d46a0ab829c273

 

When the application freezes, i can see the following in the ouput windows in visual studio

 

Excepción no controlada: Esri.ArcGISRuntime.ArcGISRuntimeException: DirectX failure CreateQuery code = 0x887a0005: 
c:\daily_r\rtc\runtimecore\c_api\src\mapping\map_view\geo_view.cpp(203) : error : Exception caught in RT_GeoView_pulse
en Esri.ArcGISRuntime.ArcGISException.HandleCoreError(CoreError error, Boolean throwException)
en RuntimeCoreNet.GeneratedWrappers.Interop.CheckError(IntPtr errorHandle, Boolean throwOnFailure, GCHandle wrapperHandle)
en RuntimeCoreNet.GeneratedWrappers.CoreGeoView.Pulse()
en Esri.ArcGISRuntime.UI.Controls.GeoView.Esri.ArcGISRuntime.Internal.IDxSurfaceSource.Pulse()
en Esri.ArcGISRuntime.Internal.HostedSurfaceElement.CompositionTarget_Rendering(Object sender, EventArgs e)
en System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
en System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
en Esri.ArcGISRuntime.Internal.RenderingWeakEventManager.OnCompositeTargetRendering(Object sender, EventArgs e)
en System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
en System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
en System.Windows.Threading.DispatcherOperation.InvokeImpl()
en System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
en MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
en System.Windows.Threading.DispatcherOperation.Invoke()
en System.Windows.Threading.Dispatcher.ProcessQueue()
en System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
en MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
en MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
en System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
en MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
en MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
en System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
en System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
en Esri.ArcGISRuntime.Internal.HostedSurfaceElement.SurfaceBackgroundUiWorker(Object arg)
en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Threading.ThreadHelper.ThreadStart(Object obj)

 

 

 

The dump files can be found here

 

Microsoft OneDrive - Access files anywhere. Create docs with free Office Online. 

 

Please help me

 

Thanks

Outcomes