强制关闭应用程序后,iOS应用程序在打开时崩溃

时间:2014-03-11 08:23:37

标签: ios iphone objective-c

我正在使用https://github.com/vfr/Reader示例来查看PDF文件。如果我通常打开应用程序有时会崩溃。如果我通过双击主页按钮强制关闭应用程序,则打开应用程序将持续崩溃。

Mar 11 13:47:43 eV-iPhone-4-Black ReportCrash[1210] <Error>: Not saving crash log because we have reached the limit for logs to store on disk.  Sync or otherwise clear logs from /var/mobile/Library/Logs/CrashReporter to save new logs.
Mar 11 13:47:43 eV-iPhone-4-Black ReportCrash[1210] <Error>: Could not save crash report to disk!
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Incident Identifier: 2E22CC11-149F-4793-A25D-8FB6CC9A4D32
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: CrashReporter Key:   51098f3dd34d50a0bad14d75ac0b666e73f8e0eb
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Hardware Model:      iPhone3,1
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Process:             myApp [1208]
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Path:                /var/mobile/Applications/DB3B7EED-3388-4F22-A64C-969D0BCCEE39/myApp.app/myApp
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Identifier:          myApp
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Version:             ???
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Code Type:           ARM (Native)
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Parent Process:      launchd [1]
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Date/Time:           2014-03-11 13:47:42.469 +0530
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: OS Version:          iOS 7.0.3 (11B511)
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Report Version:      104
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Triggered by Thread:  0
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: Thread 0 Crashed:
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 0   libobjc.A.dylib                0x3792d8e6 0x37924000 + 39142
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 1   libobjc.A.dylib                0x3792d9a4 0x37924000 + 39332
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 2   libobjc.A.dylib                0x3792f76a 0x37924000 + 46954
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 3   libobjc.A.dylib                0x37927fe6 0x37924000 + 16358
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 4   libobjc.A.dylib                0x37927db6 0x37924000 + 15798
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 5   libobjc.A.dylib                0x37929002 0x37924000 + 20482
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 6   CoreFoundation                 0x2d4d097c 0x2d4c9000 + 31100
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 7   Foundation                     0x2deb885c 0x2deb2000 + 26716
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 8   UIKit                          0x2fd79b58 0x2fd04000 + 482136
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 9   GraphicsServices               0x321b070a 0x321a7000 + 38666
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 10  GraphicsServices               0x321b02f2 0x321a7000 + 37618
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 11  CoreFoundation                 0x2d5679dc 0x2d4c9000 + 649692
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 12  CoreFoundation                 0x2d567976 0x2d4c9000 + 649590
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 13  CoreFoundation                 0x2d56614a 0x2d4c9000 + 643402
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 14  CoreFoundation                 0x2d4d0c22 0x2d4c9000 + 31778
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 15  CoreFoundation                 0x2d4d0a06 0x2d4c9000 + 31238
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 16  UIKit                          0x2fd78dd4 0x2fd04000 + 478676
Mar 11 13:47:44 eV-iPhone-4-Black ReportCrash[1210] <Error>: 17  UIKit

有人告诉我如何解决这个问题吗?

2 个答案:

答案 0 :(得分:2)

Not saving crash log because we have reached the limit for logs to store on disk.  Sync or otherwise clear logs from /var/mobile/Library/Logs/CrashReporter to save new logs.

参见上面的行..转到上面显示的路径&amp;清除它..让我知道如果仍有问题仍然存在.. :))

答案 1 :(得分:1)

如果您可以对错误进行去符号化,但是根据设备空间不足的前两行判断会有用吗?

Mar 11 13:47:43 eV-iPhone-4-Black ReportCrash[1210] <Error>: Not saving crash log because we have reached the limit for logs to store on disk.  Sync or otherwise clear logs from /var/mobile/Library/Logs/CrashReporter to save new logs.
Mar 11 13:47:43 eV-iPhone-4-Black ReportCrash[1210] <Error>: Could not save crash report to disk!

<强>更新

  • 将设备连接到设备。
  • 在Xcode中打开管理器窗口
  • 选择顶部的设备图标
  • 从左侧的“库”选项中选择“设备日志”
  • 应该有大量的崩溃日志,删除那些
  • 再次运行您的应用,日志现在应显示在列表中
  • 如果尚未自动执行,请单击“重新符号”