Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
209 views
in Technique[技术] by (71.8m points)

Crash on iPhone?

Can anyone help with any hints by looking into following iPhone device crash log why is the app is getting crashed at the startup itself?

Note: App crashes not all time it does only 50% times of app launch. Any suggestion are welcome. Thanks in advance.

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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You try to access an object that is not allocated. Paste the lines where app crashes.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...