Bug 217490 - [WinCairo] ASSERTION FAILED: m_renderingUpdateRemainingSteps.last().isEmpty() in WebCore::Page::finalizeRenderingUpdate since r268075
Summary: [WinCairo] ASSERTION FAILED: m_renderingUpdateRemainingSteps.last().isEmpty()...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-08 13:02 PDT by Fujii Hironori
Modified: 2020-10-08 14:19 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.59 KB, patch)
2020-10-08 13:33 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2020-10-08 13:02:45 PDT
[WinCairo] ASSERTION FAILED: m_renderingUpdateRemainingSteps.last().isEmpty() in WebCore::Page::finalizeRenderingUpdate since r268075

WinCairo WK2 debug build fails the assertion
WinCairo WK1 debug build doesn't fail.

Bug 216726 – Redundant rendering updates can be scheduled from inside Page::updateRendering()

ASSERTION FAILED: m_renderingUpdateRemainingSteps.last().isEmpty()
C:\home\webkit\gb\Source\WebCore\page/Page.cpp(1655) : WebCore::Page::finalizeRenderingUpdate

Callstack:

> WTF.dll!WTFCrash() Line 295	C++
> WebKit2.dll!WTFCrashWithInfo(int __formal, const char * __formal, const char * __formal, int __formal) Line 672	C++
> WebKit2.dll!WebCore::Page::finalizeRenderingUpdate(WTF::OptionSet<enum WebCore::FinalizeRenderingUpdateFlags> flags) Line 1655	C++
> WebKit2.dll!WebKit::WebPage::finalizeRenderingUpdate(WTF::OptionSet<enum WebCore::FinalizeRenderingUpdateFlags> flags) Line 3899	C++
> WebKit2.dll!WebKit::DrawingAreaCoordinatedGraphics::display(WebKit::UpdateInfo & updateInfo) Line 756	C++
> WebKit2.dll!WebKit::DrawingAreaCoordinatedGraphics::display() Line 717	C++
> WebKit2.dll!WebKit::DrawingAreaCoordinatedGraphics::displayTimerFired() Line 692	C++
> WebKit2.dll!WTF::RunLoop::Timer<WebKit::DrawingAreaCoordinatedGraphics>::fired() Line 178	C++
> WTF.dll!WTF::RunLoop::TimerBase::timerFired() Line 165	C++
> WTF.dll!WTF::RunLoop::wndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 60	C++
> WTF.dll!WTF::RunLoop::RunLoopWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 39	C++
> user32.dll!00007ffce3dc5c7d()	Unknown
> user32.dll!00007ffce3dc5672()	Unknown
> WTF.dll!WTF::RunLoop::run() Line 74	C++
> WebKit2.dll!WebKit::AuxiliaryProcessMain<WebKit::WebProcess,WebKit::WebProcessMainWin>(int argc, char * * argv) Line 69	C++
> WebKit2.dll!WebKit::WebProcessMain(int argc, char * * argv) Line 58	C++
> WebKitWebProcess.exe!main(int argc, char * * argv) Line 35	C++
> [Inline Frame] WebKitWebProcess.exe!invoke_main() Line 78	C++
> WebKitWebProcess.exe!__scrt_common_main_seh() Line 288	C++
> kernel32.dll!00007ffce5b67bd4()	Unknown
> ntdll.dll!00007ffce5d6ce51()	Unknown
Comment 1 Simon Fraser (smfr) 2020-10-08 13:15:47 PDT
Run with EventLoop logging enabled. What bits remain?
Comment 2 Fujii Hironori 2020-10-08 13:17:48 PDT
m_renderingUpdateRemainingSteps was 0x2000.
0x2000 means RenderingUpdateStep::ScrollingTreeUpdate.
Comment 3 Fujii Hironori 2020-10-08 13:21:42 PDT
This bug seems easy. I'm going to submit patch to condition out ScrollingTreeUpdate by ENABLE(ASYNC_SCROLLING).
Comment 4 Simon Fraser (smfr) 2020-10-08 13:22:19 PDT
Sounds right.
Comment 5 Fujii Hironori 2020-10-08 13:33:25 PDT
Created attachment 410877 [details]
Patch
Comment 6 Fujii Hironori 2020-10-08 14:18:00 PDT
Comment on attachment 410877 [details]
Patch

Clearing flags on attachment: 410877

Committed r268208: <https://trac.webkit.org/changeset/268208>
Comment 7 Fujii Hironori 2020-10-08 14:18:03 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2020-10-08 14:19:22 PDT
<rdar://problem/70109923>