<?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>264999</bug_id>
          
          <creation_ts>2023-11-16 19:04:12 -0800</creation_ts>
          <short_desc>[Win] flaky crash &quot;ASSERTION FAILED: info.bmBitsPixel == 32&quot; for layout tests using mouse drag</short_desc>
          <delta_ts>2024-07-05 00:10:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=276245</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</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="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1993314</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-11-16 19:04:12 -0800</bug_when>
    <thetext>Buildbot: builder WinCairo-64-bit-Debug-Tests build 21319: 270772@main
https://build.webkit.org/#/builders/727/builds/21319

  fast/events/setDragImage-in-document-element-crash.html [ Crash ]

Buildbot: builder WinCairo-64-bit-Debug-Tests build 21325 : 270828@main
https://build.webkit.org/#/builders/727/builds/21325

  http/tests/local/drag-over-remote-content.html [ Crash ]

Buildbot: builder WinCairo-64-bit-Debug-Tests build 21326 : 270842@main
https://build.webkit.org/#/builders/727/builds/21326

  fast/events/setDragImage-in-document-element-crash.html [ Crash ]

stderr:
ASSERTION FAILED: info.bmBitsPixel == 32
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebCore\platform\win\DragImageCairoWin.cpp(91) : createCairoContextFromBitmap
1   00007FF903611B99 WTFCrash
2   00007FF8E000730D WTFCrashWithInfo
3   00007FF8E0317413 WebCore::createCairoContextFromBitmap
4   00007FF8E031725E WebCore::scaleDragImage
5   00007FF8E3A75B93 WebCore::platformAdjustDragImageForDeviceScaleFactor
6   00007FF8E384C778 WebCore::DragController::doImageDrag
7   00007FF8E384A5C4 WebCore::DragController::startDrag
8   00007FF8E3852FA1 WebCore::EventHandler::handleDrag
9   00007FF8E3851B6B WebCore::EventHandler::handleMouseDraggedEvent
10  00007FF8E385A931 WebCore::EventHandler::handleMouseMoveEvent
11  00007FF8E02AAD94 WebCore::EventHandler::passMouseMoveEventToSubframe
12  00007FF8E385A756 WebCore::EventHandler::handleMouseMoveEvent
13  00007FF8E3859CA0 WebCore::EventHandler::mouseMoved
14  00007FF8EBFF7902 WebKit::WebFrame::handleMouseEvent
15  00007FF8EBF95505 WebKit::WebPage::mouseEvent
16  00007FF8EAC680D3 IPC::callMemberFunction&lt;WebKit::WebPage,WebKit::WebPage,void (WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;, const WebKit::WebMouseEvent &amp;, std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &amp;&amp;, WTF::CompletionHandler&lt;void (std::optional&lt;WebKit::WebEventType&gt;, bool, std::optional&lt;WebCore::RemoteUserInputEventData&gt;)&gt; &amp;&amp;),std::tuple&lt;WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;,WebKit::WebMouseEvent,std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &gt;,void (std::optional&lt;WebKit::WebEventType&gt;, bool, std::optional&lt;WebCore::RemoteUserInputEventData&gt;)&gt;::&lt;lambda_1&gt;::operator()&lt;WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;,WebKit::WebMouseEvent,std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &gt;
17  00007FF8EAC68011 std::invoke&lt;`lambda at C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\Platform\IPC\HandleMessage.h:146:9&apos;,WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;,WebKit::WebMouseEvent,std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &gt;
18  00007FF8EAC67FD2 std::_Apply_impl&lt;`lambda at C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\Platform\IPC\HandleMessage.h:146:9&apos;,std::tuple&lt;WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;,WebKit::WebMouseEvent,std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &gt;,0,1,2&gt;
19  00007FF8EAC67F72 std::apply&lt;`lambda at C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\Platform\IPC\HandleMessage.h:146:9&apos;,std::tuple&lt;WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;,WebKit::WebMouseEvent,std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &gt; &gt;
20  00007FF8EAC6591E IPC::callMemberFunction&lt;WebKit::WebPage,WebKit::WebPage,void (WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;, const WebKit::WebMouseEvent &amp;, std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &amp;&amp;, WTF::CompletionHandler&lt;void (std::optional&lt;WebKit::WebEventType&gt;, bool, std::optional&lt;WebCore::RemoteUserInputEventData&gt;)&gt; &amp;&amp;),std::tuple&lt;WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;,WebKit::WebMouseEvent,std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &gt;,void (std::optional&lt;WebKit::WebEventType&gt;, bool, std::optional&lt;WebCore::RemoteUserInputEventData&gt;)&gt;
21  00007FF8EAC477DE IPC::handleMessageAsync&lt;Messages::WebPage::MouseEvent,WebKit::WebPage,WebKit::WebPage,void (WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType,WTF::ObjectIdentifierMainThreadAccessTraits&gt; &gt;, const WebKit::WebMouseEvent &amp;, std::optional&lt;WTF::Vector&lt;WebKit::SandboxExtensionHandle,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt; &gt; &amp;&amp;, WTF::CompletionHandler&lt;void (std::optional&lt;WebKit::WebEventType&gt;, bool, std::optional&lt;WebCore::RemoteUserInputEventData&gt;)&gt; &amp;&amp;)&gt;
22  00007FF8EAC3F834 WebKit::WebPage::didReceiveWebPageMessage
23  00007FF8EBF9D3A4 WebKit::WebPage::didReceiveMessage
24  00007FF8EB607866 IPC::MessageReceiverMap::dispatchMessage
25  00007FF8EBB0104D WebKit::WebProcess::didReceiveMessage
26  00007FF8EB5DE43A IPC::Connection::dispatchMessage
27  00007FF8EB5DE6A3 IPC::Connection::dispatchMessage
28  00007FF8EB5E468E IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch
29  00007FF8EB5D8FCD IPC::Connection::SyncMessageState::dispatchMessages
30  00007FF8EB5DDDEB IPC::Connection::dispatchSyncMessage
31  00007FF8EB5DE687 IPC::Connection::dispatchMessage
ERROR: 000002B7DA6238D0 - [PID=7484] WebProcessProxy::didClose (web process crash)
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(1100) : didClose
ERROR: 000002B7DA6238D0 - [PID=7484] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(1108) : processDidTerminateOrFailedToLaunch
ERROR: 000002B7DA5E0EB0 - [pageProxyID=919, webPageID=920, PID=7484] WebPageProxy::processDidTerminate: (pid 7484), reason=Crash
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp(9126) : resetStateAfterProcessTermination
ERROR: 000002B7DA5E0EB0 - [pageProxyID=919, webPageID=920, PID=7484] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp(9184) : dispatchProcessDidTerminate
WebProcess terminated (pid 7484) for reason: crash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993703</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-11-18 13:58:06 -0800</bug_when>
    <thetext>Did 270779@main (bug#264361) resolve this bug too? 
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=fast%2Fevents%2FsetDragImage-in-document-element-crash.html&amp;test=http%2Ftests%2Flocal%2Fdrag-over-remote-content.html&amp;platform=wincairo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993972</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-11-20 12:23:00 -0800</bug_when>
    <thetext>Still happenning:

Buildbot: builder WinCairo-64-bit-Debug-Tests build 21348 : 270967@main
https://build.webkit.org/#/builders/727/builds/21348

  http/tests/misc/drag-over-iframe-invalid-source-crash.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994601</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-23 19:05:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/118759256&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995057</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-11-27 13:18:43 -0800</bug_when>
    <thetext>271165@main skips more mouse drag tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>