<?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: SKImageInfo crashes in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1516164#M355</link>
    <description>&lt;P&gt;We cannot constantly reproduce the problem to find the root cause, unfortunately. After some investigation we temporarily concluded that the problem is not within SKImage library, while high memory usage might make this crash more likely to happen.&lt;/P&gt;&lt;P&gt;In 200.5 we made some changes to the rendering process of the MapView so hope it will alleviate the problem to some extent.&lt;/P&gt;&lt;P&gt;The issue is still open on our board.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 15:34:12 GMT</pubDate>
    <dc:creator>Ting</dc:creator>
    <dc:date>2024-08-07T15:34:12Z</dc:date>
    <item>
      <title>SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1491409#M303</link>
      <description>&lt;P&gt;I'm seeing a lot of crashes that seem to be somehow related, perhaps? At least there are several that one way or another references Sk-prefixed classes and functions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;SkImageInfo::SkImageInfo(SkImageInfo const&amp;amp;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;esri::map_renderer::Image_drawable::merge_image_(SkBitmap const&amp;amp;, esri::geometry::Envelope_2D const&amp;amp;, double, std::__1::vector&amp;lt;esri::geometry::Envelope_2D, std::__1::allocator&amp;lt;esri::geometry::Envelope_2D&amp;gt;&amp;gt; const&amp;amp;, int, esri::map_renderer::Chunk_set)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;SkBitmap::getAddr(int, int)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Then there's also a crash in this symbol from the ArcGIS module, which doesn't mention sk, but is similarly named as the SkImageInfo function:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;UIImage.imageInfo()&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I realize that it's probably hard for anyone to help me, but I've attached a few stack traces. Any insight into what these might be, is helpful. I'm at a loss as this is a kind of black box to me, and I don't know how this code is related to our use of the ArcGIS maps SDK. If there's problems with our map service, the way we use map views, or some other issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 09:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1491409#M303</guid>
      <dc:creator>sveinhal</dc:creator>
      <dc:date>2024-06-13T09:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1491410#M304</link>
      <description>&lt;P&gt;Attached stack traces:&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 09:30:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1491410#M304</guid>
      <dc:creator>sveinhal</dc:creator>
      <dc:date>2024-06-13T09:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1491905#M305</link>
      <description>&lt;P&gt;Thanks for reporting this issue Svein. It might be related to our 3rd party usage of &lt;EM&gt;Skia&lt;/EM&gt; library for image processing. I'll forward this question to our folks who are better versed at rendering.&lt;/P&gt;&lt;P&gt;Do you have a minimal reproducible example that triggers the crash? Or a brief description on what kind of workflow that triggers this crash. We have fixed a bug in the past that large amount of image symbols produced similar crash log.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit 06/13/24 we actually bumped into this crash in a separate issue, so we now have a repro case. Will keep you updated on the progress.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 23:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1491905#M305</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-06-13T23:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1492483#M306</link>
      <description>&lt;P&gt;Great that you're able to create a repro.&lt;/P&gt;&lt;P&gt;I have only seen these in the crash reporting from actual users in the wild. Not seen it during development.&lt;/P&gt;&lt;P&gt;If you have any insight as to how I might reduce the probability of these crashes, I'm all ears! While waiting for a fix, &amp;nbsp;might we be able to work around the issue by structuring or styling our map services differently?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 07:05:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1492483#M306</guid>
      <dc:creator>sveinhal</dc:creator>
      <dc:date>2024-06-14T07:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1493079#M307</link>
      <description>&lt;P&gt;So far we've seen it crashes when the memory usage is pretty high, which may or may not indicate some memory leak related problem. It is pretty hard to reproduce and we'll keep looking into it…&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2024 00:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1493079#M307</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-06-15T00:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1515958#M353</link>
      <description>&lt;P&gt;Was this fixed in 200.5?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 07:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1515958#M353</guid>
      <dc:creator>sveinhal</dc:creator>
      <dc:date>2024-08-07T07:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: SKImageInfo crashes</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1516164#M355</link>
      <description>&lt;P&gt;We cannot constantly reproduce the problem to find the root cause, unfortunately. After some investigation we temporarily concluded that the problem is not within SKImage library, while high memory usage might make this crash more likely to happen.&lt;/P&gt;&lt;P&gt;In 200.5 we made some changes to the rendering process of the MapView so hope it will alleviate the problem to some extent.&lt;/P&gt;&lt;P&gt;The issue is still open on our board.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 15:34:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/skimageinfo-crashes/m-p/1516164#M355</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-08-07T15:34:12Z</dc:date>
    </item>
  </channel>
</rss>

