2012-07-15 62 views
0

这是我从iTunesConnect网站下载的一个崩溃日志。iPhone崩溃日志以及如何理解它

Incident Identifier: 20D5CB0F-58BE-41E5-B3F6-9BC8091E518C 
Hardware Model:  iPhone4,1 
Process:   iPill [2006] 
Path:   /var/mobile/Applications/4567191D-1013-40F3-A02A-0B3C2552FCD3/iPill.app/iPill 
Identifier:  iPill 
Version:   ??? (???) 
Code Type:  ARM (Native) 
Parent Process: launchd [1] 

Date/Time:  2012-07-12 20:59:23.716 +0200 
OS Version:  iPhone OS 5.1.1 (9B206) 
Report Version: 104 

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

Last Exception Backtrace: 
0 CoreFoundation     0x3558688f __exceptionPreprocess + 163 
1 libobjc.A.dylib     0x3792d259 objc_exception_throw + 33 
2 CoreFoundation     0x354cf9db -[__NSArrayM objectAtIndex:] + 271 
3 iPill       0x0008225b -[ProssimeDosi tableView:cellForRowAtIndexPath:] (ProssimeDosi.m:314) 
4 UIKit       0x3301aefb -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 547 
5 UIKit       0x33019fd9 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1077 
6 UIKit       0x33019763 -[UITableView layoutSubviews] + 207 
7 UIKit       0x32fbdf37 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 183 
8 CoreFoundation     0x354e51fb -[NSObject performSelector:withObject:] + 43 
9 QuartzCore      0x323b5aa5 -[CALayer layoutSublayers] + 217 
10 QuartzCore      0x323b56bd CA::Layer::layout_if_needed(CA::Transaction*) + 217 
11 QuartzCore      0x323b9843 CA::Context::commit_transaction(CA::Transaction*) + 227 
12 QuartzCore      0x323b957f CA::Transaction::commit() + 315 
13 QuartzCore      0x323b14b9 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 57 
14 CoreFoundation     0x3555ab1b __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 19 
15 CoreFoundation     0x35558d57 __CFRunLoopDoObservers + 259 
16 CoreFoundation     0x355590b1 __CFRunLoopRun + 761 
17 CoreFoundation     0x354dc4a5 CFRunLoopRunSpecific + 301 
18 CoreFoundation     0x354dc36d CFRunLoopRunInMode + 105 
19 GraphicsServices    0x37178439 GSEventRunModal + 137 
20 UIKit       0x32fe8cd5 UIApplicationMain + 1081 
21 iPill       0x000799b7 main (main.m:16) 
22 iPill       0x0007996c 0x78000 + 6508 


Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 libsystem_kernel.dylib   0x35e3c32c __pthread_kill + 8 
1 libsystem_c.dylib    0x32988208 pthread_kill + 48 
2 libsystem_c.dylib    0x32981298 abort + 88 
3 libc++abi.dylib     0x3593ef64 abort_message + 40 
4 libc++abi.dylib     0x3593c346 _ZL17default_terminatev + 18 
5 libobjc.A.dylib     0x3792d350 _objc_terminate + 140 
6 libc++abi.dylib     0x3593c3be _ZL19safe_handler_callerPFvvE + 70 
7 libc++abi.dylib     0x3593c44a std::terminate() + 14 
8 libc++abi.dylib     0x3593d81e __cxa_rethrow + 82 
9 libobjc.A.dylib     0x3792d2a2 objc_exception_rethrow + 6 
10 CoreFoundation     0x354dc506 CFRunLoopRunSpecific + 398 
11 CoreFoundation     0x354dc366 CFRunLoopRunInMode + 98 
12 GraphicsServices    0x37178432 GSEventRunModal + 130 
13 UIKit       0x32fe8cce UIApplicationMain + 1074 
14 iPill       0x000799b0 main (main.m:16) 
15 iPill       0x00079964 0x78000 + 6500 

我粘贴了只有线程0,因为它似乎是坠毁的。 这对我来说都是新的,我不知道如何解释这个日志并解决问题。 我已经在我的iPhone 4和4s以及我的朋友的3GS上测试过我的应用程序,我们没有看到任何崩溃。 现在我收到了一些人称iPill崩溃了很多的1星评论。 任何帮助将非常感激。 谢谢。

回答

1

我想说,开始在你的表cellForRowAtIndexpath方法。 我猜测你的数据模型存在问题,并且它是从空数组中调用数据的。

+0

我明白了。现在的问题是我无法复制这个问题。我试图用该tableview做所有类型的事情,但我无法让我的手机崩溃。在这些情况下该怎么办? – Aleph72 2012-07-15 23:51:43

+0

发布代码,有人可能会发现错误。 – Darren 2012-07-16 07:19:53

+0

好的。我对代码做了一些更改。我正在回答这个问题。如果我的应用程序再次崩溃,我会问另一个问题。谢谢。 – Aleph72 2012-07-16 08:43:56