<?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>221740</bug_id>
          
          <creation_ts>2021-02-10 21:00:58 -0800</creation_ts>
          <short_desc>Crash when UI-side compositing is enabled on macOS</short_desc>
          <delta_ts>2021-02-11 08:10:15 -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>WebKit2</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1727942</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-02-10 21:00:58 -0800</bug_when>
    <thetext>Crash when UI-side compositing is enabled on macOS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727943</commentid>
    <comment_count>1</comment_count>
      <attachid>419944</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-02-10 21:02:31 -0800</bug_when>
    <thetext>Created attachment 419944
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727946</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-02-10 21:05:31 -0800</bug_when>
    <thetext>Backtrace is:

    frame #1: 0x0000000381eadbe6 WebKit`WebKit::WebPage::mainFrame(this=0x0000000000000000) const at WebPage.cpp:5476:12
    frame #2: 0x0000000381ead615 WebKit`WebKit::WebPage::mainFrameView(this=0x0000000000000000) const at WebPage.cpp:5481:24
  * frame #3: 0x00000003818f56d1 WebKit`auto WebKit::WebProcess::updatePageScreenProperties(this=0x00007ffee961bd00, page=0x00000003b71f6528)::$_16::operator()&lt;WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt; &gt;(WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt;&amp;) const at WebProcessCocoa.mm:1169:53
    frame #4: 0x00000003818bd523 WebKit`bool WTF::allOf&lt;WTF::SizedIteratorRange&lt;WTF::HashMap&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt;, WTF::DefaultHash&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt; &gt;, WTF::HashTraits&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt; &gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt; &gt; &gt;, WTF::HashTableValuesIterator&lt;WTF::HashTable&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WTF::KeyValuePair&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt; &gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt; &gt; &gt;, WTF::DefaultHash&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt; &gt;, WTF::HashMap&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt;, WTF::DefaultHash&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt; &gt;, WTF::HashTraits&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt; &gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt; &gt; &gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt; &gt; &gt;, WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WTF::RefPtr&lt;WebKit::WebPage, WTF::RawPtrTraits&lt;WebKit::WebPage&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPage&gt; &gt; &gt; &gt;, WebKit::WebProcess::updatePageScreenProperties()::$_16&gt;(container=0x00007ffee961bdc0, allOfFunction=(anonymous class) @ 0x00007ffee961bd00)::$_16) at Algorithms.h:51:14
    frame #5: 0x00000003818bd3be WebKit`WebKit::WebProcess::updatePageScreenProperties(this=0x00000003b71f2000) at WebProcessCocoa.mm:1168:36
    frame #6: 0x0000000381eb21eb WebKit`WebKit::WebPage::windowScreenDidChange(this=0x00007ffc36010408, displayID=4294967289, nominalFramesPerSecond=Optional&lt;unsigned int&gt; @ 0x00007ffee961bf48) at WebPage.cpp:2084:29
    frame #7: 0x000000038075eaca WebKit`WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea(this=0x00000003b71f5aa0, webPage=0x00007ffc36010408, parameters=0x00007ffee961c990) at RemoteLayerTreeDrawingArea.mm:75:13
    frame #8: 0x000000038075ff05 WebKit`WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea(this=0x00000003b71f5aa0, webPage=0x00007ffc36010408, parameters=0x00007ffee961c990) at RemoteLayerTreeDrawingArea.mm:64:1
    frame #9: 0x0000000381cd7712 WebKit`std::__1::__unique_if&lt;WebKit::RemoteLayerTreeDrawingArea&gt;::__unique_single std::__1::make_unique&lt;WebKit::RemoteLayerTreeDrawingArea, WebKit::WebPage&amp;, WebKit::WebPageCreationParameters const&amp;&gt;(__args=0x00007ffc36010408, __args=0x00007ffee961c990) at memory:3131:32
    frame #10: 0x0000000381cca584 WebKit`decltype(args=0x00007ffc36010408, args=0x00007ffee961c990) WTF::makeUnique&lt;WebKit::RemoteLayerTreeDrawingArea, WebKit::WebPage&amp;, WebKit::WebPageCreationParameters const&amp;&gt;(WebKit::WebPage&amp;, WebKit::WebPageCreationParameters const&amp;) at StdLibExtras.h:507:12
    frame #11: 0x0000000381cca463 WebKit`WebKit::DrawingArea::create(webPage=0x00007ffc36010408, parameters=0x00007ffee961c990) at DrawingArea.cpp:56:16
    frame #12: 0x0000000381ea4100 WebKit`WebKit::WebPage::WebPage(this=0x00007ffc36010408, pageID=(m_identifier = 6), parameters=0x00007ffee961c990) at WebPage.cpp:632:21
    frame #13: 0x0000000381ea2925 WebKit`WebKit::WebPage::WebPage(this=0x00007ffc36010408, pageID=(m_identifier = 6), parameters=0x00007ffee961c990) at WebPage.cpp:517:1
    frame #14: 0x0000000381ea2831 WebKit`WebKit::WebPage::create(pageID=(m_identifier = 6), parameters=0x00007ffee961c990) at WebPage.cpp:413:39
    frame #15: 0x000000038190bfd4 WebKit`WebKit::WebProcess::createWebPage(this=0x00000003b71f2000, pageID=(m_identifier = 6), parameters=0x00007ffee961c990) at WebProcess.cpp:736:34
    frame #16: 0x000000038210df0c WebKit`void IPC::callMemberFunctionImpl&lt;WebKit::WebProcess, void (WebKit::WebProcess::*)(WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WebKit::WebPageCreationParameters&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WebKit::WebPageCreationParameters&gt;, 0ul, 1ul&gt;(object=0x00000003b71f2000, function=f0 be 90 81 03 00 00 00 00 00 00 00 00 00 00 00, args=size=2, (null)=std::__1::index_sequence&lt;0UL, 1UL&gt; @ 0x00007ffee961c8c8)(WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WebKit::WebPageCreationParameters&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::PageIdentifierType&gt;, WebKit::WebPageCreationParameters&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;) at HandleMessage.h:42:5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1728091</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-02-11 08:09:15 -0800</bug_when>
    <thetext>Committed r272728: &lt;https://commits.webkit.org/r272728&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419944.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1728092</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-11 08:10:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/74234544&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>419944</attachid>
            <date>2021-02-10 21:02:31 -0800</date>
            <delta_ts>2021-02-11 08:09:16 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-221740-20210210210230.patch</filename>
            <type>text/plain</type>
            <size>1752</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjcyNjk4CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCmluZGV4IGM5MTQ5YmZlZmEzYzkyNTU2
ZjI5MjQ0YTAzZDUwNzNhOTFhNDEzNTMuLjVkYjAzMmY1NGZlNTQwYTJlOGRkODMxOGFkODU3NjFh
MTFiYmUwNmIgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCisrKyBiL1NvdXJj
ZS9XZWJLaXQvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTcgQEAKKzIwMjEtMDItMTAgIFNpbW9uIEZy
YXNlciAgPHNpbW9uLmZyYXNlckBhcHBsZS5jb20+CisKKyAgICAgICAgQ3Jhc2ggd2hlbiBVSS1z
aWRlIGNvbXBvc2l0aW5nIGlzIGVuYWJsZWQgb24gbWFjT1MKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIyMTc0MAorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFdoZW4gVUktc2lkZSBjb21wb3NpdGluZyBpcyBl
bmFibGVkIG9uIG1hY09TLCBXZWJQcm9jZXNzOjp1cGRhdGVQYWdlU2NyZWVuUHJvcGVydGllcygp
CisgICAgICAgIGNyYXNoZXMgYmVjYXVzZSBh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