崩溃日志 - SIGTRAP - 使用 XCode 4.2 的 iPhone 模拟器

发布于 2024-12-11 17:46:10 字数 2142 浏览 0 评论 0原文

使用 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

I have this crash issue after I upgrade using XCode 4.2. It never happened when I use 4.0.2 before. The strangest thing is that it happened intermittently, as it sometime happened and sometime it didn't. Please help me figuring out what the cause of the crash from the log below :

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悲念泪 2024-12-18 17:46:10

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

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

There's always these little problems in certain projects whenever xcode updates. There may be a solution to this problem that doesn't involve my solution, so I would wait for other answers before using mine.

I would always just copy/paste all of my important code, organized in text documents so that I can tell what everything used to be, then I would Un-Install (after uninstalling, delete every subfolder and all leftovers of the previous version. All projects and classes) then Re-install, create new projects and copy/paste your old code. This SHOULD fix the problem, but as I said this is a hassle so see if anyone else cam come with a more specific answer to your problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文