| Summary: | REGRESSION(r281102): ASSERTION FAILED: !isInAcceleratedCompositingMode() in DrawingAreaProxyCoordinatedGraphics::incorporateUpdate | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Component: | WebKit Misc. | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | cgarcia, cmarcelo, don.olmstead, ews-watchlist, gyuyoung.kim, luiz, ryuan.choi, sergio, webkit-bug-importer, zeno | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fujii Hironori
2021-08-17 23:27:39 PDT
This assertion ensures DrawingAreaProxy::Update message is dispatched only if AC mode. However, DrawingAreaProxy::Update message is dispatched while in AC mod in the following scenario. 1. DrawingAreaCoordinatedGraphics::exitAcceleratedCompositingMode calls DrawingAreaCoordinatedGraphics::display(WebKit::UpdateInfo&) 2. DrawingAreaCoordinatedGraphics::display(WebKit::UpdateInfo&) calls WebPage::updateRendering() 3. WebPage::updateRendering() executes JavaScript 4. JavaScript calls notifyDone 5. WTR::TestRunner::notifyDone calls WKBundlePageForceRepaint 6. DrawingAreaCoordinatedGraphics::display() dispatches the message Created attachment 435840 [details]
debugging patch
This debugging patch
* Disables JIT and enables LLInt to show the callstack under JSC.
* Adds RELEASE_ASSERT checking DrawingAreaCoordinatedGraphics::display() isn't called while DrawingAreaCoordinatedGraphics::exitAcceleratedCompositingMode().
Created attachment 435842 [details] the callstack to dispatch Update message before exiting AC mode With the debugging patch (attachment#435840 [details]), I got the this callstack. Created attachment 436601 [details]
Patch
Comment on attachment 436601 [details] Patch Clearing flags on attachment: 436601 Committed r281747 (241089@main): <https://commits.webkit.org/241089@main> All reviewed patches have been landed. Closing bug. |