title: EXC_BREAKPOINT when starting iPhone app
body: <p>A user of our app sent me the following crash log (already symbolicated):</p>
  
  <pre><code>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 ??? (???)
  &lt;f6a50d5f57a676b54276d0ecef46d5f0&gt; /usr/lib/dyld
  </code></pre>
  
  <p>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:</p>
  
  <ul>
  <li>UIKit.framework (<strong>Weak</strong>)</li>
  <li>MapKit.framework (<strong>Weak</strong>)</li>
  <li>Foundation.framework</li>
  <li>CoreGraphics.framework</li>
  <li>OpenAL.framework</li>
  <li>AudioToolbox.framework</li>
  <li>libsqlite3</li>
  <li>SystemConfiguration.framework</li>
  <li>CoreLocation.framework</li>
  <li>PinchMedia analytics</li>
  <li>Security.framework</li>
  <li>QuartzCore.framework</li>
  <li>CFNetwork.framework</li>
  </ul>
  
  <p>My base SDK is iPhone 3.0, and my Base OS Deployment Target is 2.2.1.</p>
  
  <p>There are two things I find weird:</p>
  
  <ol>
  <li>The app crashes even before the main method is invoked.</li>
  <li>The crash log looks exactly like the one posted here: <a href="https://stackoverflow.com/questions/2368689/objective-c-iphone-app-exc-breakpoint-sigtrap">Objective-C iPhone App EXC_BREAKPOINT (SIGTRAP)</a></li>
  </ol>
  
  <p>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.</p>