在iPhone上崩溃?

时间:2011-05-17 14:18:08

标签: iphone crash

任何人都可以通过查看以下iPhone设备崩溃日志来帮助解决任何提示为什么应用程序在启动时会崩溃?

注意:应用程序崩溃并非所有时间只发布应用程序启动次数的50%。 欢迎任何建议。提前谢谢。

Date/Time:       2011-03-21 19:15:21.363 +0000

OS Version:      iPhone OS 4.2.1 (8C148)

Report Version:  104


Exception Type:  EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x736f485b

Crashed Thread:  0

Thread 0 Crashed:

0   libobjc.A.dylib                 0x00003f24 objc_msgSend + 24

1   UIKit                           0x0002ff18 -[UIApplication sendAction:to:from:forEvent:] + 128

2   UIKit                           0x000ff538 -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 128

3   CoreFoundation                  0x00049a3c -[NSObject(NSObject) performSelector:withObject:withObject:] + 20

4   UIKit                           0x0015d968 -[UIApplication sendAction:fromSender:toTarget:forEvent:] + 132

5   UIKit                           0x0019a1dc -[UIControl(Deprecated) sendAction:toTarget:forEvent:] + 48

6   UIKit                           0x000e6a68 -[UIControl(Internal) _sendActionsForEventMask:withEvent:] + 520

7   UIKit                           0x0019af68 -[UIControl mouseUp:] + 500

8   UIKit                           0x00171fbc -[UIView(Internal) _mouseUp:] + 52

9   UIKit                           0x0016cb8c -[UIWindow _handleMouseUp:] + 164

10  UIKit                           0x0016d144 -[UIWindow _statusBarMouseUp:] + 184

11  UIKit                           0x0035e768 -[UIStatusBar touchesEnded:withEvent:] + 436

12  CoreFoundation                  0x00049a3c -[NSObject(NSObject) performSelector:withObject:withObject:] + 20

13  UIKit                           0x00030160 forwardMethod2 + 72

14  UIKit                           0x00021ea8 -[UIWindow _sendTouchesForEvent:] + 580

15  UIKit                           0x000214dc -[UIWindow sendEvent:] + 388

16  UIKit                           0x00004c94 -[UIApplication sendEvent:] + 444

17  UIKit                           0x000043ac _UIApplicationHandleEvent + 6816

18  GraphicsServices                0x00005c80 PurpleEventCallback + 1040

19  CoreFoundation                  0x000365c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 22

20  CoreFoundation                  0x00036582 __CFRunLoopDoSource1 + 158

21  CoreFoundation                  0x0002882e __CFRunLoopRun + 574

22  CoreFoundation                  0x00028504 CFRunLoopRunSpecific + 220

23  CoreFoundation                  0x00028412 CFRunLoopRunInMode + 54

24  GraphicsServices                0x00004d1c GSEventRunModal + 188

25  UIKit                           0x0004a574 -[UIApplication _run] + 580

26  UIKit                           0x00047550 UIApplicationMain + 964

27  checkmate                       0x00002bbe main + 74

28  checkmate                       0x00002b34 start + 44

2 个答案:

答案 0 :(得分:0)

您尝试访问未分配的对象。粘贴应用崩溃的行。

答案 1 :(得分:0)

你可能过度释放了一个物体。激活NSZombies以找出哪个。见How do I set up NSZombieEnabled in Xcode 4?