Select to view content in your preferred language

100.2.1 Application crash hiding and showing map

6947
18
Jump to solution
03-28-2018 07:48 AM
ChrisSmith12
Emerging Contributor

I'm getting an application crash using 100.2.1 .Net in my WPF application. I have the map in a Telerik RadPane. 

The crash occurs when I cover/hide the map within my application and then uncover/show it. The crash happens every time on the first two test systems below but I cannot reproduce the crash on the third system. While I am unable to reproduce the crash on the third system, I am able to get the map into a state where it is continually updating but does not show anything.

Test Systems

1. Windows 10 x64 on Dell laptop

2. Windows 10 x64 virtual machine running in VMWare Fusion on Mac OS 10.13.3 host system.

3. Windows 7 x64 on white box laptop

Exception:

Unhandled exception at 0x00007FFBB72D4008 in OperatorConsole.exe: Microsoft C++ exception: Esri_runtimecore::Runtimecore_net::Dx_exception at memory location 0x000000AF882BC160. occurred

0 Kudos
1 Solution

Accepted Solutions
AaronMurphy3
Occasional Contributor

After further testing I can confirm this bug was introduced in v100.2. I have tried all the recent versions and v100.1 appears to works fine.

View solution in original post

18 Replies
dotMorten_esri
Esri Notable Contributor

Can you go into the project settings and turn on native debugging in the debug tab, then try and reproduce the crash. That should give you a more detailed stack trace that I'd like to see. Also when you hit the crash and Visual Studio breaks, you can go to "Debug -> Save Dump As..." and save a dump file. If you can share this file (it's rather big) we can look at what really happened internally that could cause the crash.

0 Kudos
ChrisSmith12
Emerging Contributor
Exception with stack trace:
Unhandled exception at 0x00007FFFF39D3FB8 in OperatorConsole.exe: Microsoft C++ exception: Esri_runtimecore::Runtimecore_net::Dx_exception at memory location 0x00000018723FECC0. occurred

KernelBase.dll!00007ffff39d3fb8()
vcruntime140.dll!00007ffff0ee46e2()
RuntimeCoreNet.dll!00007fff9eb6d2bc()
RuntimeCoreNet.dll!00007fff9eb6d281()
RuntimeCoreNet.dll!00007fff9eb6d3e4()
RuntimeCoreNet.dll!00007fff9ebd0b22()
RuntimeCoreNet.dll!00007fff9ebd016c()
RuntimeCoreNet.dll!00007fff9ebcf26f()
RuntimeCoreNet.dll!00007fff9f415bf5()
RuntimeCoreNet.dll!00007fff9f80c5be()
RuntimeCoreNet.dll!00007fffa03e2c7a()
RuntimeCoreNet.dll!00007fffa03e9062()
RuntimeCoreNet.dll!00007fffa04cd524()
RuntimeCoreNet.dll!00007fff9eefe9ea()
RuntimeCoreNet.dll!00007fff9eeff296()
RuntimeCoreNet.dll!00007fff9ebd0e59()
ucrtbase.dll!00007ffff383d885()
kernel32.dll!00007ffff5a41fe4()
ntdll.dll!00007ffff687ef91()
Dump file sent in email.
0 Kudos
AaronMurphy3
Occasional Contributor

I have this same issue I think when I show and hide maps within tab items. Please see my question: https://community.esri.com/message/760175-re-kernelbasedll-exception-occasionally-thrown-since-upgra... 

0 Kudos
ChrisSmith12
Emerging Contributor

Aaron,

  Was there a resolution or workaround in your case?

0 Kudos
JayGilbreath
New Contributor

I'm having the exact same issue.  Any resolution?

0 Kudos
ChrisSmith12
Emerging Contributor

Nothing yet.

0 Kudos
AaronMurphy3
Occasional Contributor

I have sent a detailed email to one of the Esri team with a sample solution that generates this exception. I also included a video showing how to produce it.

I was only able to get it to blow up if I had a graphic on the map. Did you lot have graphics too? What layers are you using too?

0 Kudos
JayGilbreath
New Contributor

Base Map is Bing Hybrid. But it crashes using any base layer.

Sub Layers are:

mPlssLayer = await LayerLoad("https://gis.blm.gov/arcgis/rest/services/Cadastral/BLM_Natl_PLSS_CadNSDI/MapServer");

mTxSurveyLayer = await LayerLoad("https://gis.utlands.utsystem.edu/ags/rest/services/TXSurvey/MapServer");

mTxBlocksLayer = await LayerLoad("https://gis.utlands.utsystem.edu/ags/rest/services/UTLandsBlkSecMap/MapServer");

mCounties = await LayerLoad("https://services.nationalmap.gov/arcgis/rest/services/govunits/MapServer");

I don’t have do anything but load the app and change the Tab page a few times.

Error:

Exception thrown at 0x7734CBB2 in TGSWorkshop2.exe: Microsoft C++ exception: comerror at memory location 0x2557EF2C.

Thanks

Jay Gilbreath

0 Kudos
dotMorten_esri
Esri Notable Contributor

Could you try and set the RenderingMode property on the graphics overlay to 'Static' and see if it still reproduces?

As I haven't gotten any reproducers from most of your, I'd have to guess a little.

I seem to only be able to reproduce a crash if I have graphics rendering that using dynamic rendering. Whether it's the exact same crash is had to say. Reproducer sample and / or dump files would be extremely helpful 🙂

0 Kudos