Deadlock in 100.8

540
2
07-01-2020 02:10 PM
MattRickard
New Contributor II

I asked a question recently about deadlocks in 100.7.

Michael Branscomb‌ answered my question and I upgraded to 100.8

That upgrade made my experience much better, but as our testers have used it more, deadlocks are still occurring.

The callstacks are a little different than what I had seen in 100.7.

I have attached a txt file with the callstack details.

In the minidump I got from him, there are 45 threads waiting at mtx_do_lock.

The summary of threads is:

  • Esri_runtimecore::Geo_views::Map_view::set_viewpoint_
  • Esri_runtimecore::Map_renderer::Canvas_drawable::highlight_color
    • from addlayer
  • Esri_runtimecore::Map_renderer::Map::copy_display_properties(void)
    • from CoreGeoView.Pulse
  • Esri_runtimecore::Geo_views::Geo_view::update_attribution_(void)
    • There are a lot of threads with this same callstack.

The second attachment, "100.8.hang2.txt" is an example when I was debugging.

The summary is:

  • Esri_runtimecore::Geo_views::Map_view::set_view_insets_
    • on the main/dispatcher thread
  • Esri_runtimecore::Geo_views::Geo_view::update_attribution_
    • 2 threads with this callstack this time.
  • Esri_runtimecore::Map_renderer::Canvas_drawable::highlight_color
    • from addlayer
  • Esri_runtimecore::Map_renderer::Map::copy_display_properties
    • from CoreGeoView.Pulse

Any ideas?

Thanks,

Matt

0 Kudos
2 Replies
MattRickard
New Contributor II

Any feedback on this Michael Branscomb‌?  This is becoming a more prevalent issue with our user base.

FYI, we are doing some off-screen rendering of a map for printing, as recommended by Rex Hansen.

This may be contributing to the problem, but certainly not the sole cause.

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

Can you provide more information regarding:

- The system/environment (ideally a dxdiag report from 2-3 machines on which you are able to reproduce the issue you are seeing)

- What your application is doing at the time of the hang (if you are able to ascertain that) (e.g. user zoomed in)

- The composition of the map in terms of basemap layers (e.g. vector tiled layer), operational layers (e.g. feature layers from service feature table), and graphics overlays.

- Any specific UI interactions you have running e.g. identify on mouse move.

If you're not able to share here - please email mbranscomb@esri.com.

Thanks

Mike

0 Kudos