New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background crashes for v6.4.1 #1494
Comments
Hello @mmdumi When you say iOS 11+, do you mean that you're receiving crash reports only on iPhone X on iOS 11, 12, and 13? Do you not receive these crashes on some iOS versions, or on other iOS devices? Do you have reproduction steps? What module(s) are you connecting to / with what versions (if that info is available)? Any additional information improves our odds of being able to fix this issue. |
@mmdumi Thank you, even that information helps. We'll do our best to replicate it. There's no more information about devices beyond "Apple"? It would be helpful to know if it's only on low-RAM devices, for example. |
@mmdumi Can you additionally confirm that this was not seen on previous sdl_ios versions? We received that information separately, but it's surprising given that the differences in our IAP transport from v6.3.1 to v6.4.1 are extremely minimal. Were you using an earlier sdl_ios version that did not display this crash (like v6.2, etc.)? |
After doing some additional investigation today, this is a very strange issue. Here's what I believe I can say:
I suspect that what may be occurring is that the system is forced to keep the app in memory because it's connected, but then wants to kill the app due to the memory pressure as soon as it disconnects. The only strike against that theory is that you say it didn't happen in previous library versions. I did create a branch with a very minor change |
Thank you. Are you planning on releasing a new version sometime soon with this fix ? |
We would prefer to have the fix confirmed beforehand, but we will discuss internally. |
Bug Report
Latest v6.4.1 sdl ios framework crashes in background with the attached crash logs.
Expected Behavior
Not crashing in background any more.
OS & Version Information
crash1.txt
crash2.txt
The text was updated successfully, but these errors were encountered: