<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>285718</bug_id>
          
          <creation_ts>2025-01-09 18:07:45 -0800</creation_ts>
          <short_desc>[Win Skia] ASSERTION FAILED: bitmap-&gt;size() == updateSize : BackingStore::incorporateUpdate(UpdateInfo &amp;&amp;) on the fractional device pixel ratio display</short_desc>
          <delta_ts>2025-01-13 13:17:50 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>DoNotImportToRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2086234</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-01-09 18:07:45 -0800</bug_when>
    <thetext>[Win Skia] ASSERTION FAILED: bitmap-&gt;size() == updateSize : BackingStore::incorporateUpdate(UpdateInfo &amp;&amp;) on the fractional device pixel ratio display

1. Start Windows Skia MiniBrowser in 150% DPI display
2. Load https://webkit.org
3. Open Inspector
4. An assertion fails

ASSERTION FAILED: bitmap-&gt;size() == updateSize
C:\webkit\wc\Source\WebKit\UIProcess\skia\BackingStoreSkia.cpp(83) : void WebKit::BackingStore::incorporateUpdate(UpdateInfo &amp;&amp;)
1   00007FFDA8A2C496 WebKit::BackingStore::incorporateUpdate
2   00007FFDA89F5DA5 WebKit::DrawingAreaProxyWC::incorporateUpdate
3   00007FFDA89F5B76 WebKit::DrawingAreaProxyWC::update
4   00007FFDA8DAD5DD IPC::callMemberFunction&lt;WebKit::DrawingAreaProxy,WebKit::DrawingAreaProxy,void (unsigned long long, WebKit::UpdateInfo &amp;&amp;),std::tuple&lt;unsigned long long,WebKit::UpdateInfo&gt; &gt;::&lt;lambda_1&gt;::operator()&lt;unsigned long long,WebKit::UpdateInfo&gt;
5   00007FFDA8DAD567 std::invoke&lt;`lambda at C:\webkit\wc\Source\WebKit\Platform\IPC\HandleMessage.h:132:9&apos;,unsigned long long,WebKit::UpdateInfo&gt;
6   00007FFDA8DAD52E std::_Apply_impl&lt;`lambda at C:\webkit\wc\Source\WebKit\Platform\IPC\HandleMessage.h:132:9&apos;,std::tuple&lt;unsigned long long,WebKit::UpdateInfo&gt;,0,1&gt;
7   00007FFDA8DAD4E2 std::apply&lt;`lambda at C:\webkit\wc\Source\WebKit\Platform\IPC\HandleMessage.h:132:9&apos;,std::tuple&lt;unsigned long long,WebKit::UpdateInfo&gt; &gt;
8   00007FFDA8DACC4F IPC::callMemberFunction&lt;WebKit::DrawingAreaProxy,WebKit::DrawingAreaProxy,void (unsigned long long, WebKit::UpdateInfo &amp;&amp;),std::tuple&lt;unsigned long long,WebKit::UpdateInfo&gt; &gt;
9   00007FFDA8DA9D10 IPC::handleMessage&lt;Messages::DrawingAreaProxy::Update,IPC::Connection,WebKit::DrawingAreaProxy,WebKit::DrawingAreaProxy,void (unsigned long long, WebKit::UpdateInfo &amp;&amp;)&gt;
10  00007FFDA8DA90E6 WebKit::DrawingAreaProxy::didReceiveMessage
11  00007FFDA9B5F03D IPC::MessageReceiverMap::dispatchMessage
12  00007FFDA9BF643B WebKit::AuxiliaryProcessProxy::dispatchMessage
13  00007FFDA9EB40CB WebKit::WebProcessProxy::dispatchMessage
14  00007FFDA8E7DC7B WebKit::WebProcessProxy::didReceiveMessage
15  00007FFDA9B2EB59 IPC::Connection::dispatchMessage
16  00007FFDA9B2EDC3 IPC::Connection::dispatchMessage
17  00007FFDA9B2F474 IPC::Connection::dispatchIncomingMessages
18  00007FFDA9B3440B IPC::Connection::enqueueIncomingMessage::&lt;lambda_6&gt;::operator()
19  00007FFDA9B343A7 WTF::Detail::CallableWrapper&lt;`lambda at C:\webkit\wc\Source\WebKit\Platform\IPC\Connection.cpp:1339:31&apos;,void&gt;::call
20  00007FFD839422FC WTF::Function&lt;void ()&gt;::operator()
21  00007FFD853931C2 WTF::RunLoop::performWork
22  00007FFD8552F0B8 WTF::RunLoop::wndProc
23  00007FFD8552EFC3 WTF::RunLoop::RunLoopWndProc
24  00007FFE91D083F1 DispatchMessageW
25  00007FFE91D07EB1 DispatchMessageW
26  00007FF72F0D9BA8 wWinMain
27  00007FF72F0DB1EA __scrt_common_main_seh
28  00007FFE910F259D BaseThreadInitThunk
29  00007FFE922CAF38 RtlUserThreadStart
Exception thrown at 0x00007FFD85307AB5 (JavaScriptCore.dll) in MiniBrowser.exe: 0xC0000005: Access violation writing location 0x00000000BBADBEEF.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2086244</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-01-09 19:40:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/38823</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2086856</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-13 13:17:48 -0800</bug_when>
    <thetext>Committed 288818@main (0aed73553051): &lt;https://commits.webkit.org/288818@main&gt;

Reviewed commits have been landed. Closing PR #38823 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>