App crash caused by ArcGIS Runtime .NET 10.2.7

3331
10
05-04-2017 09:46 PM
NilankaD
New Contributor II

Hi,

We use ARCGIS runtime sdk 10.2.7. WPF mapview control is used to show a map in our application. Sometimes when the window with the mapview control is opened it crashes the application. It's not consistent. If I open and close the window few times times, I can reproduce the issue most of the time.

Windows event log:

Faulting application name: x.exe, version: 4.0.0.1, time stamp: 0x590bf38c
Faulting module name: MSVCR120.dll, version: 12.0.21005.1, time stamp: 0x524f7ce6
Exception code: 0xc0000409
Fault offset: 0x000a7666
Faulting process id: 0x4c04
Faulting application start time: 0x01d2c553a20267a4
Faulting application path: D:\x\x\x\x\x\x\bin\Debug\x.exe
Faulting module path: D:\x\x\x\x\x\x\bin\Debug\arcgisruntime10.2.7\client32\MSVCR120.dll
Report Id: e029281a-adb0-4e51-90e2-785b9d7fdf64
Faulting package full name:
Faulting package-relative application ID:

 

Do you have any idea why this is happening ? Pls let me know if you need more details on the issue or environment or code.

0 Kudos
10 Replies
DamienPONNELLE
New Contributor II

Hi,

I was experiencing the same kind of crash for about 22 months on a project.

Recently, we have been using support from ESRI France. After investigating for a whole day, we found that the crashes disappeared by passing the RenderingMode from the GraphicsLayer/GraphicsOverlay to "Static" (instead of "Dynamic", by default)

But this has a not insignificant impact because:

  • the HorizontalTextAlignment of the TextSymbol is now forced to Center
  • the values of XOffset/ Offset have to be reviewed because the reference is no longer the same
  • idem if you use the rotation of the markers by changing the Angle

I hope this information can help ...

Regards,

damien.

0 Kudos