<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: arcgisruntime 100.8 crashed in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64492#M677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you update to the latest release v100.9 and retest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can still reproduce then please follow the instructions in this Guide doc topic for obtaining a native call stack:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/guide/debug-using-arcgis-runtime-windows-symbol-files.htm" title="https://developers.arcgis.com/net/latest/wpf/guide/debug-using-arcgis-runtime-windows-symbol-files.htm"&gt;Debug using ArcGIS Runtime Windows symbol files—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Sep 2020 18:48:58 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2020-09-16T18:48:58Z</dc:date>
    <item>
      <title>arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64491#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My application crashed due to the following error which copied from windows event log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code, I couldn't catch the exception. The app just crashed without any exception.&lt;/P&gt;&lt;P&gt;It happens at startup, not every time, but quite often.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have same issue? Can someone tell me how to solve this issue or how to find the root cause?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Faulting application name: MyClient.exe, version: 5.11.0.0, time stamp: 0x85799697&lt;BR /&gt;Faulting module name: runtimecore.dll, version: 100.8.0.2768, time stamp: 0x5eac7fc3&lt;BR /&gt;Exception code: 0xc0000005&lt;BR /&gt;Fault offset: 0x0000000000c8f5f4&lt;BR /&gt;Faulting process ID: 0x1580&lt;BR /&gt;Faulting application start time: 0x01d68befb01d39ca&lt;BR /&gt;Faulting application path: C:\Workspace\&lt;SPAN&gt;MyClient&lt;/SPAN&gt;\Client\&lt;SPAN&gt;MyClient&lt;/SPAN&gt;\bin\x64\Debug\&lt;SPAN&gt;MyClient&lt;/SPAN&gt;.exe&lt;BR /&gt;Faulting module path: C:\Workspace\&lt;SPAN&gt;MyClient&lt;/SPAN&gt;\Client\&lt;SPAN&gt;MyClient&lt;/SPAN&gt;\bin\x64\Debug\runtimecore.dll&lt;BR /&gt;Report ID: 9d362766-7135-4e70-98d4-a5b0b4c19329&lt;BR /&gt;Faulting package full name: &lt;BR /&gt;Faulting package-relative application ID:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2020 06:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64491#M676</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2020-09-16T06:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64492#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you update to the latest release v100.9 and retest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can still reproduce then please follow the instructions in this Guide doc topic for obtaining a native call stack:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/guide/debug-using-arcgis-runtime-windows-symbol-files.htm" title="https://developers.arcgis.com/net/latest/wpf/guide/debug-using-arcgis-runtime-windows-symbol-files.htm"&gt;Debug using ArcGIS Runtime Windows symbol files—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2020 18:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64492#M677</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-09-16T18:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64493#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for reply..&lt;/P&gt;&lt;P&gt;I follow your suggestion, upgrade to 100.9, it still happens. But&amp;nbsp;I got the following exception.&lt;/P&gt;&lt;P&gt;Exception thrown at 0x00007FF8F82FD354 (runtimecore.dll) in MyClient.exe: 0xC0000005: Access violation writing location 0xFFFFFFFFFD37ACA0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stacktrace:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; runtimecore.dll!00007ff8f82fd354() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f7e48b4f() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f7e4f2f6() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d83cef() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d842e2() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d8a932() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d8a6ec() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d897c4() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f7b2434d() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d9c2fb() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d9c1e6() Unknown&lt;BR /&gt; runtimecore.dll!00007ff8f9d9ebff() Unknown&lt;BR /&gt; ntdll.dll!00007ff9ae5138a0() Unknown&lt;BR /&gt; ntdll.dll!00007ff9ae4c276a() Unknown&lt;BR /&gt; kernel32.dll!00007ff9ad106fd4() Unknown&lt;BR /&gt; ntdll.dll!00007ff9ae4fcec1() Unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, symbol loader showed info "runtimecore_link.pdb could not be found in the selected paths". Looks the missing&amp;nbsp;&lt;SPAN&gt;runtimecore_link.pdb stopped me getting more stacktrace....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I get&amp;nbsp;runtimecore_link.pdb?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition,&amp;nbsp; I have a question which could relate to this issue...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My app has two threads to read a mmpk simultaneously at startup....Is it okay to do this? Does it possibly cause the crash?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 06:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64493#M678</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2020-09-17T06:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64494#M679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies - the pdbs for 100.9 are still being staged before deployment to the production&amp;nbsp;server. If you revert to 100.8 you'll get the pdbs and be able to get a native call stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to share the code where to open/load the mobile map package, and particularly the multi-threading code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64494#M679</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-09-17T17:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64495#M680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....After&amp;nbsp;roll back to 100.8, I got the following stack trace when the exception occurred.&lt;/P&gt;&lt;P&gt;****************************************************************************&lt;BR /&gt;Exception thrown at 0x00007FF8EC20F5F4 (runtimecore.dll) in MyClient.exe: 0xC0000005: Access violation writing location 0x0000000002ADC0F0.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt; runtimecore.dll!std::vector&amp;lt;class std::weak_ptr&amp;lt;class Esri_runtimecore::Geo_model::WMS_layer_info&amp;gt;,class std::allocator&amp;lt;class std::weak_ptr&amp;lt;class Esri_runtimecore::Geo_model::WMS_layer_info&amp;gt; &amp;gt; &amp;gt;::_Emplace_reallocate&amp;lt;class std::shared_ptr&amp;lt;class Esri_runtimecore::Geo_model::WMS_layer_info&amp;gt; const &amp;amp;&amp;gt;(class std::weak_ptr&amp;lt;class Esri_runtimecore::Geo_model::WMS_layer_info&amp;gt; * const,class std::shared_ptr&amp;lt;class Esri_runtimecore::Geo_model::WMS_layer_info&amp;gt; const &amp;amp;) Unknown&lt;BR /&gt; runtimecore.dll!Esri_runtimecore::Geo_model::Geodatabase::load_sync_(class pplx::cancellation_token const &amp;amp;) Unknown&lt;BR /&gt; runtimecore.dll!std::_Func_impl_no_alloc&amp;lt;&amp;lt;lambda_22e1f3949484d95b0c39990ed8fbdeea&amp;gt;,void&amp;gt;::_Do_call() Unknown&lt;BR /&gt; runtimecore.dll!std::_Func_impl_no_alloc&amp;lt;&amp;lt;lambda_23d350ddfca9531044d43a119b81b3d3&amp;gt;,boost::any&amp;gt;::_Do_call() Unknown&lt;BR /&gt; runtimecore.dll!&amp;lt;lambda&amp;gt;(void)() Unknown&lt;BR /&gt; runtimecore.dll!std::_Func_impl_no_alloc&amp;lt;&amp;lt;lambda&amp;gt;(void),boost::any&amp;gt;::_Do_call() Unknown&lt;BR /&gt; runtimecore.dll!pplx::task&amp;lt;boost::any&amp;gt;::_InitialTaskHandle&amp;lt;boost::any,&amp;lt;lambda&amp;gt;(void),pplx::details::_TypeSelectorNoAsync&amp;gt;::_Init() Unknown&lt;BR /&gt; runtimecore.dll!pplx::details::_PPLTaskHandle&amp;lt;boost::any,pplx::task&amp;lt;boost::any&amp;gt;::_InitialTaskHandle&amp;lt;boost::any,&amp;lt;lambda&amp;gt;(void),pplx::details::_TypeSelectorNoAsync&amp;gt;,pplx::details::_TaskProcHandle&amp;gt;::invoke() Unknown&lt;BR /&gt; runtimecore.dll!pplx::details::_TaskProcHandle::_RunChoreBridge(void *) Unknown&lt;BR /&gt; runtimecore.dll!Esri_runtimecore::Common::Core_scheduler::Queued_proc::invoke(void) Unknown&lt;BR /&gt; runtimecore.dll!Esri_runtimecore::Common::Core_scheduler::bridge_proc_(void *) Unknown&lt;BR /&gt; runtimecore.dll!Esri_runtimecore::Common::Windows_Threadpool_scheduler::Scheduler_param::work_callback(struct _TP_CALLBACK_INSTANCE *,void *,struct _TP_WORK *) Unknown&lt;BR /&gt; ntdll.dll!00007ff9a1c938a0() Unknown&lt;BR /&gt; ntdll.dll!00007ff9a1c4276a() Unknown&lt;BR /&gt; kernel32.dll!00007ff9a1336fd4() Unknown&lt;BR /&gt; ntdll.dll!00007ff9a1c7cec1() Unknown&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;****************************************************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Seems it is related to&amp;nbsp;&lt;SPAN&gt;WMS_layer_info, but we do not use WMS_layer (I checked API documents, I do not know what it is)...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the code, I cannot copy all code... The following code is the method which opens mmpk file. It is invoked from two separate instances in two threads, I expect they read the same mmpk file from &lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;two separate instances&lt;/SPAN&gt; to create two separate map instances(we have two windows to display mapview, one is for detail map, the other is for overview.)&lt;/P&gt;&lt;P&gt;public abstract class MobileMapPackageBase : IMapPackage&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;protected virtual async Task Initialize()&lt;BR /&gt; {&lt;BR /&gt; try&lt;BR /&gt; {&lt;BR /&gt; MapPackage = await MobileMapPackage.OpenAsync(MapSettings.MapPackagePath);&lt;BR /&gt; }&lt;BR /&gt; catch (Exception e)&lt;BR /&gt; {&lt;BR /&gt; Logger.Error($"{Resources.Error_OpenMapFailure}.{e}");&lt;BR /&gt; throw new OpenMapFailureException(Resources.Error_OpenMapFailure, e);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;if (MapPackage.Maps.Count &amp;lt;= 0)&lt;BR /&gt; {&lt;BR /&gt; throw new InvalidOperationException(Resources.Error_NoMapObjectInMmpk);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;MapObject = MapPackage.Maps.First();&lt;/P&gt;&lt;P&gt;MapObject.MaxScale = await GetMaxScaleTask();&lt;BR /&gt; MapObject.MinScale = await GetMinScaleTask();&lt;/P&gt;&lt;P&gt;foreach (var layer in MapObject.OperationalLayers.ToList().AsParallel())&lt;BR /&gt; {&lt;BR /&gt; if (!RequestedLayerTypes.Contains(GetLayerTypeValue(layer.Name)))&lt;BR /&gt; {&lt;BR /&gt; MapObject.OperationalLayers.Remove(layer);&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;_layers.AddRange(MapObject.OperationalLayers);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 23:40:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64495#M680</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2020-09-17T23:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64496#M681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Can you share any of the multi-threading code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Do you see the exception if only one thread is accessing the mobile map package?&amp;nbsp;&lt;/P&gt;&lt;P&gt;- What&amp;nbsp;code runs in&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;GetMaxScaleTask and&amp;nbsp;&lt;SPAN&gt;GetMinScaleTask?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- Can you try awaiting the Map.LoadAsync operation before&amp;nbsp;attempting to set the MaxScale and MinScale?&lt;BR /&gt;- What happens if you remove the List parallelization?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 19:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64496#M681</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-09-18T19:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: arcgisruntime 100.8 crashed</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64497#M682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Can you share any of the multi-threading code?&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It is hard to copy all code, it is too much.We have two windows, each one holds a map. They are loading in multi-threading by calling the method I post...&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Do you see the exception if only one thread is accessing the mobile map package?&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I did not try with one thread on purpose..But even if I run it multi-threading, it does not happen every time...Sometimes, it happens 3 times in a row....Sometimes, I cannot see it once a whole day...And there is a strange thing, if the first time startup has this issue, mostly, the second time startup will be good. The multi-threading code has been used 3 months...I detect this issue in recent 3 weeks...Before, I did not notice this problem..&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- What&amp;nbsp;code runs in&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;GetMaxScaleTask and&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;GetMinScaleTask?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; font-weight: inherit;"&gt;These two methods are simply retrieving a value from mmpk...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;public async Task&amp;lt;double&amp;gt; GetMaxScaleTask()&lt;BR /&gt; {&lt;BR /&gt; string nameKey = KeyMaxScale;&lt;BR /&gt; var qryParams = new QueryParameters()&lt;BR /&gt; {&lt;BR /&gt; WhereClause = $"{GeoElementHelper.ColumnUName}='{nameKey}'",&lt;BR /&gt; ReturnGeometry = false,&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;var floorTable = GetTable(MapPackageTableTypes.settings);&lt;BR /&gt; var result = await floorTable.QueryFeaturesAsync(qryParams).ContinueWith(t =&amp;gt; t.Result.FirstOrDefault());&lt;BR /&gt; if (null == result)&lt;BR /&gt; {&lt;BR /&gt; throw new InvalidOperationException(string.Format(Resources.Msg_NoKeyInMapPackage, KeyMaxScale));&lt;BR /&gt; }&lt;BR /&gt; return double.Parse(result.GetAttributeValue(GeoElementHelper.ColumnUValue1).ToString());&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;public async Task&amp;lt;double&amp;gt; GetMinScaleTask()&lt;BR /&gt; {&lt;BR /&gt; string nameKey = KeyMinScale;&lt;/P&gt;&lt;P&gt;var qryParams = new QueryParameters()&lt;BR /&gt; {&lt;BR /&gt; WhereClause = $"{GeoElementHelper.ColumnUName}='{nameKey}'",&lt;BR /&gt; ReturnGeometry = false,&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;var floorTable = GetTable(MapPackageTableTypes.settings);&lt;BR /&gt; Feature result = await floorTable.QueryFeaturesAsync(qryParams).ContinueWith(t =&amp;gt; t.Result.FirstOrDefault());&lt;BR /&gt; if (null == result)&lt;BR /&gt; {&lt;BR /&gt; throw new InvalidOperationException(string.Format(Resources.Msg_NoKeyInMapPackage, KeyMinScale));&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;return double.Parse(result.GetAttributeValue(GeoElementHelper.ColumnUValue1).ToString());&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;**************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Can you try awaiting the Map.LoadAsync operation before&amp;nbsp;attempting to set the MaxScale and MinScale?&lt;BR /&gt;- What happens if you remove the List parallelization?&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I will try this...&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;And I have two questions..&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;1. Does the stack trace I copied provide some useful information?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;2. Can you let me know if loading mmpk in multi-threading is safe?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2020 12:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgisruntime-100-8-crashed/m-p/64497#M682</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2020-09-20T12:12:31Z</dc:date>
    </item>
  </channel>
</rss>

