title: Help me understanding a stacktrace
body: <p>I've built an iPhone app. It works fine on the simulator and on my 4 iOS devices that run several iOS4 versions, including an iPhone 4 running iOS 4.3.3
  However when I submitted it to the appstore it got rejected because apparently it crashed upon launch on an iPhone 4 running iOS 4.3.3</p>
  
  <p>They sent me the associated stacktrace. I symbolicated it but can't make sense out of it.
  If you're a stacktrace genius and can give me a tip to point me in the right direction, I'd be very grateful!</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>THE STACKTRACE:</p>
  
  <pre><code>Incident Identifier: AE062B8C-6EF3-4DE5-8862-C2B6E5B4ED69
  CrashReporter Key:   0ecc752f46ea3a89537660d343cedea406a74833
  Hardware Model:      iPhone3,1
  Process:         myapp [5016]
  Path:            /var/mobile/Applications/80837345-000A-4769-95AF-1F34D8C66809/myapp.app/myapp
  Identifier:      myapp
  Version:         ??? (???)
  Code Type:       ARM (Native)
  Parent Process:  launchd [1]
  
  Date/Time:       2011-05-18 15:13:02.009 -0700
  OS Version:      iPhone OS 4.3.3 (8J2)
  Report Version:  104
  
  Exception Type:  EXC_CRASH (SIGABRT)
  Exception Codes: 0x00000000, 0x00000000
  Crashed Thread:  0
  
  Thread 0 name:  Dispatch queue: com.apple.main-thread
  Thread 0 Crashed:
  0   libsystem_kernel.dylib          0x3558fa1c __pthread_kill + 8
  1   libsystem_c.dylib               0x356663b4 pthread_kill + 52
  2   libsystem_c.dylib               0x3565ebf8 abort + 72
  3   libstdc++.6.dylib               0x35628a64 __gnu_cxx::__verbose_terminate_handler() + 376
  4   libobjc.A.dylib                 0x3449d06c _objc_terminate + 104
  5   libstdc++.6.dylib               0x35626e36 __cxxabiv1::__terminate(void (*)()) + 46
  6   libstdc++.6.dylib               0x35626e8a std::terminate() + 10
  7   libstdc++.6.dylib               0x35626f5a __cxa_throw + 78
  8   libobjc.A.dylib                 0x3449bc84 objc_exception_throw + 64
  9   Foundation                      0x34242924 __NSThreadPerformPerform + 648
  10  CoreFoundation                  0x30957a72 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 6
  11  CoreFoundation                  0x3095969c __CFRunLoopDoSources0 + 188
  12  CoreFoundation                  0x3095a4e4 __CFRunLoopRun + 224
  13  CoreFoundation                  0x308eaebc CFRunLoopRunSpecific + 224
  14  CoreFoundation                  0x308eadc4 CFRunLoopRunInMode + 52
  15  GraphicsServices                0x30269418 GSEventRunModal + 108
  16  GraphicsServices                0x302694c4 GSEventRun + 56
  17  UIKit                           0x30a10d62 -[UIApplication _run] + 398
  18  UIKit                           0x30a0e800 UIApplicationMain + 664
  19  myapp                           0x00002a02 main (main.m:14)
  20  myapp                           0x000029cc 0x1000 + 6604
  
  Thread 1:
  0   libsystem_kernel.dylib          0x355903ec __workq_kernreturn + 8
  1   libsystem_c.dylib               0x356676d8 _pthread_wqthread + 592
  2   libsystem_c.dylib               0x35667bbc start_wqthread + 0
  
  Thread 2 name:  Dispatch queue: com.apple.libdispatch-manager
  Thread 2:
  0   libsystem_kernel.dylib          0x35590fbc kevent + 24
  1   libdispatch.dylib               0x35261032 _dispatch_mgr_invoke + 706
  2   libdispatch.dylib               0x3526203a _dispatch_queue_invoke + 86
  3   libdispatch.dylib               0x352615ea _dispatch_worker_thread2 + 186
  4   libsystem_c.dylib               0x3566758a _pthread_wqthread + 258
  5   libsystem_c.dylib               0x35667bbc start_wqthread + 0
  
  Thread 3:
  0   libsystem_kernel.dylib          0x355903ec __workq_kernreturn + 8
  1   libsystem_c.dylib               0x356676d8 _pthread_wqthread + 592
  2   libsystem_c.dylib               0x35667bbc start_wqthread + 0
  
  Thread 4 name:  WebThread
  Thread 4:
  0   libsystem_kernel.dylib          0x3558dc00 mach_msg_trap + 20
  1   libsystem_kernel.dylib          0x3558d758 mach_msg + 44
  2   CoreFoundation                  0x309582b8 __CFRunLoopServiceMachPort + 88
  3   CoreFoundation                  0x3095a562 __CFRunLoopRun + 350
  4   CoreFoundation                  0x308eaebc CFRunLoopRunSpecific + 224
  5   CoreFoundation                  0x308eadc4 CFRunLoopRunInMode + 52
  6   WebCore                         0x35f5327e RunWebThread(void*) + 382
  7   libsystem_c.dylib               0x3566630a _pthread_start + 242
  8   libsystem_c.dylib               0x35667bb4 thread_start + 0
  
  Thread 0 crashed with ARM Thread State:
      r0: 0x00000000    r1: 0x00000000      r2: 0x00000001      r3: 0x00000000
      r4: 0x3f08048c    r5: 0x00000006      r6: 0x0019896c      r7: 0x2fdfe990
      r8: 0x00000001    r9: 0x00000065     r10: 0x00000000     r11: 0x3e5338c8
      ip: 0x00000148    sp: 0x2fdfe984      lr: 0x359b83bb      pc: 0x358e1a1c
    cpsr: 0x000f0010
  
  Binary Images:
      0x1000 -    0x28fff +myapp armv7  &lt;b22474dac7eb34438cb7fc2be88c910b&gt; /var/mobile/Applications/80837345-000A-4769-95AF-1F34D8C66809/myapp.app/myapp
  0x2fe00000 - 0x2fe25fff  dyld armv7  &lt;bb9bfc7d242331d29a79adf7ef7aaa18&gt; /usr/lib/dyld
  0x30357000 - 0x30380fff  MobileCoreServices armv7  &lt;57fef84bdc17301d8bf53ba0fb967fe6&gt; /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
  0x30381000 - 0x303b8fff  Security armv7  &lt;6599f42a910b3b31a0e1d98c883d61cb&gt; /System/Library/Frameworks/Security.framework/Security
  0x303b9000 - 0x303bafff  libsystem_network.dylib armv7  &lt;39bf0f48bd8539169a77f8f61cdcd4c9&gt; /usr/lib/system/libsystem_network.dylib
  0x30406000 - 0x30416fff  DataAccessExpress armv7  &lt;66d9047da79a31daa887e6d84c42ecb2&gt; /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
  0x30417000 - 0x30417fff  Accelerate armv7  &lt;7d5ad465049136afaa1f0d89aac600bc&gt; /System/Library/Frameworks/Accelerate.framework/Accelerate
  0x30515000 - 0x305aafff  ImageIO armv7  &lt;d520e3241d1130e8ac1375ee0f2c1095&gt; /System/Library/Frameworks/ImageIO.framework/ImageIO
  0x305b7000 - 0x305c3fff  GraphicsServices armv7  &lt;ff78a9636e933f0dbd222f8d26209788&gt; /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
  0x30722000 - 0x30724fff  libgcc_s.1.dylib armv7  &lt;a2631ac302f4310dae8367939e16b7c2&gt; /usr/lib/libgcc_s.1.dylib
  0x30725000 - 0x3083ffff  libicucore.A.dylib armv7  &lt;bada0c2725bb31a483d5adf9aaf1f8df&gt; /usr/lib/libicucore.A.dylib
  0x30844000 - 0x3085afff  EAP8021X armv7  &lt;9fefc0ada30435fbb3b51818c74f6cb8&gt; /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
  0x309e8000 - 0x309effff  libMobileGestalt.dylib armv7  &lt;55f29184efcc3046bb833dd72a4487e1&gt; /usr/lib/libMobileGestalt.dylib
  0x309fc000 - 0x309fcfff  vecLib armv7  &lt;0c60cd0a60f43d2791d36cb357d30e3c&gt; /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
  0x30a39000 - 0x30a76fff  CoreText armv7  &lt;fb6a72faec2330c4b2cd33c2e9c59588&gt; /System/Library/Frameworks/CoreText.framework/CoreText
  0x30c34000 - 0x30d19fff  CoreFoundation armv7  &lt;a8444f997111304c9571b3ff974b769c&gt; /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
  0x30d34000 - 0x310c1fff  UIKit armv7  &lt;c271b78464d93cb7bf28c6e49df293ba&gt; /System/Library/Frameworks/UIKit.framework/UIKit
  0x310e2000 - 0x311cffff  libiconv.2.dylib armv7  &lt;f4146ce07e3031ea8a81fa5516fd77d0&gt; /usr/lib/libiconv.2.dylib
  0x311d0000 - 0x311d1fff  libremovefile.dylib armv7  &lt;e8858a499d663e6a9e3c188521273cc1&gt; /usr/lib/system/libremovefile.dylib
  0x311d2000 - 0x311dcfff  AccountSettings armv7  &lt;d083fb384dc7311eb6766b9b2d2dd9c8&gt; /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
  0x311e2000 - 0x311ebfff  CoreVideo armv7  &lt;ea847e6dba2d36b1826b255c73b39539&gt; /System/Library/Frameworks/CoreVideo.framework/CoreVideo
  0x311ec000 - 0x3121ffff  StoreServices armv7  &lt;d526715648f435c3aac4c42953e76d20&gt; /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
  0x3123c000 - 0x3123efff  libAccessibility.dylib armv7  &lt;d55f1553d14831a2a5435ae27ef75ef4&gt; /usr/lib/libAccessibility.dylib
  0x3123f000 - 0x31290fff  libsqlite3.dylib armv7  &lt;8a41cc6a6d9332308bc415d27577fd24&gt; /usr/lib/libsqlite3.dylib
  0x312aa000 - 0x312b1fff  libbz2.1.0.dylib armv7  &lt;0a082e1d475432959ba93aa3dbf7fb31&gt; /usr/lib/libbz2.1.0.dylib
  0x312b2000 - 0x312f5fff  ManagedConfiguration armv7  &lt;f790c26852cb3cf298abe56bc9a3940b&gt; /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
  0x312f6000 - 0x312fbfff  liblaunch.dylib armv7  &lt;f5ccc8234aea3ebd9a88bd37f0fa23ae&gt; /usr/lib/system/liblaunch.dylib
  0x31336000 - 0x31341fff  libz.1.dylib armv7  &lt;ac706bee36593dc683fd5a96a389d72e&gt; /usr/lib/libz.1.dylib
  0x314b2000 - 0x314b2fff  libdnsinfo.dylib armv7  &lt;21415179ffa03f949fa8cc851c6c31c7&gt; /usr/lib/system/libdnsinfo.dylib
  0x314b3000 - 0x314b4fff  libsystem_blocks.dylib armv7  &lt;ccc041df3de73eafb7a59e74cdb1702b&gt; /usr/lib/system/libsystem_blocks.dylib
  0x314b5000 - 0x314d5fff  PrintKit armv7  &lt;e5a01ca9083a36afacc08611a398e2ad&gt; /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
  0x314e2000 - 0x31524fff  CoreAudio armv7  &lt;c972fd5f8e89333ca680b9a33587f896&gt; /System/Library/Frameworks/CoreAudio.framework/CoreAudio
  0x31af7000 - 0x31b2ffff  IOKit armv7  &lt;80ae313ad69d3363935c88e51a11862d&gt; /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
  0x31b70000 - 0x31bacfff  libGLImage.dylib armv7  &lt;9d97699e44ee3651ba4ac37e5adec35b&gt; /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
  0x33772000 - 0x33777fff  MobileKeyBag armv7  &lt;8c35c090bc373cb181fc26b961b8dba5&gt; /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
  0x33778000 - 0x33781fff  MobileWiFi armv7  &lt;03d98d5cf6383695aa7d8a88da52f410&gt; /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
  0x3388b000 - 0x3388efff  ApplePushService armv7  &lt;015c68c15621348db9f6a012499170e1&gt; /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
  0x3388f000 - 0x338d5fff  CoreTelephony armv7  &lt;af7d1e770e5a3ffd8834a57fb5d40557&gt; /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
  0x338d6000 - 0x338e2fff  SpringBoardServices armv7  &lt;c68262667ac8397a949ce4e92dfec7db&gt; /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
  0x339b7000 - 0x339b9fff  IOMobileFramebuffer armv7  &lt;683f321680763e519d61541170ba2133&gt; /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
  0x339ba000 - 0x339bffff  libcopyfile.dylib armv7  &lt;e57c2b9054b831d9a37119baaa4947cb&gt; /usr/lib/system/libcopyfile.dylib
  0x33aab000 - 0x33aaffff  libGFXShared.dylib armv7  &lt;a0772a32cd8b3b9194bb0c29807c1c5b&gt; /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
  0x33ab2000 - 0x33abbfff  ITSync armv7  &lt;ba8b48d061903e4096774344448776d0&gt; /System/Library/PrivateFrameworks/ITSync.framework/ITSync
  0x33be5000 - 0x33be9fff  AssetsLibraryServices armv7  &lt;e1cbfe599c96369ca4bdb0dd99d3cd9f&gt; /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
  0x33beb000 - 0x33c9cfff  WebKit armv7  &lt;eb9a0d69c64b3127b2bffd71641add3b&gt; /System/Library/PrivateFrameworks/WebKit.framework/WebKit
  0x33c9d000 - 0x33caafff  libbsm.0.dylib armv7  &lt;0a1e2bb78d5138419ecad8ba0fe42fdd&gt; /usr/lib/libbsm.0.dylib
  0x33d83000 - 0x33d89fff  liblockdown.dylib armv7  &lt;14c89b7346433c1f8675f454531f6ca3&gt; /usr/lib/liblockdown.dylib
  0x34064000 - 0x34065fff  libdyld.dylib armv7  &lt;41a7b5e5d9983449ab33affed0f635ad&gt; /usr/lib/system/libdyld.dylib
  0x340d2000 - 0x340d5fff  libmacho.dylib armv7  &lt;43311c113a9d3182b7d007129819f029&gt; /usr/lib/system/libmacho.dylib
  0x340d6000 - 0x340ebfff  libresolv.9.dylib armv7  &lt;e92cfbb83f7b330db19181e797bb3f7b&gt; /usr/lib/libresolv.9.dylib
  0x342f2000 - 0x342f5fff  IOSurface armv7  &lt;ad50e71624583d06b891344d832f9b08&gt; /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
  0x343f6000 - 0x34455fff  libBLAS.dylib armv7  &lt;0b36b2272aa33a8c9aa22d99c89d7189&gt; /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
  0x34505000 - 0x34624fff  Foundation armv7  &lt;09ff368178c5321c9715b9c8d491d53f&gt; /System/Library/Frameworks/Foundation.framework/Foundation
  0x346f1000 - 0x347a0fff  QuartzCore armv7  &lt;ef9632c9781f3101916b65e9faae1579&gt; /System/Library/Frameworks/QuartzCore.framework/QuartzCore
  0x347e9000 - 0x348adfff  libobjc.A.dylib armv7  &lt;6b51e76fde9f381bb7b3bc5badbfee3a&gt; /usr/lib/libobjc.A.dylib
  0x34a93000 - 0x34ac6fff  AppSupport armv7  &lt;0217468bd9f839229a47910b7816b3d5&gt; /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
  0x34ac7000 - 0x34acefff  AggregateDictionary armv7  &lt;ab9777b39e8e3026ad64dc90323cad7e&gt; /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
  0x34acf000 - 0x34ad0fff  DataMigration armv7  &lt;42e9e87a4e0735c3837e27d4f2adcf55&gt; /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
  0x34ad1000 - 0x34bf2fff  CoreGraphics armv7  &lt;65f6c8701b563542820a26b0dfc4f6a4&gt; /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
  0x34c33000 - 0x34f20fff  libLAPACK.dylib armv7  &lt;b855d60dac01310495453bddfd004f0d&gt; /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
  0x34f4c000 - 0x34f81fff  AddressBook armv7  &lt;3f2071a77bc134cd82065eef90d4082f&gt; /System/Library/Frameworks/AddressBook.framework/AddressBook
  0x34f82000 - 0x35041fff  CFNetwork armv7  &lt;b09e0d53de9f3bc8bde494780f3cdd4f&gt; /System/Library/Frameworks/CFNetwork.framework/CFNetwork
  0x35042000 - 0x3505bfff  libRIP.A.dylib armv7  &lt;4825c3e392983aba947eca06555e4480&gt; /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
  0x3517c000 - 0x352d0fff  AudioToolbox armv7  &lt;6619c8c13f8d328e923e797fa8d0df23&gt; /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
  0x35371000 - 0x35372fff  CoreSurface armv7  &lt;7b83cd757da73e6e826693c29296d3fa&gt; /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
  0x35377000 - 0x35420fff  libxml2.2.dylib armv7  &lt;5538d3f2c7d83b88b06168488fe6326b&gt; /usr/lib/libxml2.2.dylib
  0x3544b000 - 0x35450fff  libsystem_dnssd.dylib armv7  &lt;c7cfe523e2d73521abc01587313ef730&gt; /usr/lib/system/libsystem_dnssd.dylib
  0x3553e000 - 0x3555bfff  libsystem_info.dylib armv7  &lt;48016be86e3f3cd9aeee1c6590e1ac6f&gt; /usr/lib/system/libsystem_info.dylib
  0x35595000 - 0x355a7fff  PersistentConnection armv7  &lt;659ea9d5b13d3fefb37acff09016a69c&gt; /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
  0x355a8000 - 0x355acfff  libcache.dylib armv7  &lt;d2f7fd2a352b3cd59c564be34b53cf80&gt; /usr/lib/system/libcache.dylib
  0x355ad000 - 0x355bafff  libdispatch.dylib armv7  &lt;9a0511ad5ebc3db898f1f49ed1a73d34&gt; /usr/lib/system/libdispatch.dylib
  0x355eb000 - 0x3562afff  libSystem.B.dylib armv7  &lt;33dcf9a403ae3fd5971d6030ada2fcab&gt; /usr/lib/libSystem.B.dylib
  0x3562b000 - 0x3562bfff  libCVMSPluginSupport.dylib armv7  &lt;42d8aa2a31843a6e8bfff745644a7ba5&gt; /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
  0x3562c000 - 0x356c9fff  AddressBookUI armv7  &lt;e354aeb3d96e30338e90cc3638ffe81b&gt; /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
  0x356ca000 - 0x35739fff  ProofReader armv7  &lt;6d843c6aecdd37ae84baa40af8ad7e65&gt; /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
  0x3573a000 - 0x3578ffff  libvDSP.dylib armv7  &lt;0221caba81a235c5a896a835e2aac047&gt; /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
  0x358cc000 - 0x358cffff  CaptiveNetwork armv7  &lt;fc834fd33a18341ea7506587ad895703&gt; /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
  0x358d0000 - 0x358e7fff  libsystem_kernel.dylib armv7  &lt;a06ec84e53bf32098b63c0caebdb45b6&gt; /usr/lib/system/libsystem_kernel.dylib
  0x35936000 - 0x35980fff  libstdc++.6.dylib armv7  &lt;b2cac408951c3f3c9ba3cf563e54ce81&gt; /usr/lib/libstdc++.6.dylib
  0x35981000 - 0x35983fff  MobileInstallation armv7  &lt;94b6d6c5d9883175af26764567528127&gt; /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
  0x35985000 - 0x35a06fff  libsystem_c.dylib armv7  &lt;a7077267b6743ed3bbdd86d4380c75d9&gt; /usr/lib/system/libsystem_c.dylib
  0x35a07000 - 0x35a3ffff  libCGFreetype.A.dylib armv7  &lt;ccea634795153164a681f0f311f4461d&gt; /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
  0x35e6b000 - 0x35f6ffff  JavaScriptCore armv7  &lt;61a94142e2d23dafa2964190dd46e9e3&gt; /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
  0x35f70000 - 0x35f83fff  libmis.dylib armv7  &lt;529ea6e3a87230ce9f6cf3285c22429c&gt; /usr/lib/libmis.dylib
  0x35fcd000 - 0x35fecfff  Bom armv7  &lt;b178e3efb4d733c694bd5a55e57a314f&gt; /System/Library/PrivateFrameworks/Bom.framework/Bom
  0x3629f000 - 0x368aafff  WebCore armv7  &lt;07941e59d0a33f94802c16c76238fddf&gt; /System/Library/PrivateFrameworks/WebCore.framework/WebCore
  0x3697f000 - 0x369aefff  SystemConfiguration armv7  &lt;1d73b8a159363f96bb9c039655c5eae6&gt; /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
  0x369b8000 - 0x369c6fff  OpenGLES armv7  &lt;5a76beaeaa013f0cbf16e5cb154598ab&gt; /System/Library/Frameworks/OpenGLES.framework/OpenGLES
  0x369d9000 - 0x369defff  libnotify.dylib armv7  &lt;9d7198e91de9386a9e5ea43608a66a57&gt; /usr/lib/system/libnotify.dylib
  0x36ae1000 - 0x36ae1fff  libsystem_sandbox.dylib armv7  &lt;f47c01d627853b328e088b3fdd08e87d&gt; /usr/lib/system/libsystem_sandbox.dylib
  myapp
  </code></pre>