App Crash and System Acting Weird in iOS

Hi there,

I am facing this critical issue for almost half years already. I am putting all the crash details here for your debugging.

  1. The app works fine either install from cable or Testflight at the beginning but after it runs a while (no specific time period, could be 1 day, could be 1 week), when I open the app, it will stay on the launch screen and FREEZE there.
  2. Once the "FREEZE" comes, not only the app crash, iOS will behave weird:
    1. After long-pressing the app icon, all app icon wiggles like normal but I cannot delete ANY app in my phone. Not only my app but also all the apps. Even I tried to remove the app from Setting --> General --> storage --> delete the app, the app icon is still there but if I am clicking on that, it will not show the launch screen but a black screen instead
    2. If I tried to turn off the screen, there are supposed to be three sliding bars showing (slide to power off, emergency SOS, Medical Emergency Card) parallelly, but two of them overlapped each other.
  3. I tried to debug the crash by connecting the phone and my laptop. the console log shows:
    1. [DYMTLInitPlatform] platform initialization successful
    2. after I touch the screen, the log will show: XPC connection interrupted
  4. If I restart my phone, everything will work well, my app will open properly, but after sometimes it will go back to the same crash again.


I have struggled with this issue for a long time, most of the result from google indicates that my app is terminating by the system because of memory issues, and I know there is something wrong with my app. However, how my app will affect the entire iOS system?

Please let me know if anyone has anything guessing or any suggestion on that.

Replies

However, how my app will affect the entire iOS system?

You should definitely file a bug about this. Regardless of what your app is or isn’t doing wrong, the iOS sandbox should prevent it from messing up the system as a whole. If it doesn’t, that’s definitely bugworthy.

The next time you get the system into this state, trigger a sysdiagnose log per the instructions on our Bug Reporting > Profiles and Logs page. Then file your bug and attach the resulting log to it.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Hi eskimo,

Thanks for your suggestion! I definitely will report the sysdiagnose next time. Will pose the bug number once I have it. Thanks again.

My Bug report number is FB7200904.

Here is the screenshot of the weird screen when the crash happened


I have included the sysdiagnose in the bug report, please let me know if any solution or at least the root cause.

Thank you very much.