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

happybob

macrumors newbie
Original poster
Apr 18, 2009
17
0
Hi, all apples rejected one of my apps for crashes though it works fine on 2.2.1 phones and touches. Also I've tested it on the 3.0 simulator and no problem (there were a few depreciated warnings related to font size which I fixed). Here's the crash log file they sent me, if anyone could give me a clue I'd really appreciate it. Thanks.

I use AVAudioPlayer and the Accelerometer. They said the error is when the app switches views from the game to the applications menu. The thing is that I've used the exact same view switching scheme in another app and had no problems.

Code:
Date/Time:       2009-05-28 10:50:22.444 -0700
OS Version:      iPhone OS 3.0 (7A312g)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000012
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib               	0x30011940 0x3000c000 + 22848
1   UIKit                         	0x30b0e7d4 0x308ed000 + 2234324
2   UIKit                         	0x30938034 0x308ed000 + 307252
3   UIKit                         	0x30936a58 0x308ed000 + 301656
4   UIKit                         	0x309365e4 0x308ed000 + 300516
5   GraphicsServices              	0x32050964 0x3204b000 + 22884
6   CoreFoundation                	0x30254a70 0x301fd000 + 359024
7   CoreFoundation                	0x30254164 0x301fd000 + 356708
8   GraphicsServices              	0x3204f29c 0x3204b000 + 17052
9   UIKit                         	0x308f0014 0x308ed000 + 12308
10  UIKit                         	0x308ee72c 0x308ed000 + 5932
11  App                      	0x00008124 0x1000 + 28964
12  App                      	0x0000202c 0x1000 + 4140

Thread 1:
0   libSystem.B.dylib             	0x31d41158 0x31d40000 + 4440
1   libSystem.B.dylib             	0x31d43ed8 0x31d40000 + 16088
2   CoreFoundation                	0x3025454e 0x301fd000 + 357710
3   CoreFoundation                	0x30254164 0x301fd000 + 356708
4   WebCore                       	0x3588b2cc 0x35809000 + 533196
5   libSystem.B.dylib             	0x31d6a5a0 0x31d40000 + 173472

Thread 2:
0   libSystem.B.dylib             	0x31d41158 0x31d40000 + 4440
1   libSystem.B.dylib             	0x31d43ed8 0x31d40000 + 16088
2   CoreFoundation                	0x3025454e 0x301fd000 + 357710
3   CoreFoundation                	0x3020d258 0x301fd000 + 66136
4   AudioCodecs                   	0x33451cd8 0x33446000 + 48344
5   AudioCodecs                   	0x3348bca4 0x33446000 + 285860
6   libSystem.B.dylib             	0x31d6a5a0 0x31d40000 + 173472

Thread 0 crashed with ARM Thread State:
    r0: 0x00149bb0    r1: 0x30113444      r2: 0x001565d0      r3: 0x0014a500
    r4: 0x0000000a    r5: 0x001565d0      r6: 0x00000017      r7: 0x2fffee68
    r8: 0x00117f00    r9: 0x001fc098     r10: 0x00000000     r11: 0xbfabd200
    ip: 0x388ed9f0    sp: 0x2fffee48      lr: 0x30b0e7dc      pc: 0x30011940
  cpsr: 0x000f0010

Binary Images:
    0x1000 -     0xafff +App armv6  <> /var/mobile/Applications/1CBEF3BD-EA5C-4369-B6A2-F957C53BDAB3/App.app/App
   0xef000 -    0xf0fff  dns.so armv6  <> /usr/lib/info/dns.so
0x2fe00000 - 0x2fe26fff  dyld armv6  <> /usr/lib/dyld
0x30000000 - 0x30008fff  libgcc_s.1.dylib armv6  <> /usr/lib/libgcc_s.1.dylib
0x3000c000 - 0x3015bfff  libobjc.A.dylib armv6  < > /usr/lib/libobjc.A.dylib
0x301ca000 - 0x301d8fff  libz.1.dylib armv6  < > /usr/lib/libz.1.dylib
0x301fd000 - 0x302a8fff  CoreFoundation armv6  <> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x30501000 - 0x305f5fff  Foundation armv6  <> /System/Library/Frameworks/Foundation.framework/Foundation
0x3071d000 - 0x30729fff  CoreVideo armv6  <> /System/Library/PrivateFrameworks/CoreVideo.framework/CoreVideo
0x3073a000 - 0x30760fff  AppSupport armv6  <> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x30778000 - 0x3077dfff  liblockdown.dylib armv6  < > /usr/lib/liblockdown.dylib
0x308ed000 - 0x31520fff  UIKit armv6  <> /System/Library/Frameworks/UIKit.framework/UIKit
0x31884000 - 0x318d0fff  IOKit armv6  <> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x318e8000 - 0x31aa1fff  CoreGraphics armv6  <> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x31af0000 - 0x31b57fff  CFNetwork armv6  < > /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x31bb1000 - 0x31bc6fff  OpenGLES armv6  <> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x31bcc000 - 0x31cc6fff  JavaScriptCore armv6  <> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x31d40000 - 0x31e63fff  libSystem.B.dylib armv6  <> /usr/lib/libSystem.B.dylib
0x31ea3000 - 0x31ff8fff  AudioToolbox armv6  <> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x3204b000 - 0x32055fff  GraphicsServices armv6  <> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x320a4000 - 0x320d7fff  Security armv6  <> /System/Library/Frameworks/Security.framework/Security
0x320f1000 - 0x3219dfff  ImageIO armv6  <> /System/Library/PrivateFrameworks/ImageIO.framework/ImageIO
0x32372000 - 0x323a5fff  SystemConfiguration armv6  <> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x324cd000 - 0x32528fff  CoreAudio armv6  <> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x325b9000 - 0x325d5fff  AddressBook armv6  <> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x32922000 - 0x329c6fff  QuartzCore armv6  <> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x32a17000 - 0x32a17fff  CoreSurface armv6  <> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x32a1c000 - 0x32a1dfff  IOMobileFramebuffer armv6  <> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x32e0b000 - 0x32f0cfff  libicucore.A.dylib armv6  <> /usr/lib/libicucore.A.dylib
0x3311d000 - 0x33212fff  libxml2.2.dylib armv6  <> /usr/lib/libxml2.2.dylib
0x332c8000 - 0x33371fff  WebKit armv6  <> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x33446000 - 0x33563fff  AudioCodecs armv6  <> /System/Library/Frameworks/AudioToolbox.framework/AudioCodecs
0x3384d000 - 0x3388afff  libCGFreetype.A.dylib armv6  <> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x34127000 - 0x34149fff  libRIP.A.dylib armv6  <> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x34158000 - 0x34161fff  SpringBoardServices armv6  <> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x347f2000 - 0x3480ffff  libresolv.9.dylib armv6  <> /usr/lib/libresolv.9.dylib
0x34c0c000 - 0x34c12fff  MBX2D armv6  <> /System/Library/PrivateFrameworks/MBX2D.framework/MBX2D
0x3553c000 - 0x35579fff  CoreText armv6  <> /System/Library/PrivateFrameworks/CoreText.framework/CoreText
0x355b8000 - 0x355bffff  AVFoundation armv6  <> /System/Library/Frameworks/AVFoundation.framework/AVFoundation
0x355c6000 - 0x355cafff  IOSurface armv6  <> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x35809000 - 0x35f57fff  WebCore armv6  <> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x3641f000 - 0x36479fff  libsqlite3.dylib armv6  <> /usr/lib/libsqlite3.dylib
0x36487000 - 0x36490fff  libkxld.dylib armv6  <> /usr/lib/system/libkxld.dylib
0x36493000 - 0x364a3fff  libbsm.0.dylib armv6  <> /usr/lib/libbsm.0.dylib
0x3711f000 - 0x37129fff  MobileCoreServices armv6  <> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x37492000 - 0x374fbfff  libstdc++.6.dylib armv6  < > /usr/lib/libstdc++.6.dylib
0x37c7c000 - 0x37c7cfff  Accelerate armv6  <> /System/Library/PrivateFrameworks/Accelerate.framework/Accelerate
0x37cd0000 - 0x37d13fff  libvDSP.dylib armv6  <> /System/Library/PrivateFrameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x37d1a000 - 0x37d1afff  vecLib armv6  <> /System/Library/PrivateFrameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
 
Really your best option is to update a device to 3.0. The simulator does just that, simulates and doesn't behave exactly the same.

Is there some reason you don't want to update?
 
Yah, only have one of each to test on, so if they go bad I'm screwed.
 
I can test it for you if you want but without the source I can't debug. Best bet is to get a touch like suggested or upgrade your phone. Mine is always upgrade to the latest all though it has bitten me in the ass with releasing apps for <= 3.0
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.