启动 iPhone 应用程序时的 EXC_BREAKPOINT

发布于 2024-08-25 00:25:50 字数 2387 浏览 3 评论 0原文

我们应用程序的用户向我发送了以下崩溃日志(已用符号表示):

Incident Identifier: 59D4D5E7-570A-4047-A679-3016B2A226C4
CrashReporter Key:   d8284d671ee22ad17511360ce73409ebfa8b84bb
Process:         .... [63]
Path:            /var/mobile/Applications/....
Identifier:      ...
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2010-03-08 17:00:15.437 -0800
OS Version:      iPhone OS 2.2.1 (5H11a)
Report Version:  103

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread:  0

Thread 0 Crashed:
0   dyld                 0x2fe01060 dyld_fatal_error + 0
1   dyld                 0x2fe088d4 dyld::_main(mach_header
const*, unsigned long, int, char const**, char const**, char const**)
+ 3064
2   dyld                 0x2fe0196c
dyldbootstrap::start(mach_header const*, int, char const**, long) +
884
3   dyld                 0x2fe01048 _dyld_start + 32

Thread 0 crashed with ARM Thread State:
   r0: 0x2fe23ca0    r1: 0x00000000      r2: 0x2fe23ca0      r3:
0x00000000
   r4: 0x2ffff4e0    r5: 0x2ffff4bc      r6: 0x2fe005c0      r7:
0x2ffffb00
   r8: 0x00000004    r9: 0x2fe57cf0     r10: 0x2fe236c8     r11:
0x00000009
   ip: 0x0000018d    sp: 0x2ffff5b8      lr: 0x2fe088dc      pc:
0x2fe01060
 cpsr: 0x00000010

Binary Images:
0x2fe00000 - 0x2fe22fff  dyld ??? (???)
<f6a50d5f57a676b54276d0ecef46d5f0> /usr/lib/dyld

我的应用程序使用 OpenFeint 和 PinchMedia 分析。对于 PinchMedia,我使用他们提供的 .a 文件进行链接,对于 OpenFeint,我正在编译他们的代码(按照他们的指南)。 我链接的框架/库是:

  • UIKit.framework (Weak)
  • MapKit.framework (Weak)
  • Foundation.framework
  • CoreGraphics.framework
  • OpenAL.framework
  • AudioToolbox.framework
  • libsqlite3
  • SystemConfiguration .framework
  • CoreLocation.framework
  • PinchMedia Analytics
  • Security.framework
  • QuartzCore.framework
  • CFNetwork.framework

我的基础 SDK 是 iPhone 3.0,我的基础操作系统部署目标是 2.2.1。

我觉得有两件事很奇怪:

  1. 应用程序甚至在调用 main 方法之前就崩溃了。
  2. 崩溃日志看起来与此处发布的完全一样:Objective-C iPhone 应用程序 EXC_BREAKPOINT ( SIGTRAP)

向我发送此崩溃的用户正在使用操作系统 2.2.1 的第二代 iPod Touch。我无法重现这个问题,但根据 iTunes 中的评论,似乎有更多的人遇到了同样的问题。

A user of our app sent me the following crash log (already symbolicated):

Incident Identifier: 59D4D5E7-570A-4047-A679-3016B2A226C4
CrashReporter Key:   d8284d671ee22ad17511360ce73409ebfa8b84bb
Process:         .... [63]
Path:            /var/mobile/Applications/....
Identifier:      ...
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2010-03-08 17:00:15.437 -0800
OS Version:      iPhone OS 2.2.1 (5H11a)
Report Version:  103

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread:  0

Thread 0 Crashed:
0   dyld                 0x2fe01060 dyld_fatal_error + 0
1   dyld                 0x2fe088d4 dyld::_main(mach_header
const*, unsigned long, int, char const**, char const**, char const**)
+ 3064
2   dyld                 0x2fe0196c
dyldbootstrap::start(mach_header const*, int, char const**, long) +
884
3   dyld                 0x2fe01048 _dyld_start + 32

Thread 0 crashed with ARM Thread State:
   r0: 0x2fe23ca0    r1: 0x00000000      r2: 0x2fe23ca0      r3:
0x00000000
   r4: 0x2ffff4e0    r5: 0x2ffff4bc      r6: 0x2fe005c0      r7:
0x2ffffb00
   r8: 0x00000004    r9: 0x2fe57cf0     r10: 0x2fe236c8     r11:
0x00000009
   ip: 0x0000018d    sp: 0x2ffff5b8      lr: 0x2fe088dc      pc:
0x2fe01060
 cpsr: 0x00000010

Binary Images:
0x2fe00000 - 0x2fe22fff  dyld ??? (???)
<f6a50d5f57a676b54276d0ecef46d5f0> /usr/lib/dyld

My app uses OpenFeint and PinchMedia analytics. For PinchMedia, I'm linking using their provided .a file, and for OpenFeint, I'm compiling their code (as per their guidelines).
The frameworks / libs I'm linking are:

  • UIKit.framework (Weak)
  • MapKit.framework (Weak)
  • Foundation.framework
  • CoreGraphics.framework
  • OpenAL.framework
  • AudioToolbox.framework
  • libsqlite3
  • SystemConfiguration.framework
  • CoreLocation.framework
  • PinchMedia analytics
  • Security.framework
  • QuartzCore.framework
  • CFNetwork.framework

My base SDK is iPhone 3.0, and my Base OS Deployment Target is 2.2.1.

There are two things I find weird:

  1. The app crashes even before the main method is invoked.
  2. The crash log looks exactly like the one posted here: Objective-C iPhone App EXC_BREAKPOINT (SIGTRAP)

The user that sent me this crash is using a 2nd gen iPod Touch with OS 2.2.1. I wasn't able to reproduce the issue, but based on the comments in iTunes, it seems that more people is having the same issue.

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

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

发布评论

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

评论(1

缺⑴份安定 2024-09-01 00:25:50

我遇到了完全相同的问题。解决方案: 弱链接 UIKit.framework< /a>

I had the exact same problem. Solution: Weak link UIKit.framework

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