我在 HockeyApp 上收到了很多崩溃日志,它只是说“应用程序没有完全终止,但没有发生崩溃”。跟后台任务有关系吗?
谢谢,
当您拥有 HockeyApp 的 AppNotTerminatingCleanlyDetection 时,可能会发生这种情况启用。这是一种启发式方法,可让您跟踪处于前台的 iOS 应用程序的崩溃或终止,否则应用程序的进程内崩溃报告器将无法检测到:
This allows it to get a crash report if the app got killed while being in the foreground because of one of the following reasons:
- The main thread was blocked for too long
- The app took too long to start up
- The app tried to allocate too much memory. If iOS did send a memory warning before killing the app because of this reason,
didReceiveMemoryWarningInLastSession
returnsYES
.- Permitted background duration if main thread is running in an endless loop
- App failed to resume in time if main thread is running in an endless loop
- If
enableMachExceptionHandler
is not activated, crashed due to stack overflow will also be reportedThe following kills can NOT be detected:
- Terminating the app takes too long
- Permitted background duration too long for all other cases
- App failed to resume in time for all other cases possibly more cases
- Crash reports triggered by this mechanisms do NOT contain a
关于IOS HockeyApp 崩溃日志 |应用程序没有完全终止,但没有发生崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43861186/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (https://ogeek.cn/) | Powered by Discuz! X3.4 |