<?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>215875</bug_id>
          
          <creation_ts>2020-08-26 17:39:27 -0700</creation_ts>
          <short_desc>REGRESSION: ASSERT NOT REACHED: WebCore::Layout::LayoutContext::verifyAndOutputMismatchingLayoutTree</short_desc>
          <delta_ts>2020-11-29 19:53:30 -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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hector Lopez">hector_i_lopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1683227</commentid>
    <comment_count>0</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-08-26 17:39:27 -0700</bug_when>
    <thetext>fast/layoutformattingcontext/line-heigt-when-text-is-inside-inline-container.html

Test is a constant failure according to history on macOS wk2 Debug. First occurrence of a crash is at r266126 but no indication that revision was cause. Might be associated with change made https://results.webkit.org/commit?branch=trunk&amp;uuid=159837355000

History:
https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Flayoutformattingcontext%2Fline-heigt-when-text-is-inside-inline-container.html&amp;limit=50000&amp;platform=mac&amp;flavor=wk2

Crash log:

(B)lock/(I)nline/I(N)line-block, (A)bsolute/Fi(X)ed/(R)elative/Stic(K)y, (F)loating, (O)verflow clip, Anon(Y)mous, (G)enerated, has(L)ayer, (C)omposited, (+)Dirty style, (+)Dirty layout
B---YGLC --* RenderView at (0,0) size 785x600 renderer-&gt;(0x335df9260)
B-----L- --    HTML RenderBlock at (0,0) size 785x600 renderer-&gt;(0x335df9710) node-&gt;(0x337bc0080)
B------- --      BODY RenderBody at (8,8) size 769x584 renderer-&gt;(0x335df9840) node-&gt;(0x337bc8080)
BA----L- --        DIV RenderBlock at (8,8) size 120x10 renderer-&gt;(0x337ba4490) node-&gt;(0x337bb6200)
-------- --          RootInlineBox at (0,-6) size 120x18 (0x337ba7290) renderer-&gt;(0x337ba4490)
-------- --            InlineTextBox at (0,0) size 120x10 (0x337ba7220) renderer-&gt;(0x337ba7120) run(0, 12) &quot;text content&quot;
I------- --          SPAN RenderInline renderer-&gt;(0x337ba7040) node-&gt;(0x337bb6290)
I------- --            #text RenderText renderer-&gt;(0x337ba7120) node-&gt;(0x337ba8210) length-&gt;(12) &quot;text content&quot;

Initial containing block at (0,0) size 785x600 layout box-&gt;(0x335df9970)
  HTML at (0,0) size 785x600 layout box-&gt;(0x335df9ad0)
    BODY at (8,8) size 769x584 layout box-&gt;(0x335df9ba0)
      block box at (8,8) size 120x18 layout box-&gt;(0x337ba46f0)
          lines are -&gt; [0.00,0.00 120.00x18.00] 
          inline text box at (0.00,6.00) size 120.00x10.00 run(0, 12)
        SPAN inline box at (0,6) size 120x10 layout box-&gt;(0x337ba47c0)

DIV RenderBlock (positioned)(0x337ba4490) layoutBox(0x337ba46f0)
frameBox	renderer-&gt;(8,8) (120x10)	layout-&gt;(8,8) (120x18)

SHOULD NEVER BE REACHED
./layout/Verification.cpp(401) : static void WebCore::Layout::LayoutContext::verifyAndOutputMismatchingLayoutTree(const WebCore::Layout::LayoutState &amp;, const WebCore::RenderView &amp;)
1   0x32cbdeac9 WTFCrash
2   0x30dbee23b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x311465c35 WebCore::Layout::LayoutContext::verifyAndOutputMismatchingLayoutTree(WebCore::Layout::LayoutState const&amp;, WebCore::RenderView const&amp;)
4   0x31181f4f2 WebCore::FrameViewLayoutContext::layoutUsingFormattingContext()
5   0x31182070f WebCore::FrameViewLayoutContext::layout()
6   0x310937a73 WebCore::Document::implicitClose()
7   0x3115a5b5b WebCore::FrameLoader::checkCallImplicitClose()
8   0x3115a564a WebCore::FrameLoader::checkCompleted()
9   0x3115a39f7 WebCore::FrameLoader::finishedParsing()
10  0x31094aea6 WebCore::Document::finishedParsing()
11  0x31110c358 WebCore::HTMLConstructionSite::finishedParsing()
12  0x311151c07 WebCore::HTMLTreeBuilder::finished()
13  0x31111b328 WebCore::HTMLDocumentParser::end()
14  0x311119178 WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd()
15  0x311118ea7 WebCore::HTMLDocumentParser::prepareToStopParsing()
16  0x31111b392 WebCore::HTMLDocumentParser::attemptToEnd()
17  0x31111b469 WebCore::HTMLDocumentParser::finish()
18  0x31153a172 WebCore::DocumentWriter::end()
19  0x311539174 WebCore::DocumentLoader::finishedLoading()
20  0x311538b71 WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource&amp;, WebCore::NetworkLoadMetrics const&amp;)
21  0x3116c8f6a WebCore::CachedResource::checkNotify(WebCore::NetworkLoadMetrics const&amp;)
22  0x3116c4c3c WebCore::CachedResource::finishLoading(WebCore::SharedBuffer*, WebCore::NetworkLoadMetrics const&amp;)
23  0x3116c5fac WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*, WebCore::NetworkLoadMetrics const&amp;)
24  0x311643154 WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&amp;)
25  0x30167e0ea WebKit::WebResourceLoader::didFinishResourceLoad(WebCore::NetworkLoadMetrics const&amp;)
26  0x301c95080 void IPC::callMemberFunctionImpl&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;, 0ul&gt;(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;)
27  0x301c94fb0 void IPC::callMemberFunction&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;), std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WebCore::NetworkLoadMetrics&gt;&amp;&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;))
28  0x301c929ce void IPC::handleMessage&lt;Messages::WebResourceLoader::DidFinishResourceLoad, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::NetworkLoadMetrics const&amp;))
29  0x301c9233e WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
30  0x301641370 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
31  0x3000750bf IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1683228</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-08-26 17:40:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/67840583&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1683233</commentid>
    <comment_count>2</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-08-26 18:03:33 -0700</bug_when>
    <thetext>Test expectation while investigated:

https://trac.webkit.org/changeset/266211/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1683258</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2020-08-26 18:59:56 -0700</bug_when>
    <thetext>This (not-enabled-in-shipping-configuration) code is in transitional state: see bug 215752. I&apos;ll re-enable this test once the last patch is landed (probably by the end of this week).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>