Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XcodeNewb

macrumors member
Original poster
Feb 6, 2009
79
0
Apple rejected my app today saying it crashes on launch for OS 2.2.1

It runs fine in the Simulator and on my iPhone both using 2.2.1 OS.

They sent me a crash report. Can anyone make heads or tails of it?

Thanks

Code:
Incident Identifier: 68EE45B7-C2BD-4CB0-96F2-D828AC390406
CrashReporter Key:   4c99532a76150c15795c4d7690ef855ec9705ea5
Process:         My App [1225]
Path:            /var/mobile/Applications/A9704E3D-DC32-4804-90AA-765DE6F120E9/My App.app/My App
Identifier:      My App
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2009-04-23 11:33:38.072 +0100
OS Version:      iPhone OS 2.2.1 (5H11)
Report Version:  103

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x3145dc58 0x313fa000 + 408664
1   libSystem.B.dylib             	0x3145dc46 0x313fa000 + 408646
2   libSystem.B.dylib             	0x3145dc3a 0x313fa000 + 408634
3   libSystem.B.dylib             	0x31478424 0x313fa000 + 517156
4   libstdc++.6.dylib             	0x30075b3c 0x3000c000 + 432956
5   libobjc.A.dylib               	0x300c20f8 0x300bb000 + 28920
6   libstdc++.6.dylib             	0x300730d0 0x3000c000 + 422096
7   libstdc++.6.dylib             	0x300731d8 0x3000c000 + 422360
8   libobjc.A.dylib               	0x300c1f84 0x300bb000 + 28548
9   CoreFoundation                	0x302c883e 0x30237000 + 596030
10  CoreFoundation                	0x30287222 0x30237000 + 328226
11  CoreFoundation                	0x3026d618 0x30237000 + 222744
12  My App              	0x00003ac2 0x1000 + 10946
13  UIKit                         	0x30a930b0 0x30a45000 + 319664
14  UIKit                         	0x30a93580 0x30a45000 + 320896
15  UIKit                         	0x30aa6968 0x30a45000 + 399720
16  UIKit                         	0x30a99f5c 0x30a45000 + 347996
17  UIKit                         	0x30a73bd4 0x30a45000 + 191444
18  QuartzCore                    	0x31dd60e8 0x31dcd000 + 37096
19  QuartzCore                    	0x31dd5ff8 0x31dcd000 + 36856
20  QuartzCore                    	0x31dd576c 0x31dcd000 + 34668
21  QuartzCore                    	0x31dd5434 0x31dcd000 + 33844
22  CoreFoundation                	0x3026a0e6 0x30237000 + 209126
23  CoreFoundation                	0x3026991a 0x30237000 + 207130
24  CoreFoundation                	0x30269320 0x30237000 + 205600
25  GraphicsServices              	0x31567e58 0x31564000 + 15960
26  UIKit                         	0x30a4fa6c 0x30a45000 + 43628
27  UIKit                         	0x30a591d0 0x30a45000 + 82384
28  My App              	0x000020b6 0x1000 + 4278
29  My App              	0x0000202c 0x1000 + 4140

Thread 1:
0   libSystem.B.dylib             	0x3146baa4 0x313fa000 + 465572
1   libSystem.B.dylib             	0x31468b70 0x313fa000 + 453488
2   CoreFoundation                	0x30269748 0x30237000 + 206664
3   CoreFoundation                	0x30269320 0x30237000 + 205600
4   WebCore                       	0x32bc0740 0x325ec000 + 6113088
5   libSystem.B.dylib             	0x31461786 0x313fa000 + 423814

Thread 2:
0   libSystem.B.dylib             	0x3146baa4 0x313fa000 + 465572
1   libSystem.B.dylib             	0x31468b70 0x313fa000 + 453488
2   GraphicsServices              	0x3156aca8 0x31564000 + 27816
3   libSystem.B.dylib             	0x31461786 0x313fa000 + 423814

Thread 0 crashed with ARM Thread State:
    r0: 0x00000000    r1: 0x00000000      r2: 0x00000001      r3: 0x393feb24
    r4: 0x00000006    r5: 0x2fffdebc      r6: 0x3867c92c      r7: 0x2fffdecc
    r8: 0x3823f418    r9: 0x394346d0     r10: 0x0000a130     r11: 0x00101290
    ip: 0x00000025    sp: 0x2fffdecc      lr: 0x3145dc4d      pc: 0x3145dc58
  cpsr: 0x00000010

Binary Images:
    0x1000 -     0xbfff +My App ??? (???) <c5c66cd90e3d930b4dbbee46865feb17> /var/mobile/Applications/A9704E3D-DC32-4804-90AA-765DE6F120E9/My App.app/My App
   0xab000 -    0xacfff  dns.so ??? (???) <7e54f40c0e9e0860314e49c290b340a3> /usr/lib/info/dns.so
0x2fe00000 - 0x2fe22fff  dyld ??? (???) <f6a50d5f57a676b54276d0ecef46d5f0> /usr/lib/dyld
0x30000000 - 0x30008fff  libgcc_s.1.dylib ??? (???) <2c68d752c35e553ce4944253c3e7aa02> /usr/lib/libgcc_s.1.dylib
0x3000c000 - 0x30079fff  libstdc++.6.dylib ??? (???) <810ba7a889418c2fa42c2d82676249be> /usr/lib/libstdc++.6.dylib
0x300bb000 - 0x301a8fff  libobjc.A.dylib ??? (???) <9b4b6a1caf13c2adfb8d235e76ec0618> /usr/lib/libobjc.A.dylib
0x301f9000 - 0x30200fff  libbsm.dylib ??? (???) <f07f6291583d6e883f529b925f767cf6> /usr/lib/libbsm.dylib
0x30204000 - 0x30212fff  libz.1.dylib ??? (???) <b590559dfa798361013a0f6e31018df7> /usr/lib/libz.1.dylib
0x30237000 - 0x302ddfff  CoreFoundation ??? (???) <e461335556641a9049d6e12c53ffc13a> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x303a1000 - 0x30430fff  libsqlite3.0.dylib ??? (???) <693269a3109bff32213a75a815e6cfe4> /usr/lib/libsqlite3.0.dylib
0x3066c000 - 0x3073ffff  Foundation ??? (???) <2f0bb76cfade98f2e82f6ca281bca713> /System/Library/Frameworks/Foundation.framework/Foundation
0x3085c000 - 0x30866fff  CoreVideo ??? (???) <b6f9991ce47441fc89d4badec7f3c4e6> /System/Library/PrivateFrameworks/CoreVideo.framework/CoreVideo
0x30875000 - 0x30884fff  AppSupport ??? (???) <db82c3fc166570ea397ee1a3db682d55> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x30891000 - 0x30896fff  liblockdown.dylib ??? (???) <31770f505dbc8e7f93165b075313dd93> /usr/lib/liblockdown.dylib
0x30a45000 - 0x30cc7fff  UIKit ??? (???) <9d01f1e817aeeb32a7baa24dce8dcddf> /System/Library/Frameworks/UIKit.framework/UIKit
0x30f53000 - 0x30fd5fff  com.apple.framework.IOKit 1.5.1 (???) <20aeee7efe340c9d7b2acc82221bb923> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x30ff3000 - 0x311a4fff  com.apple.CoreGraphics 1.359.13 (???) <62747319453a181e5b507100afe3dac2> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x311f3000 - 0x31242fff  CFNetwork ??? (???) <c99a3a401edecf543a6814982376fdea> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x31270000 - 0x312a6fff  OpenGLES ??? (???) <d93585c3ba5bc619845e0cbb931b2b82> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x312b2000 - 0x3137afff  JavaScriptCore ??? (???) <03567ce85a6b3f826de52833e35da633> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x313fa000 - 0x31521fff  libSystem.B.dylib ??? (???) <0fc9fef437491a94d875daf247f36fbc> /usr/lib/libSystem.B.dylib
0x31564000 - 0x3156ffff  GraphicsServices ??? (???) <02da76f5933f98481eee4e3f1b4b1c10> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x3158b000 - 0x315c0fff  Security ??? (???) <7c0b94dedc0363335b62de411a4c53c0> /System/Library/Frameworks/Security.framework/Security
0x315d9000 - 0x31686fff  ImageIO ??? (???) <b85f0939025af03f5b006fe3cdbae76b> /System/Library/PrivateFrameworks/ImageIO.framework/ImageIO
0x31822000 - 0x3184ffff  SystemConfiguration ??? (???) <b673ff214ecb18f48ab3809c68b9f82c> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x31946000 - 0x319b6fff  CoreAudio ??? (???) <66c5fd8f095c2e6c399240959674756e> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x31ad4000 - 0x31aeefff  AddressBook ??? (???) <87f470763ba528f47d58f7e9486dfc42> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x31bcd000 - 0x31bd2fff  MBX2D ??? (???) <0f0d56c6fde0670732a89cc3166bbced> /System/Library/PrivateFrameworks/MBX2D.framework/MBX2D
0x31bd6000 - 0x31bd7fff  MBXConnect ??? (???) <5cb05b6860d3e5d31e2907344c60ddbc> /System/Library/PrivateFrameworks/MBXConnect.framework/MBXConnect
0x31dcd000 - 0x31e4cfff  QuartzCore ??? (???) <cb1aa94a3175bc326223fa7551b4d47c> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x31e85000 - 0x31e87fff  CoreSurface ??? (???) <6aabe16c45a9ac9ec358efcb8e74ee2b> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x31e8c000 - 0x31e8dfff  IOMobileFramebuffer ??? (???) <2622d9270459e18635ac3b9abe184249> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x3213e000 - 0x32223fff  libicucore.A.dylib ??? (???) <ae540de6fb39ea79d564dded1607e1ae> /usr/lib/libicucore.A.dylib
0x32409000 - 0x324dafff  libxml2.2.dylib ??? (???) <8784b9ffec64404a6a26fefe67ba45bd> /usr/lib/libxml2.2.dylib
0x325ec000 - 0x32c89fff  WebCore ??? (???) <5ddaa2736116d1f8fae09e113b64037b> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x32fcb000 - 0x33051fff  WebKit ??? (???) <5cba5d32b2f5de0b72384b14f13df575> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x33404000 - 0x33442fff  libCGFreetype.A.dylib ??? (???) <adbae889ac28b4d42297bcf951c9ae2e> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x33d10000 - 0x33d16fff  SpringBoardServices ??? (???) <dffc7baf9374e6ccc3dc75bfa4294ae1> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x344ec000 - 0x34509fff  libresolv.9.dylib ??? (???) <d2cf3f40b8297909dcfd2ee83326af8c> /usr/lib/libresolv.9.dylib
0x34884000 - 0x3499dfff  AudioToolbox ??? (???) <176bbb6b69d15cf4262fe5de5874eba3> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
 
I had a rejection for crashes once, didn't crash at all on any of my devices. I just rebuilt and resubmitted and 3 days later it was accepted. Didn't change a single line of code.
 
Very nice to hear :)

Try doing a clean all targets, recompile and resubmit.... You may have a bad .o file somewhere. Also make sure you test from a clean install where you have deleted the app off the simulator and or device. I have run into crashes where I access a default value that I forgot to set an initial value for.
 
Exception Type: EXC_CRASH (SIGABRT)

A SIGABRT most likely means an assertion failure somewhere, so have a look to see if any might be fired in edge cases.

If you have the .dSYM that was generated when you built the submitted app you can use it with this log to construct a stack trace.
 
Crash on return

Hi I have the same problem. I got the crash log from a user and the location where the crash occur is on the return of a method:

return datePicker;

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0

It's the only user reporting this and he can always reproduce it. All the others are fine with the app.
 
We're going to need a lot more than that single line of code if you want any help from us...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.