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:
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:
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.
Thanks for reporting this issue Svein. It might be related to our 3rd party usage of Skia library for image processing. I'll forward this question to our folks who are better versed at rendering.
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.
Thanks.
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.
Great that you're able to create a repro.
I have only seen these in the crash reporting from actual users in the wild. Not seen it during development.
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, might we be able to work around the issue by structuring or styling our map services differently?
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…
Was this fixed in 200.5?
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.
In 200.5 we made some changes to the rendering process of the MapView so hope it will alleviate the problem to some extent.
The issue is still open on our board.