启动iPhone应用程式时,EXC_BREAKPOINT [英] EXC_BREAKPOINT when starting iPhone app

查看:349
本文介绍了启动iPhone应用程式时,EXC_BREAKPOINT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们应用程式的使用者传送了以下毁损纪录(已有符号):

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



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

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( / li>
  • MapKit.framework(

  • Foundation.framework

  • 框架

  • Openal.framework

  • AudioToolbox.framework

  • libsqlite3

  • SystemConfiguration.framework

  • CoreLocation.framework

  • PinchMedia分析

  • Security.framework

  • QuartzCore.framework

  • CFNetwork.framework

  • 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

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

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

有两件我很奇怪:


  1. 即使在调用main方法之前,应用程序崩溃。

  2. 崩溃日志看起来像这里发布的: Objective-C iPhone应用程式EXC_BREAKPOINT(SIGTRAP)

  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)

发送这个崩溃的用户是使用第二代iPod Touch与操作系统2.2.1。我不能重现这个问题,但根据iTunes中的评论,似乎更多的人有同样的问题。

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.

推荐答案

我有同样的问题。解决方案:弱链接UIKit.framework

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

这篇关于启动iPhone应用程式时,EXC_BREAKPOINT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆