<?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>221741</bug_id>
          
          <creation_ts>2021-02-10 21:04:09 -0800</creation_ts>
          <short_desc>REGRESSION (r272702): ASSERTION FAILED: Completion handler should always be called under WebKit::TiledCoreAnimationDrawingArea::~TiledCoreAnimationDrawingArea()</short_desc>
          <delta_ts>2021-02-10 21:24:19 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=221653</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1727944</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-10 21:04:09 -0800</bug_when>
    <thetext>Seeing layout tests exit early on Catalina debug WK2 with the following assertion failure:

ASSERTION FAILED: Completion handler should always be called
!m_function
/Volumes/Data/slave/catalina-debug/build/WebKitBuild/Debug/usr/local/include/wtf/CompletionHandler.h(58) : WTF::CompletionHandler&lt;void ()&gt;::~CompletionHandler()
1   0x31b140aa9 WTFCrash
2   0x2e8146647 WTF::CompletionHandler&lt;void ()&gt;::~CompletionHandler()
3   0x2e8143cb5 WTF::CompletionHandler&lt;void ()&gt;::~CompletionHandler()
4   0x2e8d8c7ff WTF::VectorDestructor&lt;true, WTF::CompletionHandler&lt;void ()&gt; &gt;::destruct(WTF::CompletionHandler&lt;void ()&gt;*, WTF::CompletionHandler&lt;void ()&gt;*)
5   0x2e8d8c76d WTF::VectorTypeOperations&lt;WTF::CompletionHandler&lt;void ()&gt; &gt;::destruct(WTF::CompletionHandler&lt;void ()&gt;*, WTF::CompletionHandler&lt;void ()&gt;*)
6   0x2e8d8c730 WTF::Vector&lt;WTF::CompletionHandler&lt;void ()&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;::~Vector()
7   0x2e8d412c5 WTF::Vector&lt;WTF::CompletionHandler&lt;void ()&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;::~Vector()
8   0x2e989c983 WebKit::TiledCoreAnimationDrawingArea::~TiledCoreAnimationDrawingArea()
9   0x2e989cb75 WebKit::TiledCoreAnimationDrawingArea::~TiledCoreAnimationDrawingArea()
10  0x2e989cb9c WebKit::TiledCoreAnimationDrawingArea::~TiledCoreAnimationDrawingArea()
11  0x2e9f8b05f std::__1::default_delete&lt;WebKit::DrawingArea&gt;::operator()(WebKit::DrawingArea*) const
12  0x2e9f8afdf std::__1::unique_ptr&lt;WebKit::DrawingArea, std::__1::default_delete&lt;WebKit::DrawingArea&gt; &gt;::reset(WebKit::DrawingArea*)
13  0x2e9f57117 std::__1::unique_ptr&lt;WebKit::DrawingArea, std::__1::default_delete&lt;WebKit::DrawingArea&gt; &gt;::operator=(std::nullptr_t)
14  0x2e9f569cf WebKit::WebPage::close()
15  0x2e9fe8d84 void IPC::callMemberFunctionImpl&lt;WebKit::WebPage, void (WebKit::WebPage::*)(), std::__1::tuple&lt;&gt; &gt;(WebKit::WebPage*, void (WebKit::WebPage::*)(), std::__1::tuple&lt;&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long&gt;)
16  0x2e9fe8ce0 void IPC::callMemberFunction&lt;WebKit::WebPage, void (WebKit::WebPage::*)(), std::__1::tuple&lt;&gt;, std::__1::integer_sequence&lt;unsigned long&gt; &gt;(std::__1::tuple&lt;&gt;&amp;&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)())
17  0x2e9fcc7e6 void IPC::handleMessage&lt;Messages::WebPage::Close, WebKit::WebPage, void (WebKit::WebPage::*)()&gt;(IPC::Decoder&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)())
18  0x2e9fc3a8a WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
19  0x2e9f66cfe WebKit::WebPage::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
20  0x2e84d6b21 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
21  0x2e997f0d7 WebKit::WebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
22  0x2e807a104 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
23  0x2e807b1e0 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
24  0x2e807b870 IPC::Connection::dispatchOneIncomingMessage()
25  0x2e809c878 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_8::operator()()
26  0x2e809c78e WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_8, void&gt;::call()
27  0x31b16c002 WTF::Function&lt;void ()&gt;::operator()() const
28  0x31b1ed305 WTF::RunLoop::performWork()
29  0x31b1f1af1 WTF::RunLoop::performWork(void*)
30  0x7fff2e618d52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
31  0x7fff2e618cf1 __CFRunLoopDoSource0
LEAK: 1 WebPageProxy

https://build.webkit.org/results/Apple-Catalina-Debug-WK2-Tests/r272703%20(78)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727945</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-10 21:04:32 -0800</bug_when>
    <thetext>&lt;rdar://problem/74220237&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727947</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-10 21:09:18 -0800</bug_when>
    <thetext>Not limited to Catalina, this in-progress Big Sur run is also exited layout tests early: https://build.webkit.org/#/builders/23/builds/77

I&apos;ll just revert the change for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727955</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-10 21:24:19 -0800</bug_when>
    <thetext>Reverted r272702 for reason:

Caused assertion failure on macOS debug WK2 bots

Committed r272705: &lt;https://trac.webkit.org/changeset/272705&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>