1

我在我的应用程序中发现了几个奇怪的崩溃问题,这是它的详细信息

Incident Identifier: 9ECA0354-F69F-4562-A9FC-4904319BFC72
CrashReporter Key:   7e75d7f19d6ccbb07328f3b3317626187ecbc9bb
Hardware Model:      iPod5,1
Process:        myApp [1760]
Path:            /var/mobile/Applications/7E5B3CA8-81BA-4F6A-A2A8-1B8F4060A037/myApp.app/myApp
Identifier:      myApp
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2013-09-24 11:33:16.513 +0530
OS Version:      iOS 6.1.3 (10B329)
Report Version:  104

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

Last Exception Backtrace:
0   CoreFoundation                  0x342c229e __exceptionPreprocess + 158
1   libobjc.A.dylib                 0x3bfa697a objc_exception_throw + 26
2   CoreFoundation                  0x342c1d80 __NSFastEnumerationMutationHandler + 124
3   Foundation                      0x34b62504 -[NSConcreteMapTable countByEnumeratingWithState:objects:count:] + 52
4   CoreFoundation                  0x3424ad34 -[__NSFastEnumerationEnumerator nextObject] + 128
5   CoreFoundation                  0x3421df0c -[NSEnumerator countByEnumeratingWithState:objects:count:] + 44
6   Foundation                      0x34c7208e -[NSISEngine enumerateRows:] + 210
7   Foundation                      0x34c77fda -[NSISEngine description] + 118
8   CoreFoundation                  0x34232892 -[NSObject(NSObject) _copyDescription] + 30
9   CoreFoundation                  0x342a32d6 __CFStringAppendFormatCore + 11134
10  CoreFoundation                  0x3423dfa4 CFStringCreateWithFormatAndArguments + 68
11  CoreFoundation                  0x342c2190 +[NSException raise:format:] + 52
12  Foundation                      0x34c7411a -[NSISEngine minimizeConstantInObjectiveRowWithHead:] + 186
13  Foundation                      0x34c76754 -[NSISEngine optimize] + 56
14  Foundation                      0x34c76e6a -[NSISEngine tryToAddConstraintWithMarker:expression:integralizationAdjustment:mutuallyExclusiveConstraints:] + 630
15  Foundation                      0x34c7fbba -[NSLayoutConstraint _addToEngine:integralizationAdjustment:mutuallyExclusiveConstraints:] + 390
16  UIKit                           0x365033bc -[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 124
17  UIKit                           0x36503530 -[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:] + 32
18  UIKit                           0x360ea2dc -[UIView(Internal) _didMoveFromWindow:toWindow:] + 372
19  UIKit                           0x360ea5c2 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1114
20  UIKit                           0x360e4e4e -[UIView(Hierarchy) _postMovedFromSuperview:] + 134
21  UIKit                           0x360cc7d8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1296
22  UIKit                           0x360e9af2 -[UIScrollView(UIScrollViewInternal) _addContentSubview:atBack:] + 66
23  UIKit                           0x360e993a -[UITableView(_UITableViewPrivate) _addContentSubview:atBack:] + 126
24  UIKit                           0x360fc0a0 -[UITableView(_UITableViewPrivate) _updateVisibleHeadersAndFootersNow:] + 1696
25  UIKit                           0x360fa506 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1810
26  UIKit                           0x361117ca -[UITableView layoutSubviews] + 202
27  UIKit                           0x360cd7fe -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 254
28  QuartzCore                      0x35e77d86 -[CALayer layoutSublayers] + 210
29  QuartzCore                      0x35e77924 CA::Layer::layout_if_needed(CA::Transaction*) + 456
30  QuartzCore                      0x35e78858 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
31  QuartzCore                      0x35e7823e CA::Context::commit_transaction(CA::Transaction*) + 234
32  QuartzCore                      0x35e7804c CA::Transaction::commit() + 312
33  QuartzCore                      0x35e77eac CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 56
34  CoreFoundation                  0x342976c8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
35  CoreFoundation                  0x342959bc __CFRunLoopDoObservers + 272
36  CoreFoundation                  0x34295d12 __CFRunLoopRun + 738
37  CoreFoundation                  0x34208eb8 CFRunLoopRunSpecific + 352
38  CoreFoundation                  0x34208d44 CFRunLoopRunInMode + 100
39  GraphicsServices                0x37dd02e6 GSEventRunModal + 70
40  UIKit                           0x3611e2fc UIApplicationMain + 1116
41  myApp                       0x000a4aca 0xa2000 + 10954
42  libdyld.dylib                   0x3c3ddb1c start + 0

它说线程 11 崩溃了,但这看起来像主线程崩溃,正如我从最后一行看到的那样。线程 11 堆栈跟踪如下所示

   Thread 11 Crashed:
0   libsystem_kernel.dylib          0x3c4a4d98 __workq_kernreturn + 8
1   libsystem_c.dylib               0x3c3f2cf6 _pthread_workq_return + 14
2   libsystem_c.dylib               0x3c3f2a12 _pthread_wqthread + 362
3   libsystem_c.dylib               0x3c3f28a0 start_wqthread + 4

崩溃报告还指出应用程序在进行枚举时崩溃了,但我不确定它与 UIView 和 UITableView 对象的关系,正如我从堆栈跟踪中看到的那样。更多信息,我有一个表格视图,它显示一个列表,如果数据,这是从服务器获取的。

有人可以帮我解决这个问题吗?

谢谢

4

1 回答 1

1

@nkd,为什么不使用像Crashlytics这样的崩溃报告管理器,它执行两步符号化过程,一次在应用程序和服务器端,为您提供崩溃的确切位置以及所有线程信息、测试环境等。我一直在广泛使用它,对解决错误有很大帮助。

于 2013-09-24T08:56:25.403 回答