Ios 如果没有自己代码的迹象,如何处理崩溃?

Ios 如果没有自己代码的迹象,如何处理崩溃?,ios,objective-c,Ios,Objective C,我有这个痕迹 Thread : Crashed: com.apple.main-thread 0 libsystem_kernel.dylib 0x32fe2df0 __pthread_kill + 8 1 libsystem_pthread.dylib 0x33062c97 pthread_kill + 62 2 libsystem_c.dylib 0x32f81939 abort + 76 3 libc++abi.dylib

我有这个痕迹

Thread : Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x32fe2df0 __pthread_kill + 8
1  libsystem_pthread.dylib        0x33062c97 pthread_kill + 62
2  libsystem_c.dylib              0x32f81939 abort + 76
3  libc++abi.dylib                0x3217fbbd __cxa_bad_cast
4  libc++abi.dylib                0x3219966f default_terminate_handler() + 266
5  libobjc.A.dylib                0x32973f11 _objc_terminate() + 192
还是这个

Thread : Crashed: com.apple.main-thread
0  CoreFoundation                 0x2d60eab8 __CFBasicHashDeallocate + 48
1  CoreFoundation                 0x2d52488f CFRelease + 462
2  QuartzCore                     0x2fa8d635 CA::release_objects(X::List<void const*>*) + 16
3  QuartzCore                     0x2fa8cec7 CA::Layer::~Layer() + 242
4  QuartzCore                     0x2fa8e431 CA::release_root_if_unused(CA::Layer*, CA::Layer*, void*) + 48
5  QuartzCore                     0x2fa8e3ad x_hash_table_remove_if + 68
6  QuartzCore                     0x2fa89443 CA::Transaction::commit() + 142
7  UIKit                          0x2fe0940b _afterCACommitHandler + 126
8  CoreFoundation                 0x2d5bf255 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
9  CoreFoundation                 0x2d5bcbf9 __CFRunLoopDoObservers + 284
10 CoreFoundation                 0x2d5bcf3b __CFRunLoopRun + 730
11 CoreFoundation                 0x2d527ebf CFRunLoopRunSpecific + 522
12 CoreFoundation                 0x2d527ca3 CFRunLoopRunInMode + 106
13 GraphicsServices               0x3244e663 GSEventRunModal + 138
14 UIKit                          0x2fe7414d UIApplicationMain + 1136
15 myapp                          0x0009c6f3 main (main.m:6)
Thread : Crashed: WebThread
0  libobjc.A.dylib                0x31ea0f46 objc_msgSend + 5
1  UIKit                          0x272eeea1 +[UIViewAnimationState popAnimationState] + 320
2  MediaPlayer                    0x2563056b -[MPVolumeSlider _layoutForAvailableRoutes] + 1410
3  MediaPlayer                    0x2562f1b5 -[MPVolumeSlider layoutSubviews] + 60
4  UIKit                          0x272ba7ff -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 514
5  QuartzCore                     0x26ce0835 -[CALayer layoutSublayers] + 136
6  QuartzCore                     0x26cdc20d CA::Layer::layout_if_needed(CA::Transaction*) + 360
7  UIKit                          0x272ccf77 -[UIView(Hierarchy) layoutBelowIfNeeded] + 138
8  UIKit                          0x272d2463 -[UISlider setValue:animated:] + 178
9  MediaPlayer                    0x2562f8ab -[MPVolumeSlider volumeController:volumeValueDidChange:] + 78
10 MediaPlayer                    0x2569391d -[MPVolumeController updateVolumeValue] + 252
11 MediaPlayer                    0x2562f2c3 -[MPVolumeSlider didMoveToSuperview] + 126
12 UIKit                          0x272b9721 -[UIView(Hierarchy) _postMovedFromSuperview:] + 428
13 UIKit                          0x272c3bcf -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1462
14 UIKit                          0x272c360f -[UIView(Hierarchy) addSubview:] + 30
15 MediaPlayer                    0x25632099 -[MPVolumeView _createSubviews] + 236
16 MediaPlayer                    0x25630ce5 -[MPVolumeView _initWithStyle:] + 212
17 MediaPlayer                    0x25630d79 -[MPVolumeView initWithFrame:style:] + 80
18 MediaPlayer                    0x25630d23 -[MPVolumeView initWithFrame:] + 38
19 UIKit                          0x272da3a1 -[UIView init] + 44
20 WebCore                        0x2fdcd1cf -[WebMediaSessionHelper initWithCallback:] + 178
21 WebCore                        0x2fdcc611 WebCore::MediaSessionManageriOS::MediaSessionManageriOS() + 172
22 WebCore                        0x2fdcc4fd WebCore::MediaSessionManager::sharedManager() + 124
23 WebCore                        0x2fdcb785 WebCore::MediaSession::MediaSession(WebCore::MediaSessionClient&) + 32
24 WebCore                        0x2fa5fe75 WebCore::HTMLMediaSession::create(WebCore::MediaSessionClient&) + 20
25 WebCore                        0x2fa4e81f WebCore::HTMLMediaElement::HTMLMediaElement(WebCore::QualifiedName const&, WebCore::Document&, bool) + 1046
26 WebCore                        0x2fa77917 WebCore::HTMLVideoElement::create(WebCore::QualifiedName const&, WebCore::Document&, bool) + 38
27 WebCore                        0x2fa41b79 WebCore::videoConstructor(WebCore::QualifiedName const&, WebCore::Document&, WebCore::HTMLFormElement*, bool) + 56
28 WebCore                        0x2fa412cd WebCore::HTMLElementFactory::createElement(WebCore::QualifiedName const&, WebCore::Document&, WebCore::HTMLFormElement*, bool) + 232
29 WebCore                        0x2f64b53d WebCore::HTMLDocument::createElement(WTF::AtomicString const&, int&) + 88
30 WebCore                        0x2f64b47f WebCore::jsDocumentPrototypeFunctionCreateElement(JSC::ExecState*) + 242
31 JavaScriptCore                 0x2521d783 llint_entry + 21314
32 JavaScriptCore                 0x2521d377 llint_entry + 20278
33 JavaScriptCore                 0x2521d377 llint_entry + 20278
34 JavaScriptCore                 0x2521d377 llint_entry + 20278
35 JavaScriptCore                 0x2521822f callToJavaScript + 334
36 JavaScriptCore                 0x251a7d09 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 36
37 JavaScriptCore                 0x24fde3fb JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) + 5738
38 JavaScriptCore                 0x24fdcc43 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) + 358
39 WebCore                        0x2fefd539 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&) + 196
40 WebCore                        0x2f666173 WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) + 26
41 WebCore                        0x2f666117 WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) + 234
42 WebCore                        0x2f6ecb05 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&) + 156
43 WebCore                        0x2f6e8059 WebCore::HTMLScriptRunner::executeParsingBlockingScripts() + 244
44 WebCore                        0x2f6e576d WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() + 52
45 WebCore                        0x2f68dd77 WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode, WebCore::PumpSession&) + 50
46 WebCore                        0x2f68d305 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) + 344
47 WebCore                        0x2f6edf3f WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution() + 78
48 WebCore                        0x2f672c1d WebCore::HTMLDocumentParser::executeScriptsWaitingForStylesheets() + 44
49 WebCore                        0x2f66ff7b WebCore::Document::didRemoveAllPendingStylesheet() + 66
50 WebCore                        0x2f738151 WebCore::HTMLLinkElement::sheetLoaded() + 76
51 WebCore                        0x2f66fe93 WebCore::StyleSheetContents::checkLoaded() + 130
52 WebCore                        0x2fa4d415 WebCore::HTMLLinkElement::setCSSStyleSheet(WTF::String const&, WebCore::URL const&, WTF::String const&, WebCore::CachedCSSStyleSheet const*) + 508
53 WebCore                        0x2f6ee08b WebCore::CachedCSSStyleSheet::checkNotify() + 246
54 WebCore                        0x2f737a79 WebCore::CachedCSSStyleSheet::finishLoading(WebCore::ResourceBuffer*) + 192
55 WebCore                        0x2f6e9893 WebCore::SubresourceLoader::didFinishLoading(double) + 78
56 CFNetwork                      0x2380df5f ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 78
57 CFNetwork                      0x238aaff9 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 60
58 CFNetwork                      0x237fed8d RunloopBlockContext::_invoke_block(void const*, void*) + 60
59 CoreFoundation                 0x23cb1e1d CFArrayApplyFunction + 36
60 CFNetwork                      0x237fec47 RunloopBlockContext::perform() + 182
61 CFNetwork                      0x237feb0d MultiplexerSource::perform() + 216
62 CFNetwork                      0x237fe9a1 MultiplexerSource::_perform(void*) + 48
63 CoreFoundation                 0x23d66fbf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
64 CoreFoundation                 0x23d663cf __CFRunLoopDoSources0 + 218
65 CoreFoundation                 0x23d64a35 __CFRunLoopRun + 772
66 CoreFoundation                 0x23cb23b1 CFRunLoopRunSpecific + 476
67 CoreFoundation                 0x23cb21c3 CFRunLoopRunInMode + 106
68 WebCore                        0x2f6a9483 RunWebThread(void*) + 418
69 libsystem_pthread.dylib        0x32567e23 _pthread_body + 138
70 libsystem_pthread.dylib        0x32567d97 _pthread_start + 118

我如何着手解决这些问题?

我也在我的所有应用程序(Hockeyapp reporting)中看到了上述崩溃。我不知道我能做些什么来解决它们,因为它们似乎发生在iOS API中。它们只出现在iOS8设备上…

您没有收到错误吗?它只是随机崩溃吗?你到底在做什么来应对这些事故?你试过使用异常断点吗?我想这些报告来自iTunes或类似的东西。您可能会发现有趣的是:atos和dwarfdump命令。这些可以极大地帮助你标记你的崩溃报告事实上这些痕迹来自Crashlytics,所以我不知道用户做了什么导致了应用程序崩溃。是的,这就是为什么我说了类似的话。如果您有.dSYM文件,您可以使用上述命令将地址解析为代码中的确切位置。@NickCatib响应较晚,但谢谢。:)由于dwarfdump找不到我指定的崩溃地址,我仍然无法获取数据。它正在查找.debug_info/frame,但我的日志在Fabric.io中。。。