Select to view content in your preferred language

Wpf Crashed related to runtimecore.dll

673
8
01-06-2025 08:44 AM
StevenLam1208
Emerging Contributor

Does anyone have an issue with an application automatically closed in version 200.6?  I got the exception from an application event viewer log.  It is affecting our production application.Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at RuntimeCoreNet.GeneratedWrappers.CoreVector.CoreRT_Vector_insert(IntPtr, Int64, IntPtr, IntPtr*)
at RuntimeCoreNet.GeneratedWrappers.CoreVector.Insert(Int64, RuntimeCoreNet.GeneratedWrappers.CoreElement)
at Esri.ArcGISRuntime.RuntimeCollection`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddRange(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at Esri.ArcGISRuntime.RuntimeObservableCollection`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddRange(System.Collections.Generic.IEnumerable`1<System.__Canon>)

0 Kudos
8 Replies
StevenLam1208
Emerging Contributor

The application has been running for a while then it intermittently closed.  The application displays the incident locations and moving vehicles using graphicsoverlay.  I tried rendering mode Static v.s. Dynamic.  It still had the same issue.

0 Kudos
dotMorten_esri
Esri Notable Contributor

That does indeed look like a crash deep in the native code. Do you have somewhat of a consistent reproducer? If so we might be able to tweak a few settings and collect a good crash dump to help investigate.

0 Kudos
StevenLam1208
Emerging Contributor

It is randomly closed.  I am not able to reproduce it consistent.

0 Kudos
StevenLam1208
Emerging Contributor

No, I don't.  It ran for several days, then crashed without any action.  Do you have any suggestions?

0 Kudos
StevenLam1208
Emerging Contributor

I was able to capture the dump files that happened several times during this weekend using Procdump.  I attached these dump files via ESRI case #03817866.

 

 

0 Kudos
dotMorten_esri
Esri Notable Contributor

Thank you! Very helpful. Already looked at them and having a code owner of the specific area looking into it now.

0 Kudos
StevenLam1208
Emerging Contributor

Thank you very much for looking at this.

0 Kudos
StevenLam1208
Emerging Contributor

Hi Morten,

We changed our production application followed ESRI tech. support suggestion.  We used unique value renderer and PictureMarkerSymbolLayer.  We still have the runtimecore exception c0000005.  We have a bug number BUG-000174246.  Do you know the status of this?  We have complaints everyday that the application crashed.  All the crashes related to this exception.

0 Kudos