4

I'm trying to debug a hard to reproduce crash on my iPhone app. The only info I have till now is the following log from the device of my customer:

Incident Identifier: 7A3417A-4F27-44E3-97A3-AF811A79C88E
CrashReporter Key:   13d8ee7a1052506be1ae7b4bbcb3439d1c86df85
Hardware Model:      iPhone4,1
OS Version:          iPhone OS 6.0 (10A403)
Kernel Version:      Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X
Date:                2012-10-24 08:11:29 +0200
Time since snapshot: 7156 ms

Free pages:        793
Active pages:      3323
Inactive pages:    2043
Throttled pages:   88283
Purgeable pages:   144
Wired pages:       33372
Largest process:   NLinBusiness

Processes
     Name                                           rpages       recent_max       [reason]          (state)

             lsd           172              172         [vm]         (daemon) (idle)
     MobilePhone          1015             1015         [vm]         (resume) (continuous)
            tccd           170              170         [vm]         (daemon)
    NLinBusiness         51246            51246         [vm]         (frontmost) (resume)
      calaccessd           288              288                      (daemon)
    mediaserverd          2319             2319                      (daemon)
           wifid           570              570                      (daemon)
       locationd          1312             1312                      (daemon)
         syslogd           171              171                      (daemon)
      aosnotifyd           684              684                      (daemon)
     dataaccessd          2504             2504                      (daemon)
   iaptransportd           235              235                      (daemon)
     SpringBoard         23545            23545                     
      backboardd          5779             5779                      (daemon)
        networkd           210              210                      (daemon)
        BTServer           240              240                      (daemon)
         configd           804              804                      (daemon)
   fairplayd.N94           161              161                      (daemon)
       fseventsd           499              499                      (daemon)
         imagent           703              703                      (daemon)
   mDNSResponder           306              306                      (daemon)
  UserEventAgent           601              601                      (daemon)
    mediaremoted           225              225                      (daemon)
           amfid           136              136                      (daemon)
   syncdefaultsd           294              294                      (daemon)
             ubd           456              456                      (daemon)
        recentsd           859              859                      (daemon)
        SCHelper           146              146                      (daemon)
        twitterd           636              636                      (daemon)
   absinthed.N94           104              104                      (daemon)
         sociald           885              885                      (daemon)
filecoordination           202              202                      (daemon)
       distnoted           129              129                      (daemon)
            apsd           348              348                      (daemon)
      aggregated           103              103                      (daemon)
       lockdownd           349              349                      (daemon)
          powerd           189              189                      (daemon)
       securityd           389              389                      (daemon)
      CommCenter          1045             1045                      (daemon)
         notifyd           210              210                      (daemon)
     ReportCrash           332              332                      (daemon)

**End**

Is there any useful info about the crash in this log?

4

2 回答 2

9

实际上,这个日志信息量很大。有问题的应用程序没有崩溃 - 它被 Jetsam/memorystatus 杀死。我们在我的应用程序崩溃和关闭中对此进行了解释,关于原因的信息很少

在您的情况下,NlinBusiness 应用程序(我猜是您的?)使用太多内存 - 请记住 iOS 没有交换。空闲页面计数低以触发低内存条件,并且您的应用程序被终止。通过响应内存不足事件,您可以避免被杀死。

于 2012-11-06T00:16:55.983 回答
0

这个日志根本不会帮助你。它不包含任何特定于您的代码的内容。要在日志文件中获取信息,请查看此链接

http://cocoaforbreakfast.wordpress.com/2011/02/25/logging-into-files-for-ios/

于 2012-10-30T11:35:31.770 回答