ArcMap 10.4.1 Crashing on Windows 10

5403
6
01-26-2018 07:46 AM
WestervilleGIS
Occasional Contributor

Anyone having issues with ArcMap 10.4.1 crashing on Windows 10 machines?  In the event viewer it always is related to an application error caused by the displaycore.dll.  The map documents are saved as 10.4.1 documents and the data content in the MXDs is from SQL server.

0 Kudos
6 Replies
JayantaPoddar
MVP Esteemed Contributor

Please ensure the Video (display) driver is updated.

Update drivers in Windows 10 

Also turn off Hardware Acceleration in ArcMap (Customize > ArcMap Options. Go to the Data View tab.  Uncheck the checkbox for “Enable Hardware Acceleration for supported layers”.)

If the above steps don't work out, try Resetting your ArcGIS application profile

Still having issue?



Think Location
WestervilleGIS
Occasional Contributor

Thanks for the suggestions.

This actually did not fix the problem.  The drivers are up-to-date, hardware acceleration is turned off, and completely reset the ArcGIS application profile.  One of the interesting things is that the problem does not affect all of our users that are on 10.4.1 and using Windows 10.  I, for example, have the same setup and do not seem to have any issues with that.  The only consistent thing I can find is that the people that do have the problem have the displaycore.dll error in their event log as an application error when ArcMap crashes.

0 Kudos
StephenRhea
New Contributor III

I have this same problem, and the suggestions haven't worked for me either. ArcMap usually has to be open for > 5 minutes before the error occurs, but it runs into a huge memory leak where it jumps from 35 MB of RAM to nearly 3 GB before it crashes. I have a Dell laptop running 3 screens through a dock, and all drivers are up to date.

Details from Event Viewer:

Faulting application name: ArcMap.exe, version: 10.4.1.5686, time stamp: 0x57056699
Faulting module name: DisplayCore.dll, version: 10.4.1.5686, time stamp: 0x5705611c
Exception code: 0xc000041d
Fault offset: 0x00015793
Faulting process id: 0x3ca0
Faulting application start time: 0x01d3e245caea30be
Faulting application path: C:\Program Files (x86)\ArcGIS\Desktop10.4\bin\ArcMap.exe
Faulting module path: C:\Program Files (x86)\ArcGIS\Desktop10.4\bin\DisplayCore.dll
Report Id: 92b69f6b-3cca-44ec-baae-0a12e259b8e2
Faulting package full name:
Faulting package-relative application ID:

0 Kudos
StephenRhea
New Contributor III

One of our clients had this same crash, and Esri extracted this call stack. It looks like ArcMap has a threading issue, then finally errors out when trying to display the message.

----------------------------------------------------------------------------------------------------------------------------------------------------------

ArcMap_10.4.1.5686_0_03_06_2018_11_02_46, ArcMap_10.4.1.5686_0_03_01_2018_12_19_30

Exception type: System.Runtime.InteropServices.ExternalException
Message: A generic error occurred in GDI+.
Exception type: System.Runtime.InteropServices.ExternalException
Message: A generic error occurred in GDI+.
InnerException: <none>
StackTrace (generated):

  • System_Drawing_ni!System.Drawing.Image.FromHbitmap(IntPtr, IntPtr)+0x115a62
  • System_Drawing_ni!System.Drawing.Image.FromHbitmap(IntPtr)+0x3f
  • System_Drawing_ni!System.Drawing.Icon.BmpFrame()+0x30c
  • System_Drawing_ni!System.Drawing.Icon.ToBitmap()+0x6e
  • System_Windows_Forms_ni!System.Windows.Forms.ThreadExceptionDialog..ctor(System.Exception)+0xea5
  • System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)+0xc4
  • System_Windows_Forms_ni!System.Windows.Forms.Control.WndProcException(System.Exception)+0x17
  • System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception)+0xf
  • System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+0xae

StackTraceString: <none>
HResult: 80004005

Nested exception -------------------------------------------------------------
Exception object: 0d3c060c
Exception type: System.Runtime.InteropServices.ExternalException
Message: A generic error occurred in GDI+.
InnerException: <none>
StackTrace (generated):

  • System_Drawing_ni!System.Drawing.Graphics.CheckErrorStatus(Int32)+0x117ba9
  • System_Drawing_ni!System.Drawing.Graphics.DrawString(System.String, System.Drawing.Font,
  • System.Drawing.Brush, System.Drawing.RectangleF, System.Drawing.StringFormat)+0xce
  • System_Windows_Forms_ni!System.Windows.Forms.Label.OnPaint(System.Windows.Forms.PaintEventArgs)+0x37c
  • System_Windows_Forms_ni!System.Windows.Forms.Control.PaintWithErrorHandling(System.Windows.Forms.PaintEventArgs, Int16)+0x6c
  • System_Windows_Forms_ni!System.Windows.Forms.Control.WmPaint(System.Windows.Forms.Message ByRef)+0x3d4
  • System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+0x3a9
  • System_Windows_Forms_ni!System.Windows.Forms.Label.WndProc(System.Windows.Forms.Message ByRef)+0x34
  • System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+0x13
  • System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+0x35
  • System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+0x80
0 Kudos
WestervilleGIS
Occasional Contributor

Thanks!  Thats really useful information.  Did they have a solution for it or offer any suggestions?  It just seems to be a random occurrence for us but it always says DisplayCore.dll.

Thanks,

Ryan

0 Kudos
MichaelVolz
Esteemed Contributor

Have you seen this thread:

https://community.esri.com/message/634767-arcmap-1041-crashes-when-loading-mxd 

A patch might apply to your scenario.

0 Kudos