App crash, no idea why and how to fix it - ios

I'm trying to fix the crash issue of a mac app. It's using the web view.
I got the report from fabric but I have no idea how to fix it.
Any suggestion?
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000bbadbeef
Crashed: com.apple.main-thread
0 JavaScriptCore 0x7fff8d7a232e WTFCrash + 62
1 WebCore 0x7fff879ca13d WebCore::DocumentLoader::detachFromFrame() + 269
2 WebKitLegacy 0x7fff866f1f7e WebDocumentLoaderMac::detachFromFrame() + 14
3 WebCore 0x7fff87945178 WebCore::FrameLoader::setDocumentLoader(WebCore::DocumentLoader*) + 104
4 WebCore 0x7fff87ed90a0 WebCore::FrameLoader::transitionToCommitted(WebCore::CachedPage*) + 208
5 WebCore 0x7fff87944a3d WebCore::FrameLoader::commitProvisionalLoad() + 397
6 WebCore 0x7fff879e568d WebCore::DocumentLoader::commitLoad(char const*, int) + 77
7 WebCore 0x7fff879e5254 WebCore::DocumentLoader::dataReceived(WebCore::CachedResource*, char const*, int) + 292
8 WebCore 0x7fff879e4f51 WebCore::CachedRawResource::notifyClientsDataWasReceived(char const*, unsigned int) + 177
9 WebCore 0x7fff879e4b2a WebCore::CachedRawResource::addDataBuffer(WebCore::ResourceBuffer*) + 170
10 WebCore 0x7fff879e4802 WebCore::SubresourceLoader::didReceiveDataOrBuffer(char const*, int, WTF::PassRefPtr<WebCore::SharedBuffer>, long long, WebCore::DataPayloadType) + 210
11 WebCore 0x7fff87a08b0c WebCore::SubresourceLoader::didReceiveBuffer(WTF::PassRefPtr<WebCore::SharedBuffer>, long long, WebCore::DataPayloadType) + 44
12 WebCore 0x7fff87a08a4a WebCore::ResourceLoader::didReceiveBuffer(WebCore::ResourceHandle*, WTF::PassRefPtr<WebCore::SharedBuffer>, int) + 90
13 WebCore 0x7fff87a08985 -[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:] + 101
14 CFNetwork 0x7fff8552c81d __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
15 CFNetwork 0x7fff8552c681 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 232
16 CFNetwork 0x7fff8552c587 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
17 CFNetwork 0x7fff85538f74 _NSURLConnectionDidReceiveData_LengthReceived(_CFURLConnection*, __CFData const*, long, void const*) + 83
18 CFNetwork 0x7fff8552cf3b ___ZN27URLConnectionClient_Classic29_delegate_didReceiveDataArrayEv_block_invoke + 297
19 CFNetwork 0x7fff855e14a3 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 94
20 CFNetwork 0x7fff8547feec RunloopBlockContext::_invoke_block(void const*, void*) + 72
21 CoreFoundation 0x7fff9122c664 CFArrayApplyFunction + 68
22 CFNetwork 0x7fff8547fdad RunloopBlockContext::perform() + 133
23 CFNetwork 0x7fff8547fb98 MultiplexerSource::perform() + 282
24 CFNetwork 0x7fff8547f9ba MultiplexerSource::_perform(void*) + 72
25 CoreFoundation 0x7fff91260a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
26 CoreFoundation 0x7fff91252b8d __CFRunLoopDoSources0 + 269
27 CoreFoundation 0x7fff912521bf __CFRunLoopRun + 927
28 CoreFoundation 0x7fff91251bd8 CFRunLoopRunSpecific + 296
29 HIToolbox 0x7fff82b9356f RunCurrentEventLoopInMode + 235
30 HIToolbox 0x7fff82b932ea ReceiveNextEventCommon + 431
31 HIToolbox 0x7fff82b9312b _BlockUntilNextEventMatchingListInModeWithFilter + 71
32 AppKit 0x7fff8acc88ab _DPSNextEvent + 978
33 AppKit 0x7fff8acc7e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
34 AppKit 0x7fff8acbdaf3 -[NSApplication run] + 594
35 AppKit 0x7fff8ac3a244 NSApplicationMain + 1832
36 libdyld.dylib 0x7fff896af5c9 start + 1
above is the log. Any idea why it happens and how to fix it?

Related

Javascript core crash when using YouTube iframe player in UIWebView in iOS 11.3

We have an iOS app with a UIWebView that loads YouTube iframe player to play youtube videos. After iOS 11.3 released we found that there are a lot of javascript core crashes. On Fabric crashlytics the crash stcktrace looks like this
Crashed: WebThread
0 JavaScriptCore 0x18aa48298 JSC::JSLock::DropAllLocks::DropAllLocks(JSC::VM&) + 176
1 JavaScriptCore 0x18aa4826c JSC::JSLock::DropAllLocks::DropAllLocks(JSC::VM&) + 132
2 WebCore 0x18b78b794 SendDelegateMessage(NSInvocation*) + 360
3 WebKitLegacy 0x18cea7c68 CallDelegate(void (*)(), WebView*, objc_object*, objc_selector*, objc_object*, objc_object*, objc_object*) + 144
4 WebKitLegacy 0x18ce1b8d0 WebFrameLoaderClient::dispatchDidFailLoading(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceError const&) + 276
5 WebCore 0x18b7ba660 WebCore::ResourceLoadNotifier::didFailToLoad(WebCore::ResourceLoader*, WebCore::ResourceError const&) + 128
6 WebCore 0x18b7ba118 WebCore::ResourceLoader::cancel(WebCore::ResourceError const&) + 464
7 WebCore 0x18b7b9ea4 WebCore::ResourceLoader::cancel() + 64
8 WebCore 0x18c6bbe90 WebCore::CachedResource::removeClient(WebCore::CachedResourceClient&) + 264
9 WebCore 0x18c680558 WebCore::MediaResource::~MediaResource() + 64
10 WebCore 0x18c680608 WebCore::MediaResource::~MediaResource() + 12
11 libobjc.A.dylib 0x1827daef4 object_cxxDestructFromClass(objc_object*, objc_class*) + 148
12 libobjc.A.dylib 0x1827e8990 objc_destructInstance + 68
13 libobjc.A.dylib 0x1827e89f8 object_dispose + 16
14 WebCore 0x18cbff8f0 -[WebCoreNSURLSessionDataTask dealloc] + 320
15 CoreFoundation 0x1834f24e4 -[__NSDictionaryM dealloc] + 164
16 AVFoundation 0x189130cf8 -[AVAssetCustomURLBridgeForNSURLSession dealloc] + 68
17 AVFoundation 0x18917ce54 -[AVAssetResourceLoader dealloc] + 356
18 AVFoundation 0x189060460 -[AVURLAsset dealloc] + 248
19 AVFoundation 0x189097c34 -[AVPlayerItemTrack dealloc] + 192
20 WebCore 0x18b8a9fac WebCore::AVTrackPrivateAVFObjCImpl::~AVTrackPrivateAVFObjCImpl() + 92
21 WebCore 0x18cbf09dc WebCore::VideoTrackPrivateAVFObjC::~VideoTrackPrivateAVFObjC() + 48
22 WebCore 0x18cbefc7c WebCore::VideoTrack::~VideoTrack() + 96
23 WebCore 0x18b982390 WebCore::TrackEvent::~TrackEvent() + 72
24 JavaScriptCore 0x18aa26228 void JSC::MarkedBlock::Handle::specializedSweep<true, (JSC::MarkedBlock::Handle::EmptyMode)1, (JSC::MarkedBlock::Handle::SweepMode)1, (JSC::MarkedBlock::Handle::SweepDestructionMode)1, (JSC::MarkedBlock::Handle::ScribbleMode)0, (JSC::MarkedBlock::Handle::NewlyAllocatedMode)1, (JSC::MarkedBlock::Handle::MarksMode)1, JSC::JSDestructibleObjectDestroyFunc>(JSC::FreeList*, JSC::MarkedBlock::Handle::EmptyMode, JSC::MarkedBlock::Handle::SweepMode, JSC::MarkedBlock::Handle::SweepDestructionMode, JSC::MarkedBlock::Handle::ScribbleMode, JSC::MarkedBlock::Handle::NewlyAllocatedMode, JSC::MarkedBlock::Handle::MarksMode, JSC::JSDestructibleObjectDestroyFunc const&) + 212
25 JavaScriptCore 0x18aa24950 void JSC::MarkedBlock::Handle::finishSweepKnowingHeapCellType<JSC::JSDestructibleObjectDestroyFunc>(JSC::FreeList*, JSC::JSDestructibleObjectDestroyFunc const&)::'lambda'()::operator()() const + 408
26 JavaScriptCore 0x18aa2444c void JSC::MarkedBlock::Handle::finishSweepKnowingHeapCellType<JSC::JSDestructibleObjectDestroyFunc>(JSC::FreeList*, JSC::JSDestructibleObjectDestroyFunc const&) + 320
27 JavaScriptCore 0x18aa24300 JSC::JSDestructibleObjectHeapCellType::finishSweep(JSC::MarkedBlock::Handle&, JSC::FreeList*) + 32
28 JavaScriptCore 0x18a7ac538 JSC::MarkedBlock::Handle::sweep(JSC::FreeList*) + 372
29 JavaScriptCore 0x18a7aa6fc JSC::LocalAllocator::tryAllocateIn(JSC::MarkedBlock::Handle*) + 40
30 JavaScriptCore 0x18a7aa608 JSC::LocalAllocator::tryAllocateWithoutCollecting() + 48
31 JavaScriptCore 0x18a7aa4c8 JSC::LocalAllocator::allocateSlowCase(JSC::GCDeferralContext*, JSC::AllocationFailureMode) + 292
32 JavaScriptCore 0x18a78f4b8 JSC::CompleteSubspace::allocateNonVirtual(JSC::VM&, unsigned long, JSC::GCDeferralContext*, JSC::AllocationFailureMode) + 216
33 WebCore 0x18c171e3c std::__1::enable_if<std::is_same<WebCore::Event, WebCore::Event>::value, WebCore::JSDOMWrapperConverterTraits<WebCore::Event>::WrapperClass*>::type WebCore::createWrapper<WebCore::Event, WebCore::Event>(WebCore::JSDOMGlobalObject*, WTF::Ref<WebCore::Event, WTF::DumbPtrTraits<WebCore::Event> >&&) + 216
34 WebCore 0x18c170be0 WebCore::toJSNewlyCreated(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WTF::Ref<WebCore::Event, WTF::DumbPtrTraits<WebCore::Event> >&&) + 100
35 WebCore 0x18c170444 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 872
36 WebCore 0x18c3acbe0 WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::DumbPtrTraits<WebCore::RegisteredEventListener> >, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>) + 760
37 WebCore 0x18c3a8798 WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 596
38 WebCore 0x18c3a8524 WebCore::EventContext::handleLocalEvents(WebCore::Event&) const + 120
39 WebCore 0x18c3a9a24 WebCore::dispatchEventInDOM(WebCore::Event&, WebCore::EventPath const&) + 164
40 WebCore 0x18c3a96e8 WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) + 700
41 WebCore 0x18b7cce50 WebCore::HTMLImageLoader::dispatchLoadEvent() + 248
42 WebCore 0x18b7ccd1c WebCore::ImageLoader::dispatchPendingEvent(WebCore::EventSender<WebCore::ImageLoader>*) + 144
43 WebCore 0x18b7ccb94 WebCore::EventSender<WebCore::ImageLoader>::dispatchPendingEvents() + 128
44 WebCore 0x18b743ff0 WebCore::ThreadTimers::sharedTimerFiredInternal() + 352
45 WebCore 0x18b743e7c WebCore::timerFired(__CFRunLoopTimer*, void*) + 28
46 CoreFoundation 0x1835cbaa8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
47 CoreFoundation 0x1835cb76c __CFRunLoopDoTimer + 864
48 CoreFoundation 0x1835cb010 __CFRunLoopDoTimers + 248
49 CoreFoundation 0x1835c8b60 __CFRunLoopRun + 2168
50 CoreFoundation 0x1834e8da8 CFRunLoopRunSpecific + 552
51 WebCore 0x18b775dcc RunWebThread(void*) + 592
52 libsystem_pthread.dylib 0x183249220 _pthread_body + 272
53 libsystem_pthread.dylib 0x183249110 _pthread_body + 290
54 libsystem_pthread.dylib 0x183247b10 thread_start + 4## Heading ##
Any ideas? Is this a YouTube iframe player issue or UIWebView issue?
Thanks.

ios - webthread- java script core crash

getting lots of crashes as below in ios11: any idea what could be reason behind it. its happening in ios11 only. webkit framework is included in project.
Crashed: WebThread
0 JavaScriptCore 0x18d513a2c bmalloc::Heap::allocateLarge(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, unsigned long) + 24
1 JavaScriptCore 0x18d513a20 bmalloc::Heap::allocateLarge(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, unsigned long) + 12
2 JavaScriptCore 0x18d5112a0 bmalloc::Allocator::allocateLarge(unsigned long) + 92
3 JavaScriptCore 0x18cb6bef4 WTF::fastMalloc(unsigned long) + 112
4 JavaScriptCore 0x18d11e6a8 JSC::Heap::addExecutable(JSC::ExecutableBase*) + 352
5 JavaScriptCore 0x18d10a288 JSC::FunctionExecutable::finishCreation(JSC::VM&) + 48
6 JavaScriptCore 0x18d44f7cc JSC::UnlinkedFunctionExecutable::link(JSC::VM&, JSC::SourceCode const&, std::optional<int>, JSC::Intrinsic) + 280
7 JavaScriptCore 0x18d207860 JSC::functionPrototypeApplyCodeGenerator(JSC::VM&) + 64
8 JavaScriptCore 0x18d10d81c JSC::FunctionPrototype::addFunctionProperties(JSC::ExecState*, JSC::JSGlobalObject*, JSC::JSFunction**, JSC::JSFunction**, JSC::JSFunction**) + 156
9 JavaScriptCore 0x18d21a9f8 JSC::JSGlobalObject::init(JSC::VM&) + 1300
10 JavaScriptCore 0x18d224898 JSC::JSGlobalObject::finishCreation(JSC::VM&, JSC::JSObject*) + 144
11 WebCore 0x18e015590 WebCore::JSDOMGlobalObject::finishCreation(JSC::VM&, JSC::JSObject*) + 24
12 WebCore 0x18e850840 WebCore::JSDOMWindowBase::finishCreation(JSC::VM&, WebCore::JSDOMWindowProxy*) + 44
13 WebCore 0x18e7d28ac WebCore::JSDOMWindow::finishCreation(JSC::VM&, WebCore::JSDOMWindowProxy*) + 36
14 WebCore 0x18e8548a4 WebCore::JSDOMWindowProxy::setWindow(WTF::RefPtr<WebCore::DOMWindow>&&) + 516
15 WebCore 0x18eed505c WebCore::ScriptController::setDOMWindowForWindowProxy(WebCore::DOMWindow*) + 360
16 WebCore 0x18dfed904 WebCore::FrameLoader::clear(WebCore::Document*, bool, bool, bool) + 476
17 WebCore 0x18e3a42c8 WebCore::DocumentWriter::begin(WebCore::URL const&, bool, WebCore::Document*) + 368
18 WebCore 0x18dfebb58 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 176
19 WebKitLegacy 0x18f3d3bd8 -[WebHTMLRepresentation receivedData:withDataSource:] + 112
20 WebKitLegacy 0x18f3d3af8 -[WebDataSource(WebInternal) _receivedData:] + 68
21 WebKitLegacy 0x18f3d3a98 WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 112
22 WebCore 0x18e0099c4 WebCore::DocumentLoader::commitLoad(char const*, int) + 172
23 WebCore 0x18e008bec WebCore::DocumentLoader::continueAfterContentPolicy(WebCore::PolicyAction) + 1796
24 WebCore 0x18e3930a0 WebCore::DocumentLoader::responseReceived(WebCore::ResourceResponse const&) + 1820
25 WebCore 0x18e392004 WebCore::DocumentLoader::handleSubstituteDataLoadNow() + 308
26 WebCore 0x18dfaf000 WebCore::ThreadTimers::sharedTimerFiredInternal() + 172
27 WebCore 0x18dfaef40 WebCore::timerFired(__CFRunLoopTimer*, void*) + 28
28 CoreFoundation 0x186152fc0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
29 CoreFoundation 0x186152ce4 __CFRunLoopDoTimer + 864
30 CoreFoundation 0x1861524e4 __CFRunLoopDoTimers + 248
31 CoreFoundation 0x1861500cc __CFRunLoopRun + 1928
32 CoreFoundation 0x18606fe58 CFRunLoopRunSpecific + 436
33 WebCore 0x18dfe0a34 RunWebThread(void*) + 560
34 libsystem_pthread.dylib 0x185dd02b4 _pthread_body + 308
35 libsystem_pthread.dylib 0x185dd0180 _pthread_body + 310
36 libsystem_pthread.dylib 0x185dceb74 thread_start + 4

iOS 7 Web Core issus loadPendingImages

I have this crash log, but I don't understand how to find what causes an issue.
Thread : Crashed: WebThread
0 WebCore 954995104 WebCore::StyleResolver::loadPendingImages() + 1135
1 WebCore 955192507 WebCore::ResourceRequestBase::~ResourceRequestBase() + 106
2 WebCore 954966933 WebCore::StyleResolver::applyMatchedProperties(WebCore::StyleResolver::MatchResult const&, WebCore::Element const*) + 792
3 WebCore 955009301 WebCore::StyleResolver::styleForElement(WebCore::Element*, WebCore::RenderStyle*, WebCore::StyleSharingBehavior, WebCore::RuleMatchingBehavior, WebCore::RenderRegion*) + 952
4 WebCore 956072077 WebCore::Document::styleForElementIgnoringPendingStylesheets(WebCore::Element*) + 96
5 WebCore 956071899 WebCore::Element::computedStyle(WebCore::PseudoId) + 142
6 WebCore 956433467 WebCore::ComputedStyleExtractor::propertyValue(WebCore::CSSPropertyID, WebCore::EUpdateLayout) const + 466
7 WebCore 957126027 WebCore::CSSComputedStyleDeclaration::getPropertyValue(WebCore::CSSPropertyID) const + 42
8 WebCore 957125931 WebCore::CSSComputedStyleDeclaration::getPropertyValue(WTF::String const&) + 26
9 WebCore 957459107 WebCore::jsCSSStyleDeclarationPrototypeFunctionGetPropertyValue(JSC::ExecState*) + 258
10 JavaScriptCore 838902235 llint_native_call_trampoline + 64
11 JavaScriptCore 838939999 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 70
12 WebCore 955098071 WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 146
13 WebCore 957106929 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 520
14 WebCore 956836797 WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector<WebCore::RegisteredEventListener, 1ul, WTF::CrashOnOverflow>&) + 484
15 WebCore 955783727 WebCore::EventTarget::fireEventListeners(WebCore::Event*) + 178
16 WebCore 955784069 WebCore::EventContext::handleLocalEvents(WebCore::Event*) const + 60
17 WebCore 955783067 WebCore::EventDispatcher::dispatch() + 546
18 WebCore 955782519 WebCore::EventDispatchMediator::dispatchEvent(WebCore::EventDispatcher*) const + 10
19 WebCore 955780731 WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WTF::PassRefPtr<WebCore::EventDispatchMediator>) + 154
20 WebCore 955780413 WebCore::Node::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 100
21 WebCore 955830855 WebCore::Document::finishedParsing() + 102
22 WebCore 955791991 WebCore::HTMLDocumentParser::prepareToStopParsing() + 122
23 WebCore 956118393 WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) + 68
24 WebCore 956102527 WebCore::CachedResource::checkNotify() + 42
25 WebCore 956102065 WebCore::SubresourceLoader::didFinishLoading(double) + 112
26 WebCore 956101909 WebCore::didFinishLoading(_CFURLConnection*, void const*) + 132
27 CFNetwork 818745231 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 74
28 CFNetwork 818740111 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 54
29 CFNetwork 818942775 ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 18
30 CoreFoundation 821665441 CFArrayApplyFunction + 36
31 CFNetwork 818314757 RunloopBlockContext::perform() + 164
32 CFNetwork 818314453 MultiplexerSource::perform() + 220
33 CFNetwork 818314085 MultiplexerSource::_perform(void*) + 48
34 CoreFoundation 822288159 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
35 CoreFoundation 822285287 __CFRunLoopDoSources0 + 206
36 CoreFoundation 822279127 __CFRunLoopRun + 630
37 CoreFoundation 821666929 CFRunLoopRunSpecific + 524
38 CoreFoundation 821666387 CFRunLoopRunInMode + 106
39 WebCore 955674821 RunWebThread(void*) + 420
40 libsystem_pthread.dylib 1000184925 _pthread_body + 140
41 libsystem_pthread.dylib 1000184783 _pthread_start + 102
42 libsystem_pthread.dylib 1000176848 thread_start + 8

iOS app crash on +[UIViewAnimationState popAnimationState]

I got following crash log from Apple.
I thought that this crash occurs during animation. I have tried to solve it by adding following lines but it is not affected.
[UIView setAnimationsEnabled:NO ]
Log:
Thread : Crashed: WebThread
0 libsystem_kernel.dylib 0x338fbdf0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x3397acc7 pthread_kill + 62
2 libsystem_c.dylib 0x33897909 abort + 76
3 libsystem_malloc.dylib 0x33925331 szone_size + 394
4 libobjc.A.dylib 0x33288621 object_dispose + 20
5 UIKit 0x2828cd8f -[UIViewAnimationState dealloc] + 174
6 libobjc.A.dylib 0x33299d5f objc_object::sidetable_release(bool) + 166
7 UIKit 0x2828ae15 +[UIViewAnimationState popAnimationState] + 340
8 MediaPlayer 0x264a6d07 -[MPVolumeSlider _layoutForAvailableRoutes] + 1322
9 MediaPlayer 0x264a592d -[MPVolumeSlider layoutSubviews] + 60
10 UIKit 0x28255fd3 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 546
11 QuartzCore 0x27c69d29 -[CALayer layoutSublayers] + 128
12 QuartzCore 0x27c6555d CA::Layer::layout_if_needed(CA::Transaction*) + 360
13 UIKit 0x28268bb3 -[UIView(Hierarchy) layoutBelowIfNeeded] + 138
14 UIKit 0x2826e053 -[UISlider setValue:animated:] + 178
15 MediaPlayer 0x264a5ffb -[MPVolumeSlider volumeController:volumeValueDidChange:] + 78
16 MediaPlayer 0x265249c5 -[MPVolumeController updateVolumeValue] + 252
17 MediaPlayer 0x264a5a3b -[MPVolumeSlider didMoveToSuperview] + 126
18 UIKit 0x28254e71 -[UIView(Hierarchy) _postMovedFromSuperview:] + 428
19 UIKit 0x2825f6db -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1498
20 UIKit 0x2825f0fb -[UIView(Hierarchy) addSubview:] + 30
21 MediaPlayer 0x264a8841 -[MPVolumeView _createSubviews] + 236
22 MediaPlayer 0x264a748d -[MPVolumeView _initWithStyle:] + 212
23 MediaPlayer 0x264a7521 -[MPVolumeView initWithFrame:style:] + 80
24 MediaPlayer 0x264a74cb -[MPVolumeView initWithFrame:] + 38
25 UIKit 0x282760c9 -[UIView init] + 44
26 WebCore 0x313b6675 -[WebMediaSessionHelper allocateVolumeView] + 264
27 WebCore 0x313b6927 -[WebMediaSessionHelper initWithCallback:] + 394
28 WebCore 0x313b5a51 WebCore::MediaSessionManageriOS::MediaSessionManageriOS() + 172
29 WebCore 0x313b593d WebCore::MediaSessionManager::sharedManager() + 124
30 WebCore 0x313b4b8d WebCore::MediaSession::MediaSession(WebCore::MediaSessionClient&) + 32
31 WebCore 0x31044b65 WebCore::HTMLMediaSession::create(WebCore::MediaSessionClient&) + 20
32 WebCore 0x31033487 WebCore::HTMLMediaElement::HTMLMediaElement(WebCore::QualifiedName const&, WebCore::Document&, bool) + 1046
33 WebCore 0x3105c60b WebCore::HTMLVideoElement::create(WebCore::QualifiedName const&, WebCore::Document&, bool) + 38
34 WebCore 0x310265d5 WebCore::videoConstructor(WebCore::QualifiedName const&, WebCore::Document&, WebCore::HTMLFormElement*, bool) + 56
35 WebCore 0x31025d29 WebCore::HTMLElementFactory::createElement(WebCore::QualifiedName const&, WebCore::Document&, WebCore::HTMLFormElement*, bool) + 232
36 WebCore 0x30c2df9d WebCore::HTMLDocument::createElement(WTF::AtomicString const&, int&) + 88
37 WebCore 0x30c2dedf WebCore::jsDocumentPrototypeFunctionCreateElement(JSC::ExecState*) + 242
38 JavaScriptCore 0x2606e133 llint_entry + 21314
39 JavaScriptCore 0x2606dcd9 llint_entry + 20200
40 JavaScriptCore 0x2606dcd9 llint_entry + 20200
41 JavaScriptCore 0x2606dd27 llint_entry + 20278
42 JavaScriptCore 0x2606dd27 llint_entry + 20278
43 JavaScriptCore 0x2606dd27 llint_entry + 20278
44 JavaScriptCore 0x2606dd27 llint_entry + 20278
45 JavaScriptCore 0x2606dd27 llint_entry + 20278
46 JavaScriptCore 0x2606de2d llint_entry + 20540
47 JavaScriptCore 0x2606de2d llint_entry + 20540
48 JavaScriptCore 0x26068bdf callToJavaScript + 334
49 JavaScriptCore 0x25ff83b5 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 36
50 JavaScriptCore 0x25e2e753 JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) + 5738
51 JavaScriptCore 0x25e2cf9b JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) + 358
52 WebCore 0x314e9b29 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&) + 196
53 WebCore 0x30c48e7b WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) + 26
54 WebCore 0x30c48e1f WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) + 234
55 WebCore 0x30c2ee53 WebCore::ScriptElement::prepareScript(WTF::TextPosition const&, WebCore::ScriptElement::LegacyTypeSupport) + 754
56 WebCore 0x30cc88b3 WebCore::HTMLScriptRunner::runScript(WebCore::Element*, WTF::TextPosition const&) + 202
57 WebCore 0x30cc87a3 WebCore::HTMLScriptRunner::execute(WTF::PassRefPtr<WebCore::Element>, WTF::TextPosition const&) + 34
58 WebCore 0x30cc8735 WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() + 52
59 WebCore 0x30c7094f WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode, WebCore::PumpSession&) + 50
60 WebCore 0x30c6fedd WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) + 344
61 WebCore 0x30cd0f3f WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution() + 78
62 WebCore 0x30ccf9f1 non-virtual thunk to WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) + 72
63 WebCore 0x30ccca8b WebCore::CachedResource::checkNotify() + 58
64 WebCore 0x30ccc895 WebCore::SubresourceLoader::didFinishLoading(double) + 128
65 CFNetwork 0x2462fc8f ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 78
66 CFNetwork 0x246cd365 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 60
67 CFNetwork 0x24620985 RunloopBlockContext::_invoke_block(void const*, void*) + 60
68 CoreFoundation 0x24aebc6d CFArrayApplyFunction + 36
69 CFNetwork 0x2462083f RunloopBlockContext::perform() + 182
70 CFNetwork 0x24620705 MultiplexerSource::perform() + 216
71 CFNetwork 0x24620599 MultiplexerSource::_perform(void*) + 48
72 CoreFoundation 0x24ba1faf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
73 CoreFoundation 0x24ba1451 __CFRunLoopDoSources0 + 364
74 CoreFoundation 0x24b9fa25 __CFRunLoopRun + 772
75 CoreFoundation 0x24aec201 CFRunLoopRunSpecific + 476
76 CoreFoundation 0x24aec013 CFRunLoopRunInMode + 106
77 WebCore 0x30c8c063 RunWebThread(void*) + 418
78 libsystem_pthread.dylib 0x33979e23 _pthread_body + 138
79 libsystem_pthread.dylib 0x33979d97 _pthread_start + 118
80 libsystem_pthread.dylib 0x33977b20 thread_start + 8

How do I approach crashes where there is no sign of my own code?

E.g. I have this trace.
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
or this
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)
or this
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
How can I go about to solve these?
I'm also seeing the crashes described above in all of my apps (Hockeyapp reporting). I have no idea what I can do to resolve them, as they seem to be happening in iOS API's. They are only showing up on iOS8 devices...

Resources