<?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 iOS SIGSEGV (dealloc) crash while zooming/panning ArcGIS MapView in .NET 300.x in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/ios-sigsegv-dealloc-crash-while-zooming-panning/m-p/1715789#M13981</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm encountering a native crash on &lt;STRONG&gt;ArcGIS Runtime SDK for .NET 300.x&lt;/STRONG&gt; on &lt;STRONG&gt;iOS&lt;/STRONG&gt; while interacting with a MapView. The crash is intermittent but reproducible during &lt;STRONG&gt;zooming and panning&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Environment&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ArcGIS Runtime SDK for .NET 300.x&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;PackageReference &lt;/SPAN&gt;&lt;SPAN&gt;Include&lt;/SPAN&gt;&lt;SPAN&gt;="Esri.ArcGISRuntime" &lt;/SPAN&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;="300.0.0" &lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;PackageReference &lt;/SPAN&gt;&lt;SPAN&gt;Include&lt;/SPAN&gt;&lt;SPAN&gt;="Esri.ArcGISRuntime.iOS" &lt;/SPAN&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;="300.0.0" &lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;.NET for iOS (non-MAUI)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;iOS 26.x&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Using MapView with multiple FeatureLayers backed by ServiceFeatureTables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Crash&lt;/H3&gt;&lt;P&gt;The native crash reported is:&lt;/P&gt;&lt;PRE&gt;SIGSEGV: dealloc
Attempted to dereference garbage pointer at 0xXXXXXXXX&lt;/PRE&gt;&lt;P&gt;The crash occurs inside native code, so the managed stack trace doesn't point to any specific line in my application.&lt;/P&gt;&lt;H3&gt;Behavior&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The application loads successfully.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Layers are added to the map without issues.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;While the user continuously zooms or pans, the application eventually crashes with the above native error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;It is intermittent and does not happen on every interaction.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Things I've checked&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;No exceptions are thrown from managed code before the crash.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;All ArcGIS objects are created on the UI thread.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I'm not intentionally disposing Map, FeatureLayer, or ServiceFeatureTable instances while they are attached to the map.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The crash only seems to occur during rendering/navigation.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Questions&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Has anyone experienced a similar SIGSEGV: dealloc or "Attempted to dereference garbage pointer" crash during map navigation?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any known issues in ArcGIS Runtime 300.x related to MapView rendering or layer lifetime on iOS?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there recommended diagnostics or logging options within ArcGIS Runtime that could help identify which native object is being deallocated?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there anything specific I should verify regarding the lifetime of FeatureLayer, ServiceFeatureTable, or other ArcGIS runtime objects?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I'd appreciate any guidance or suggestions on how to isolate the root cause. If additional information (native stack trace, code snippets, or sample project) would help, I'm happy to provide it.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Additional Details / Breadcrumbs&lt;/P&gt;&lt;P&gt;In Sentry, the last breadcrumb before the crash is consistently an ArcGIS FeatureServer query triggered during map navigation, for example:&lt;/P&gt;&lt;P&gt;GET .../FeatureServer/{layerId}/query [200]&lt;/P&gt;&lt;P&gt;Query parameters include:&lt;/P&gt;&lt;P&gt;f=pbf&lt;BR /&gt;resultType=tile&lt;BR /&gt;geometryType=esriGeometryEnvelope&lt;BR /&gt;returnGeometry=true&lt;BR /&gt;spatialRel=esriSpatialRelEnvelopeIntersects&lt;/P&gt;&lt;P&gt;Examples of layers seen in the last breadcrumb before crash:&lt;/P&gt;&lt;P&gt;.../Wastewater_Features/FeatureServer/2/query&lt;BR /&gt;.../External_Sharing_Wastewater/FeatureServer/17/query&lt;BR /&gt;.../Water_Features/FeatureServer/5/query&lt;/P&gt;&lt;P&gt;The response is HTTP 200 with a very small response body, and the native SIGSEGV/dealloc occurs shortly after. This makes it look related to the automatic FeatureLayer tile/PBF fetch-render path during pan/zoom, rather than one of our own manual QueryFeaturesAsync calls.&lt;/P&gt;&lt;P&gt;Current code pattern:&lt;/P&gt;&lt;P&gt;var table = new ServiceFeatureTable(featureLayerUri);&lt;BR /&gt;table.FeatureRequestMode = FeatureRequestMode.OnInteractionCache;&lt;/P&gt;&lt;P&gt;await table.LoadAsync();&lt;/P&gt;&lt;P&gt;var featureLayer = table.Layer as FeatureLayer ?? new FeatureLayer(table);&lt;BR /&gt;featureLayer.Opacity = 0.70;&lt;/P&gt;&lt;P&gt;map.OperationalLayers.Add(featureLayer);&lt;/P&gt;&lt;P&gt;We have approximately 45 operational GIS layers selected in the heavier test case.&lt;/P&gt;&lt;P&gt;I also tested:&lt;/P&gt;&lt;P&gt;FeatureRequestMode.OnInteractionNoCache&lt;BR /&gt;FeatureLayer.RenderingMode = FeatureRenderingMode.Static&lt;/P&gt;&lt;P&gt;but the Runtime still emitted f=pbf&amp;amp;resultType=tile requests during navigation.&lt;/P&gt;&lt;P&gt;When testing FeatureRequestMode.ManualCache, the automatic rendering/fetching stopped and layers did not render, which seems to confirm that the crash path is tied to automatic live FeatureLayer fetching/rendering during navigation.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 10:53:08 GMT</pubDate>
    <dc:creator>YashvitNaik</dc:creator>
    <dc:date>2026-07-22T10:53:08Z</dc:date>
    <item>
      <title>iOS SIGSEGV (dealloc) crash while zooming/panning ArcGIS MapView in .NET 300.x</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/ios-sigsegv-dealloc-crash-while-zooming-panning/m-p/1715789#M13981</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm encountering a native crash on &lt;STRONG&gt;ArcGIS Runtime SDK for .NET 300.x&lt;/STRONG&gt; on &lt;STRONG&gt;iOS&lt;/STRONG&gt; while interacting with a MapView. The crash is intermittent but reproducible during &lt;STRONG&gt;zooming and panning&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Environment&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;ArcGIS Runtime SDK for .NET 300.x&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;PackageReference &lt;/SPAN&gt;&lt;SPAN&gt;Include&lt;/SPAN&gt;&lt;SPAN&gt;="Esri.ArcGISRuntime" &lt;/SPAN&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;="300.0.0" &lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;PackageReference &lt;/SPAN&gt;&lt;SPAN&gt;Include&lt;/SPAN&gt;&lt;SPAN&gt;="Esri.ArcGISRuntime.iOS" &lt;/SPAN&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;="300.0.0" &lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;.NET for iOS (non-MAUI)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;iOS 26.x&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Using MapView with multiple FeatureLayers backed by ServiceFeatureTables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Crash&lt;/H3&gt;&lt;P&gt;The native crash reported is:&lt;/P&gt;&lt;PRE&gt;SIGSEGV: dealloc
Attempted to dereference garbage pointer at 0xXXXXXXXX&lt;/PRE&gt;&lt;P&gt;The crash occurs inside native code, so the managed stack trace doesn't point to any specific line in my application.&lt;/P&gt;&lt;H3&gt;Behavior&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The application loads successfully.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Layers are added to the map without issues.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;While the user continuously zooms or pans, the application eventually crashes with the above native error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;It is intermittent and does not happen on every interaction.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Things I've checked&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;No exceptions are thrown from managed code before the crash.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;All ArcGIS objects are created on the UI thread.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I'm not intentionally disposing Map, FeatureLayer, or ServiceFeatureTable instances while they are attached to the map.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The crash only seems to occur during rendering/navigation.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Questions&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Has anyone experienced a similar SIGSEGV: dealloc or "Attempted to dereference garbage pointer" crash during map navigation?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any known issues in ArcGIS Runtime 300.x related to MapView rendering or layer lifetime on iOS?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there recommended diagnostics or logging options within ArcGIS Runtime that could help identify which native object is being deallocated?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there anything specific I should verify regarding the lifetime of FeatureLayer, ServiceFeatureTable, or other ArcGIS runtime objects?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I'd appreciate any guidance or suggestions on how to isolate the root cause. If additional information (native stack trace, code snippets, or sample project) would help, I'm happy to provide it.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Additional Details / Breadcrumbs&lt;/P&gt;&lt;P&gt;In Sentry, the last breadcrumb before the crash is consistently an ArcGIS FeatureServer query triggered during map navigation, for example:&lt;/P&gt;&lt;P&gt;GET .../FeatureServer/{layerId}/query [200]&lt;/P&gt;&lt;P&gt;Query parameters include:&lt;/P&gt;&lt;P&gt;f=pbf&lt;BR /&gt;resultType=tile&lt;BR /&gt;geometryType=esriGeometryEnvelope&lt;BR /&gt;returnGeometry=true&lt;BR /&gt;spatialRel=esriSpatialRelEnvelopeIntersects&lt;/P&gt;&lt;P&gt;Examples of layers seen in the last breadcrumb before crash:&lt;/P&gt;&lt;P&gt;.../Wastewater_Features/FeatureServer/2/query&lt;BR /&gt;.../External_Sharing_Wastewater/FeatureServer/17/query&lt;BR /&gt;.../Water_Features/FeatureServer/5/query&lt;/P&gt;&lt;P&gt;The response is HTTP 200 with a very small response body, and the native SIGSEGV/dealloc occurs shortly after. This makes it look related to the automatic FeatureLayer tile/PBF fetch-render path during pan/zoom, rather than one of our own manual QueryFeaturesAsync calls.&lt;/P&gt;&lt;P&gt;Current code pattern:&lt;/P&gt;&lt;P&gt;var table = new ServiceFeatureTable(featureLayerUri);&lt;BR /&gt;table.FeatureRequestMode = FeatureRequestMode.OnInteractionCache;&lt;/P&gt;&lt;P&gt;await table.LoadAsync();&lt;/P&gt;&lt;P&gt;var featureLayer = table.Layer as FeatureLayer ?? new FeatureLayer(table);&lt;BR /&gt;featureLayer.Opacity = 0.70;&lt;/P&gt;&lt;P&gt;map.OperationalLayers.Add(featureLayer);&lt;/P&gt;&lt;P&gt;We have approximately 45 operational GIS layers selected in the heavier test case.&lt;/P&gt;&lt;P&gt;I also tested:&lt;/P&gt;&lt;P&gt;FeatureRequestMode.OnInteractionNoCache&lt;BR /&gt;FeatureLayer.RenderingMode = FeatureRenderingMode.Static&lt;/P&gt;&lt;P&gt;but the Runtime still emitted f=pbf&amp;amp;resultType=tile requests during navigation.&lt;/P&gt;&lt;P&gt;When testing FeatureRequestMode.ManualCache, the automatic rendering/fetching stopped and layers did not render, which seems to confirm that the crash path is tied to automatic live FeatureLayer fetching/rendering during navigation.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 10:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/ios-sigsegv-dealloc-crash-while-zooming-panning/m-p/1715789#M13981</guid>
      <dc:creator>YashvitNaik</dc:creator>
      <dc:date>2026-07-22T10:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: iOS SIGSEGV (dealloc) crash while zooming/panning ArcGIS MapView in .NET 300.x</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/ios-sigsegv-dealloc-crash-while-zooming-panning/m-p/1719120#M13993</link>
      <description>&lt;P&gt;We've encountered a similar issue on 200.8.1 / NET 9 Maui / iOS 26. Just zooming and panning on the map and get this intermittent crash&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2026 00:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/ios-sigsegv-dealloc-crash-while-zooming-panning/m-p/1719120#M13993</guid>
      <dc:creator>EricLiu</dc:creator>
      <dc:date>2026-08-07T00:09:59Z</dc:date>
    </item>
  </channel>
</rss>

