【发布时间】:2014-07-12 14:23:44
【问题描述】:
任何人都可以帮助我理解这个崩溃日志。 这次崩溃似乎是偶然的,我无法在我的测试设备上重现它。 谢谢
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x2faa6f0b __exceptionPreprocess + 130
1 libobjc.A.dylib 0x3a56dce7 objc_exception_throw + 38
2 CoreFoundation 0x2faaa837 -[NSObject(NSObject) doesNotRecognizeSelector:] + 202
3 CoreFoundation 0x2faa9137 ___forwarding___ + 706
4 CoreFoundation 0x2f9f8098 _CF_forwarding_prep_0 + 24
5 UIKit 0x322e58b7 -[UILabel _shadow] + 38
6 UIKit 0x32355557 -[UILabel drawTextInRect:] + 66
7 UIKit 0x3235550b -[UILabel drawRect:] + 78
8 UIKit 0x323554a9 -[UIView(CALayerDelegate) drawLayer:inContext:] + 372
9 QuartzCore 0x31f81189 -[CALayer drawInContext:] + 100
10 QuartzCore 0x31f6ac5b CABackingStoreUpdate_ + 1858
11 QuartzCore 0x32046c1d ___ZN2CA5Layer8display_Ev_block_invoke + 52
12 QuartzCore 0x31f6a50b x_blame_allocations + 82
13 QuartzCore 0x31f6a1bf CA::Layer::display_() + 1118
14 QuartzCore 0x31f4dd41 CA::Layer::display_if_needed(CA::Transaction*) + 208
15 QuartzCore 0x31f4d9d9 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 24
16 QuartzCore 0x31f4d3e5 CA::Context::commit_transaction(CA::Transaction*) + 228
17 QuartzCore 0x31f4d1f7 CA::Transaction::commit() + 314
18 QuartzCore 0x31f46f1d CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 56
19 CoreFoundation 0x2fa72039 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
20 CoreFoundation 0x2fa6f9c7 __CFRunLoopDoObservers
21 CoreFoundation 0x2fa6fd13 __CFRunLoopRun + 738
22 CoreFoundation 0x2f9da769 CFRunLoopRunSpecific + 524
23 CoreFoundation 0x2f9da54b CFRunLoopRunInMode + 106
24 GraphicsServices 0x349046d3 GSEventRunModal + 138
25 UIKit 0x32339891 UIApplicationMain + 1136
26 Oremia Mobile HD 0x00110ee7 main (main.mm:16)
27 libdyld.dylib 0x3aa6bab7 start + 2
【问题讨论】:
-
也许 UI 是从某处的后台线程更新的?根据回溯真的很难说。
-
异常信息是什么? UILabel 的文本来自哪里:静态字符串、JSON 数据、...?
-
完整的回溯在这里crashes.to/s/721fcce12a6
-
第二个问题呢?
标签: ios objective-c crashlytics