Bug 242737 - [WinCairo] ASSERTION FAILED: m_webPage.bounds().contains(bounds) in WebKit::DrawingAreaWC::sendUpdateNonAC
Summary: [WinCairo] ASSERTION FAILED: m_webPage.bounds().contains(bounds) in WebKit::D...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-13 22:10 PDT by Fujii Hironori
Modified: 2022-07-19 14:40 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.64 KB, patch)
2022-07-13 22:21 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff
Patch (1.73 KB, patch)
2022-07-14 14:10 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 2022-07-13 22:10:21 PDT
[WinCairo] ASSERTION FAILED: m_webPage.bounds().contains(bounds) in WebKit::DrawingAreaWC::sendUpdateNonAC

Sometimes I'm observing the following assertion failure while using WinCairo MiniBrowser (Debug build).

ASSERTION FAILED: m_webPage.bounds().contains(bounds)
C:\home\webkit\gc\Source\WebKit\WebProcess\WebPage\wc\DrawingAreaWC.cpp(300) : WebKit::DrawingAreaWC::sendUpdateNonAC
1   00007FFBAFFC249B WTFCrash
2   00007FFB49BEA03E WTFCrashWithInfo
3   00007FFB49CED0A2 WebKit::DrawingAreaWC::sendUpdateNonAC
4   00007FFB49CECC4F WebKit::DrawingAreaWC::updateRendering
5   00007FFB49CF255A std::invoke<void (__cdecl WebKit::DrawingAreaWC::*&)(void),WebKit::DrawingAreaWC * &>
6   00007FFB49CF08EE std::_Invoker_ret<std::_Unforced>::_Call<void (__cdecl WebKit::DrawingAreaWC::*&)(void),WebKit::DrawingAreaWC * &>
7   00007FFB49CF0951 std::_Call_binder<std::_Unforced,0,void (__cdecl WebKit::DrawingAreaWC::*)(void),std::tuple<WebKit::DrawingAreaWC *>,std::tuple<> >
8   00007FFB49CF08AB std::_Binder<std::_Unforced,void (__cdecl WebKit::DrawingAreaWC::*&)(void),WebKit::DrawingAreaWC *>::operator()<>
9   00007FFB49CF560B WTF::Detail::CallableWrapper<std::_Binder<std::_Unforced,void (__cdecl WebKit::DrawingAreaWC::*&)(void),WebKit::DrawingAreaWC *>,void>::call
10  00007FFB49C75594 WTF::Function<void __cdecl(void)>::operator()
11  00007FFB49CEB04B WebCore::Timer::fired
12  00007FFB4F1FC178 WebCore::ThreadTimers::sharedTimerFiredInternal
13  00007FFB4F2004DF `WebCore::ThreadTimers::setSharedTimer'::`8'::<lambda_1>::operator()
14  00007FFB4F20191B WTF::Detail::CallableWrapper<`WebCore::ThreadTimers::setSharedTimer'::`8'::<lambda_1>,void>::call
15  00007FFB49C75594 WTF::Function<void __cdecl(void)>::operator()
16  00007FFB4F1B2CE7 WebCore::MainThreadSharedTimer::fired
17  00007FFB4BC165EA WebCore::TimerWindowWndProc
18  00007FFC219BE858 CallWindowProcW
19  00007FFC219BE299 DispatchMessageW
20  00007FFBB014BE86 WTF::RunLoop::run
21  00007FFB49D0A26B WebKit::AuxiliaryProcessMainBase<WebKit::WebProcess,1>::run
22  00007FFB49D0A033 WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainWin>
23  00007FFB49D09E75 WebKit::WebProcessMain
24  00007FF75413101D main
25  00007FF75413125C __scrt_common_main_seh
26  00007FFC20957034 BaseThreadInitThunk
27  00007FFC21BE2651 RtlUserThreadStart
Exception thrown at 0x00007FFBAFFC24A0 (WTF.dll) in WebKitWebProcess.exe: 0xC0000005: Access violation writing location 0x00000000BBADBEEF.
Comment 1 Fujii Hironori 2022-07-13 22:21:08 PDT
Created attachment 460885 [details]
Patch
Comment 2 Fujii Hironori 2022-07-14 13:52:44 PDT
It's easy to reproduce the assertion failure with the following steps.

1. Start WinCairo MiniBrowser (Debug build)
2. Open Web Inspector
3. Open Layers tab
4. Close Web Inspector
5. Mouse right click → Inspect Element
Comment 3 Fujii Hironori 2022-07-14 14:10:27 PDT
Created attachment 460906 [details]
Patch
Comment 4 EWS 2022-07-19 13:01:42 PDT
commit-queue failed to commit attachment 460906 [details] to WebKit repository. To retry, please set cq+ flag again.
Comment 5 EWS 2022-07-19 14:39:30 PDT
Committed 252616@main (24aaf4a92f6e): <https://commits.webkit.org/252616@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 460906 [details].
Comment 6 Radar WebKit Bug Importer 2022-07-19 14:40:22 PDT
<rdar://problem/97282535>