The application crashes and restarts the phone

I am beta testing the application and it works fine on most devices. But I found at least one device (iphone 6s, but I have other working options), this is not an application that crashes, the whole phone just reboots. I don’t find anything in the magazines and I don’t know where in the application this is caused.

How is this possible? Where to begin?

+5
source share
2 answers

So, in the end, it was a memory problem. But not because she was dragging all the system memory. It was a simple recursion. In some cases, this missed the breach condition. Did not consume a noticeable processor or a lot of RAM, but a very fast stack overflow.

0
source

I ran into a similar problem, crashing an application that completely rebooted my iPhone. I found what happened with this workaround:

  • Connect the device to your Mac
  • Open Xcode -> Window -> Devices
  • Select on your device
  • Clean the bottom of the log
  • Repeat the same steps to crash the application.
  • See what happens in the magazine

For clarity, you should have this window:

enter image description here

You probably see a lot of lines, but with a little patience you should see what the problem is, or just see the area problem at least.

Hope this helps!

+1
source

All Articles