【问题标题】:Crash Log - SIGTRAP - iPhone Simulator Using XCode 4.2崩溃日志 - SIGTRAP - 使用 XCode 4.2 的 iPhone 模拟器
【发布时间】:2011-12-14 03:39:21
【问题描述】:

我在使用 XCode 4.2 升级后遇到了这个崩溃问题。我以前使用 4.0.2 时从未发生过。最奇怪的是它断断续续地发生,因为它有时发生,有时又没有。请帮助我从下面的日志中找出崩溃的原因:

Interval Since Last Report:          627313 sec
Crashes Since Last Report:           59
Per-App Crashes Since Last Report:   14
Anonymous UUID:                      FF7C9791-6E3A-4A0C-AB83-35DE0C08166B

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
iPhone Simulator 272, iPhone OS 4.3.2 (iPhone/8H7)
iPhone Simulator 272, iPhone OS 4.3.2 (iPhone/8H7)


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib               0x9639baa2 __semwait_signal + 10
1   libSystem.B.dylib               0x963c79c5 nanosleep$UNIX2003 + 188
2   libSystem.B.dylib               0x963c7903 usleep$UNIX2003 + 61
3   QuartzCore                      0x0168549d CABackingStoreCollectBlocking + 209
4   UIKit                           0x00f27e98 -[UIApplication _handleApplicationSuspend:eventInfo:] + 1719
5   UIKit                           0x00f31039 -[UIApplication handleEvent:withNewEvent:] + 4127
6   UIKit                           0x00f28abf -[UIApplication sendEvent:] + 71
7   UIKit                           0x00f2df2e _UIApplicationHandleEvent + 7576
8   GraphicsServices                0x027f5992 PurpleEventCallback + 1550
9   CoreFoundation                  0x01b9f944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
10  CoreFoundation                  0x01affcf7 __CFRunLoopDoSource1 + 215
11  CoreFoundation                  0x01afcf83 __CFRunLoopRun + 979
12  CoreFoundation                  0x01afc840 CFRunLoopRunSpecific + 208
13  CoreFoundation                  0x01afc761 CFRunLoopRunInMode + 97
14  GraphicsServices                0x027f41c4 GSEventRunModal + 217
15  GraphicsServices                0x027f4289 GSEventRun + 115
16  UIKit                           0x00f31c93 UIApplicationMain + 1160
17  XXXXXXXXXXXXXX                  0x00184f69 main + 121 (main.m:14)
18  XXXXXXXXXXXXXX                  0x00002af5 start + 53

【问题讨论】:

    标签: crash ios-simulator xcode4.2 crash-reports


    【解决方案1】:

    每当 xcode 更新时,某些项目中总会出现这些小问题。这个问题可能有一个解决方案不涉及我的解决方案,所以我会在使用我的解决方案之前等待其他答案。

    我总是只是复制/粘贴我所有的重要代码,组织在文本文档中,这样我就可以知道过去的一切,然后我会卸载(卸载后,删除每个子文件夹和以前的所有剩余部分版本。所有项目和类)然后重新安装,创建新项目并复制/粘贴旧代码。这应该可以解决问题,但正如我所说,这很麻烦,所以看看是否有其他人可以为您的问题提供更具体的答案。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-12-24
      • 1970-01-01
      • 2012-06-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-17
      • 1970-01-01
      相关资源
      最近更新 更多