Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone Crash Log: Failed to Resume in Time

I am looking at my crash logs and noticed "failed to resume in time"

Application Specific Information:
com.myApp.MyApp failed to resume in time 
elapsed total CPU time (seconds): 0.680 (user 0.350, system 0.330), 7% CPU 
elapsed application CPU time (seconds): 0.130, 1% CPU

How can I resume in time?

like image 580
Sheehan Alam Avatar asked Jul 29 '10 04:07

Sheehan Alam


People also ask

How do I read an Apple crash report?

You can access the crash log in macOS in two ways: Launch Finder, press Command + Shift + G, and type ~/Library/Logs/DiagnosticReports/ in the Go to Folder dialog box. Launch Console, and look for Diagnostic Reports located under ~/Library/Logs/.

Why is iOS 15 crashing my phone?

Update or Reinstall Crashed Application It's possible that the old applications are not compatible with new iOS 15/16 system and to blame for apps keep crashing on iPhone. Check for each updates on App store or delete it when necessary. Reboot your device to see if it helps.

What are crash logs?

Tombstone crash logs are written when a native crash in C/C++ code occurs in an Android application. The Android platform writes a trace of all the running threads at the time of the crash to /data/tombstones, along with additional information for debugging, such as information about memory and open files.


1 Answers

I think that error means that you're doing something on the main thread that takes too long. The phone becomes unresponsive and the OS kills your app.

Try to use asynchronous APIs if possible, or run the long-running task in a background thread.

like image 193
Thomas Müller Avatar answered Sep 30 '22 13:09

Thomas Müller