views:

77

answers:

2

Hi, I have been searching for days on this topic and cannot come up with a straight answer on how to cut down on the launch time of my app. Can anyone take a couple minutes to interpret this crash log for me (or teach me how)? Cuz I have no clue and I have tried searching and even contacting Apple. Thanks so much in advance. This forum is amazing!

Incident Identifier: F91ACCAA-1119-45B4-B6A1-B9242F640DEB CrashReporter Key:
18b5124ea5f657227c5f202a27ed707379b3e2e7 Hardware Model: iPhone2,1 Process: iREI [2955] Path:
/var/mobile/Applications/BD0671A8-9B9F-4E9C-BEDE-6E395EEEAE2C/iREI.app/iREI Identifier: iREI Version:
??? (???) Code Type: ARM (Native) Parent Process: launchd [1]

Date/Time: 2010-07-09 15:28:15.229 -0700 OS Version:
iPhone OS 4.0 (8A293) Report Version: 104

Exception Type: 00000020 Exception Codes: 0x8badf00d Highlighted Thread: 0

Application Specific Information: com.wilburgrey.irei failed to launch in time elapsed total CPU time (seconds): 0.980 (user 0.370, system 0.610), 5% CPU elapsed application CPU time (seconds): 0.270, 1% CPU

Thread 0: 0 libobjc.A.dylib
0x00001d0a _mapStrHash + 6 1
libobjc.A.dylib
0x00004bae bucketOf + 6 2
libobjc.A.dylib
0x00004eda _NXMapMember + 18 3
libobjc.A.dylib
0x00001cee NXMapGet + 6 4
libobjc.A.dylib
0x00006b54 addNamedClass(class_t*, char const*) + 12 5 libobjc.A.dylib 0x00000f9a _read_images + 342 6
libobjc.A.dylib
0x0000d5ce map_images_nolock + 438 7
libobjc.A.dylib
0x00000bd8 map_images + 28 8 dyld
0x2fe04288 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 712 9
dyld
0x2fe044c4 dyld::registerImageStateBatchChangeHandler(dyld_image_states, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 112 10 dyld 0x2fe07898 dyld_register_image_state_change_handler + 44 11 libSystem.B.dylib 0x00003966 dyld_register_image_state_change_handler + 46 12 libobjc.A.dylib 0x00000b9a _objc_init + 38 13 dyld
0x2fe0c006 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 134 14 dyld
0x2fe0c0c2 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 14 15 dyld
0x2fe09ff8 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 232 16 dyld
0x2fe09f9a ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 138 17 dyld
0x2fe09f9a ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 138 18 dyld
0x2fe0a3ee ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 34 19 dyld
0x2fe021fc dyld::initializeMainExecutable() + 324 20 dyld
0x2fe06bc8 dyld::_main(macho_header const*, unsigned long, int, char const*, char const*, char const**) + 1604 21 dyld
0x2fe016f2 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*) + 494 22 dyld
0x2fe01058 _dyld_start + 48

Unknown thread crashed with unknown flavor: 5, state_count: 1

Binary Images: 0x1000 - 0x5fff +iREI armv7 <38b9916be3f96ed5a0a8b9c5b31ab0b7> /var/mobile/Applications/BD0671A8-9B9F-4E9C-BEDE-6E395EEEAE2C/iREI.app/iREI 0x2fe00000 - 0x2fe26fff dyld armv7 <697ae459733a7f0b6c439b21ba62b110> /usr/lib/dyld 0x30007000 - 0x3000ffff libgcc_s.1.dylib armv7 /usr/lib/libgcc_s.1.dylib 0x30098000 - 0x300c1fff ContentIndex armv7 <40405e868ddfb485115719c167925b6b> /System/Library/PrivateFrameworks/ContentIndex.framework/ContentIndex 0x30107000 - 0x3011afff libmis.dylib armv7 <9fbf2930731e2da9863eacdff8b121a2> /usr/lib/libmis.dylib 0x3011b000 - 0x3011cfff CoreSurface armv7 /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x30125000 - 0x30169fff libsqlite3.dylib armv7 <36b9bc7d02e29c8d321dd0d7bf7e115e> /usr/lib/libsqlite3.dylib 0x3016d000 - 0x30174fff MobileWiFi armv7 <6d417a70ec3abd8258ed0fbab0994518> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi 0x301f3000 - 0x30221fff MIME armv7 /System/Library/PrivateFrameworks/MIME.framework/MIME 0x3037a000 - 0x3037dfff IOSurface armv7 <69e41f7996daba75c65b85a4800fd038> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface 0x3037e000 - 0x30389fff GraphicsServices armv7 <7194df9e594ae0fd9d9c600ccf456a08> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x303cd000 - 0x30407fff IMAVCore armv7 <2bd608c3f68c2e9cd73212007eaf248d> /System/Library/PrivateFrameworks/IMAVCore.framework/IMAVCore 0x30464000 - 0x30483fff MobileSync armv7 /System/Library/PrivateFrameworks/MobileSync.framework/MobileSync 0x30484000 - 0x304b2fff SystemConfiguration armv7 <2b44ac2fc47fc45c4006d08019688dbb> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration 0x30532000 - 0x30548fff EAP8021X armv7 <4177ec92cd0e2a4a23c79fac68de5c2e> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X 0x3055c000 - 0x3065ffff CoreData armv7 <0abaeddf54d093fa5cf680b0d644d8e9> /System/Library/Frameworks/CoreData.framework/CoreData 0x30665000 - 0x306d3fff ProofReader armv7 <479bd40ac65cb7e6c3000d79d649571f> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader 0x30709000 - 0x307a8fff JavaScriptCore armv7 <894df23ebbc4df713d9519141a61dd19> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore 0x307a9000 - 0x307d2fff IMFoundation armv7 <8e003a136638c28edc7b5333b8166b5a> /System/Library/PrivateFrameworks/IMCore.framework/Frameworks/IMFoundation.framework/IMFoundation 0x307d3000 - 0x307d7fff AssetsLibraryServices armv7 <942a91e5920a8798c1a1cf75f0750b2f> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices 0x307d8000 - 0x30a72fff libLAPACK.dylib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib 0x30a75000 - 0x30b15fff libobjc.A.dylib armv7 <89553a61e05078fd178ac0ea2081ae40> /usr/lib/libobjc.A.dylib 0x30c1b000 - 0x30c54fff MobileCoreServices armv7 /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices 0x30c55000 - 0x30cfefff libxml2.2.dylib armv7 <1d74fa3a5cec309857503a51cb2df667> /usr/lib/libxml2.2.dylib 0x30d01000 - 0x30d06fff MobileKeyBag armv7 /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag 0x30d1a000 - 0x30decfff CoreFoundation armv7 <17c9c36ae8824496b507446869cd4d9d> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x30dfd000 - 0x30e0afff libbsm.0.dylib armv7 <27ad6b3a74ce1068586eabd6a553183f> /usr/lib/libbsm.0.dylib 0x30e31000 - 0x30e3dfff SpringBoardServices armv7 <7624f0a9e197261f2df43edb86ba0256> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices 0x30e3e000 - 0x30e78fff IOKit armv7 <5e0169de165c2fd25a2ddac1f3e19d06> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x30e7c000 - 0x30eadfff CoreLocation armv7 <722c5983f0589013d0243e2512d0dd1b> /System/Library/Frameworks/CoreLocation.framework/CoreLocation 0x30eb5000 - 0x30ebcfff libbz2.1.0.dylib armv7 <5d079712f5a39708647292bccbd4c4e0> /usr/lib/libbz2.1.0.dylib 0x30ebd000 - 0x3140efff WebCore armv7 <859bdd351085819fb4da07d12b41543f> /System/Library/PrivateFrameworks/WebCore.framework/WebCore 0x3158f000 - 0x31594fff BluetoothManager armv7 /System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager 0x31616000 - 0x31616fff Accelerate armv7 /System/Library/Frameworks/Accelerate.framework/Accelerate 0x317ea000 - 0x31820fff Security armv7 <7cea1027f1a381b8d6c5ffae4dae0d22> /System/Library/Frameworks/Security.framework/Security 0x31821000 - 0x318a8fff Message armv7 <32383927596c6b8c0837a5cd4b2bc0d4> /System/Library/PrivateFrameworks/Message.framework/Message 0x318a9000 - 0x318e8fff libGLImage.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib 0x318fa000 - 0x3190afff DataAccessExpress armv7 /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress 0x3191d000 - 0x31a3cfff Foundation armv7 /System/Library/Frameworks/Foundation.framework/Foundation 0x31a3d000 - 0x31a90fff EventKit armv7 <7f18bef514a44edeccc9619b10f4f1c2> /System/Library/Frameworks/EventKit.framework/EventKit 0x31a9a000 - 0x31adcfff CoreTelephony armv7 /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony 0x31af7000 - 0x31b95fff Celestial armv7 <7a01b8d8cd2054d9b0d987bda6c52d9c> /System/Library/PrivateFrameworks/Celestial.framework/Celestial 0x31b96000 - 0x31b9ffff CoreVideo armv7 <58180e899ec56cd8bca00221dea2bc32> /System/Library/Frameworks/CoreVideo.framework/CoreVideo 0x31bb0000 - 0x31bb3fff ActorKit armv7 <9858fda6756fb624164b7b83aefa6701> /System/Library/PrivateFrameworks/ActorKit.framework/ActorKit 0x31bba000 - 0x31bbbfff Marco armv7 <89d4f32ac1cbb0b4f5066308fa5f422a> /System/Library/PrivateFrameworks/Marco.framework/Marco 0x31c95000 - 0x31cd6fff MessageUI armv7 <01029a352fe073ddf5103bad8274f1fe> /System/Library/Frameworks/MessageUI.framework/MessageUI 0x31d07000 - 0x31dadfff WebKit armv7 /System/Library/PrivateFrameworks/WebKit.framework/WebKit 0x31db0000 - 0x31ddefff AppSupport armv7 <2a64271b39599b2180d0dfd3141027ee> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport 0x31ec9000 - 0x31f09fff CoreAudio armv7 <1723726845b73efbeca75b33d75f335a> /System/Library/Frameworks/CoreAudio.framework/CoreAudio 0x320ea000 - 0x321cbfff GameKitServices armv7 <5bfca52ad46cbf5f8ea3888f646f3511> /System/Library/PrivateFrameworks/GameKitServices.framework/GameKitServices 0x321d6000 - 0x321f5fff Conference armv7 /System/Library/PrivateFrameworks/Conference.framework/Conference 0x321f6000 - 0x32220fff libtidy.A.dylib armv7 <25fba468c726d1a59aa109a5a76631f5> /usr/lib/libtidy.A.dylib 0x32221000 - 0x32250fff CoreText armv7 <76eb1b63d684c3d21dba9e8129666d2f> /System/Library/Frameworks/CoreText.framework/CoreText 0x32275000 - 0x32304fff AddressBookUI armv7 <7748fd02215f7d77eae9191cba201b97> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI 0x32305000 - 0x3234ffff libstdc++.6.dylib armv7 /usr/lib/libstdc++.6.dylib 0x3238b000 - 0x32433fff QuartzCore armv7 <109b4f6a3d2ee5aa1bb5775ab5a489bc> /System/Library/Frameworks/QuartzCore.framework/QuartzCore 0x3245e000 - 0x3248dfff QuickLook armv7 <78442b5e66e7845f89afcc02b6982ef2> /System/Library/Frameworks/QuickLook.framework/QuickLook 0x3248f000 - 0x324f2fff AVFoundation armv7 <39ad1d85ae4627ed77de7751e8a3b4ec> /System/Library/Frameworks/AVFoundation.framework/AVFoundation 0x32536000 - 0x3265afff AudioToolbox armv7 <802e4d5c449b69d9552809e5230baa84> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox 0x3265b000 - 0x3266afff MobileDeviceLink armv7 <575a1afc08ed55608075204df14cc5f5> /System/Library/PrivateFrameworks/MobileDeviceLink.framework/MobileDeviceLink 0x32939000 - 0x3293bfff libAccessibility.dylib armv7 <06dd6032c40b1feb094d63eeb2002d6d> /usr/lib/libAccessibility.dylib 0x3293c000 - 0x32985fff GMM armv7 <9c4efdff49ea9e6a17b5d44bcd98b6c1> /System/Library/PrivateFrameworks/GMM.framework/GMM 0x3298c000 - 0x3299cfff TelephonyUI armv7 /System/Library/PrivateFrameworks/TelephonyUI.framework/TelephonyUI 0x3299d000 - 0x329a6fff AccountSettings armv7 /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings 0x329bb000 - 0x329c3fff MobileBluetooth armv7 <0bd0c65f4350b5d81f81449fae029a04> /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth 0x329c4000 - 0x329cafff liblockdown.dylib armv7 /usr/lib/liblockdown.dylib 0x329cb000 - 0x32a58fff ImageIO armv7 /System/Library/Frameworks/ImageIO.framework/ImageIO 0x32a59000 - 0x32a78fff Bom armv7 /System/Library/PrivateFrameworks/Bom.framework/Bom 0x32a79000 - 0x32ab9fff ManagedConfiguration armv7 <94f3f69708e8f008b3f092430f46e4b6> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration 0x32aba000 - 0x32ac8fff Notes armv7 <56a4dfe587cf5b965edbd6c390ccbf24> /System/Library/PrivateFrameworks/Notes.framework/Notes 0x32b34000 - 0x32c56fff MediaToolbox armv7 /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox 0x32c5d000 - 0x32c5ffff MobileInstallation armv7 <74e2bd725da63513053b4fa41d8cd89c> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation 0x32fab000 - 0x32fb4fff WebBookmarks armv7 <3b3f590d3bd1fdf29a14769cbe8dc933> /System/Library/PrivateFrameworks/WebBookmarks.framework/WebBookmarks 0x32fcb000 - 0x33009fff libvDSP.dylib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib 0x33061000 - 0x330a9fff libBLAS.dylib armv7 <3b4a2849c10d100a178a3c2d9f6af523> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib 0x330aa000 - 0x330adfff ApplePushService armv7 <0477bf826cbba75183069e1e80879a99> /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService 0x330af000 - 0x34259fff UIKit armv7 <5bce9024bb5d8754f4477723c84cf3d1> /System/Library/Frameworks/UIKit.framework/UIKit 0x3425c000 - 0x34265fff ITSync armv7 /System/Library/PrivateFrameworks/ITSync.framework/ITSync 0x34266000 - 0x34266fff vecLib armv7 <85f89752df7814c1b243c26f59388523> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib 0x3429d000 - 0x3429ffff IOMobileFramebuffer armv7 <1fdf9182a63464743901526caf39240a> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer 0x342a0000 - 0x342a3fff libMobileGestalt.dylib armv7 <85f01f53a7455a34fbdedc76bd692d74> /usr/lib/libMobileGestalt.dylib 0x342d4000 - 0x343f2fff CoreGraphics armv7 <4022bbf12f11dd1f6b75662c764e7f7c> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics 0x3444d000 - 0x34480fff iCalendar armv7 /System/Library/PrivateFrameworks/iCalendar.framework/iCalendar 0x34497000 - 0x344dcfff IMCore armv7 /System/Library/PrivateFrameworks/IMCore.framework/IMCore 0x344e1000 - 0x344e4fff libGFXShared.dylib armv7 <12f82e44ff36b29f8d0661878be83554> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib 0x345c4000 - 0x346d1fff libSystem.B.dylib armv7 <95600851b7aca75450d596a93c51d858> /usr/lib/libSystem.B.dylib 0x348de000 - 0x348ebfff OpenGLES armv7 /System/Library/Frameworks/OpenGLES.framework/OpenGLES 0x348fd000 - 0x349bffff CFNetwork armv7 <9fdd61632fd1b48d65daba561528946f> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x34acc000 - 0x34ad4fff libkxld.dylib armv7 <4ec35c4d1e1e73416aea84537829ce91> /usr/lib/system/libkxld.dylib 0x34ba0000 - 0x34ddefff ProtocolBuffer armv7 <83f1b1c1956ed14bf6f6c7923ee9f2fc> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer 0x34df2000 - 0x34df3fff DataMigration armv7 <2a90bcfdd519f8d7d3487151c77443ed> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration 0x34df4000 - 0x34e1efff DataAccess armv7 <45bf80615cbfaab4d2e29cb923723424> /System/Library/PrivateFrameworks/DataAccess.framework/DataAccess 0x34f22000 - 0x34f54fff AddressBook armv7 <3dde743216bbf016019b59f821dda6e3> /System/Library/Frameworks/AddressBook.framework/AddressBook 0x34f55000 - 0x34f66fff PersistentConnection armv7 <5e827d18f317b5ce7c61c91656ebc88e> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection 0x3500e000 - 0x3503dfff VideoToolbox armv7 <4c4faee61a6e7d80d6d3a58194075642> /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox 0x3504d000 - 0x3504ffff CrashReporterSupport armv7 /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport 0x35073000 - 0x3518cfff libicucore.A.dylib armv7 /usr/lib/libicucore.A.dylib 0x35215000 - 0x35218fff CertUI armv7 /System/Library/PrivateFrameworks/CertUI.framework/CertUI 0x35238000 - 0x35243fff libz.1.dylib armv7 <19a78978d5908bedc6496470fe542936> /usr/lib/libz.1.dylib 0x35244000 - 0x3532cfff libGLProgrammability.dylib armv7 <9bcf5fe3e7abc344425e581ff2896579> /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib 0x35332000 - 0x3536cfff CoreMedia armv7 <6df383495d1acd2b036ad674a29d75c1> /System/Library/Frameworks/CoreMedia.framework/CoreMedia

+1  A: 

Do you see this crash, or are you getting this crash log back from Apple from a store submission or user crash logs?

It may be related to weak linking. If you are using LLVM to compile, try switching back to GCC 4.2. Also look on the Apple Developer Forums for 0x8badf00d, there are other people with this issue.

Note this crash occurs before your code is ever called - this is NOT an issue you can fix via code, only compile settings and even then is really an Apple bug. It's even called before your first NIB is loaded, or else you would see NIB unarchiving calls in the stack trace.

The actual error is that your app is not launching in time, but that's because it hangs before it ever reaches your code.

Kendall Helmstetter Gelner
I never see it crash, Apple sends me the crash logs and is telling me that it crashes on iPhone 3GS but works fine on their iPod Touch (and on my iPod Touch).I am currently using GCC 4.2 to compile.Are you sure it's not because of my code?? That sounds like good news (easier to fix, maybe?).
Adam
I dont know if this is related or not but all of my frameworks are RED. Doesnt this mean that theyre missing? What gives?
Adam
The frameworks being red is OK, as long as it works when you run it on the device.The code not being a problem is actually kind of bad news, since there's no code fix you can do to fix this.How about selecting Armv6 only for architectures, do a clean build and then re-submit.
Kendall Helmstetter Gelner
A: 

I'm experiencing the same issue. However, my app was approved by Apple and I've been receiving reports from users that it stopped working! I bought my own app from the App Store, and sure it enough, it just shows the default image for 10 seconds then the OS kills it. Crash report shows very little CPU usage, just like yours. But if I compile and run it myself, it works just fine.

I tried everything I could to reproduce the issue, but I'm out of ideas. So I just built a clean copy and submitted it again. Crossing my fingers and hoping this one works...

Funny thing is, I have several applications that are compiled from exactly the same code but with different content, and the others work just fine.

Brian