Bug 140436

Summary: [EFL] REGRESSION(r177302): ASSERTION FAILED: beginAnimationUpdateCount when WebInspector starts
Product: WebKit Reporter: Paweł Forysiuk <p.forysiuk>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: gyuyoung.kim, mcatanzaro, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description Paweł Forysiuk 2015-01-14 03:17:16 PST
Revision r177302 introduced ASSERT(m_beginAnimationUpdateCount) in Source/WebCore/page/animation/AnimationController.cpp

It makes EFL's WebInspector crash without any user input in Debug builds. Just to note this does not occur with GTK+ port build.
Here it the produced output:

ASSERTION FAILED: m_beginAnimationUpdateCount
../../Source/WebCore/page/animation/AnimationController.cpp(378) : double WebCore::AnimationControllerPrivate::beginAnimationUpdateTime()
1   0x7f2247c6f29b WTFCrash
2   0x7f224d3e873f WebCore::AnimationControllerPrivate::beginAnimationUpdateTime()
3   0x7f224e07a0c0 WebCore::AnimationBase::beginAnimationUpdateTime() const
4   0x7f224e079532 WebCore::AnimationBase::timeToNextService()
5   0x7f224d41fd14 WebCore::KeyframeAnimation::timeToNextService()
6   0x7f224d415020 WebCore::CompositeAnimation::timeToNextService() const
7   0x7f224d3e7541 WebCore::AnimationControllerPrivate::updateAnimations(WebCore::SetChanged)
8   0x7f224d3e7ed3 WebCore::AnimationControllerPrivate::animationFrameCallbackFired()
9   0x7f224d3e986a WebCore::AnimationController::serviceAnimations()
10  0x7f224d38a212 WebCore::FrameView::serviceScriptedAnimations(double)
11  0x7f224da165ba WebCore::CompositingCoordinator::syncDisplayState()
12  0x7f224cc8a6bb WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush()
13  0x7f224cc8a78a WebKit::CoordinatedLayerTreeHost::layerFlushTimerFired()
14  0x7f224cc8bd27 void std::_Mem_fn<void (WebKit::CoordinatedLayerTreeHost::*)()>::operator()<, void>(WebKit::CoordinatedLayerTreeHost*) const
15  0x7f224cc8bbee void std::_Bind<std::_Mem_fn<void (WebKit::CoordinatedLayerTreeHost::*)()> (WebKit::CoordinatedLayerTreeHost*)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>)
16  0x7f224cc8ba8c void std::_Bind<std::_Mem_fn<void (WebKit::CoordinatedLayerTreeHost::*)()> (WebKit::CoordinatedLayerTreeHost*)>::operator()<, void>()
17  0x7f224cc8b84b std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (WebKit::CoordinatedLayerTreeHost::*)()> (WebKit::CoordinatedLayerTreeHost*)> >::_M_invoke(std::_Any_data const&)
18  0x7f224c861570 std::function<void ()>::operator()() const
19  0x7f224c85ef8e WebCore::Timer::fired()
20  0x7f224d45c06b WebCore::ThreadTimers::sharedTimerFiredInternal()
21  0x7f224d45bf19 WebCore::ThreadTimers::sharedTimerFired()
22  0x7f224d9a31f5
23  0x7f2245af0b79
24  0x7f2245af0cab
25  0x7f2245aecc11
26  0x7f2245aed087 ecore_main_loop_begin
27  0x7f224e50fc79 WTF::RunLoop::run()
28  0x7f224cc8efc2 int WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain>(int, char**)
29  0x7f224cc8ec02 WebProcessMainUnix
30  0x4008d1 main
31  0x7f2248647ec5 __libc_start_main
ASSERTION FAILED: m_messageReceivers.contains(std::make_pair(messageReceiverName, destinationID))
../../Source/WebKit2/Platform/IPC/MessageReceiverMap.cpp(66) : void IPC::MessageReceiverMap::removeMessageReceiver(IPC::StringReference, uint64_t)
1   0x7f4e1830129b WTFCrash
2   0x7f4e1e34f280 IPC::MessageReceiverMap::removeMessageReceiver(IPC::StringReference, unsigned long)
3   0x7f4e1e3723a2 WebKit::ChildProcessProxy::removeMessageReceiver(IPC::StringReference, unsigned long)
7   0x7f4e1e6ffa95 std::unique_ptr<WebKit::CoordinatedLayerTreeHostProxy, std::default_delete<WebKit::CoordinatedLayerTreeHostProxy> >::~unique_ptr()
8   0x7f4e1e6fe1e6 WebKit::CoordinatedDrawingAreaProxy::~CoordinatedDrawingAreaProxy()
9   0x7f4e1e6fe222 WebKit::CoordinatedDrawingAreaProxy::~CoordinatedDrawingAreaProxy()
10  0x7f4e1e48f85c std::default_delete<WebKit::DrawingAreaProxy>::operator()(WebKit::DrawingAreaProxy*) const
11  0x7f4e1e490fc0 std::unique_ptr<WebKit::DrawingAreaProxy, std::default_delete<WebKit::DrawingAreaProxy> >::reset(WebKit::DrawingAreaProxy*)
12  0x7f4e1e48b8c3 std::unique_ptr<WebKit::DrawingAreaProxy, std::default_delete<WebKit::DrawingAreaProxy> >::operator=(decltype(nullptr))
13  0x7f4e1e471bbc WebKit::WebPageProxy::resetState(WebKit::WebPageProxy::ResetStateReason)
14  0x7f4e1e472008 WebKit::WebPageProxy::resetStateAfterProcessExited()
15  0x7f4e1e471b11 WebKit::WebPageProxy::processDidCrash()
16  0x7f4e1e4acd5b WebKit::WebProcessProxy::didClose(IPC::Connection&)
17  0x7f4e1e33d97a
18  0x7f4e1e33ee0e
19  0x7f4e1e327570 std::function<void ()>::operator()() const
20  0x7f4e1ffd3afb WTF::RunLoop::performWork()
21  0x7f4e1ffd5ce8 WTF::RunLoop::wakeUpEvent(void*, void*, unsigned int)
22  0x7f4e1a28e88f
23  0x7f4e1a28f05a
24  0x7f4e1a28de61
25  0x7f4e1a28e087 ecore_main_loop_begin
26  0x40d9d0 elm_main
27  0x40da43 main
28  0x7f4e18cd9ec5 __libc_start_main
29  0x406369
Comment 1 Michael Catanzaro 2017-03-11 10:49:11 PST
Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.