<?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>217143</bug_id>
          
          <creation_ts>2020-09-30 13:18:23 -0700</creation_ts>
          <short_desc>REGRESSION(r267781): ASSERTION FAILED: Optional.h(525) : T *WTF::Optional&lt;WebCore::Layout::LineRun::Text&gt;::operator-&gt;() on 16 fast/layoutformattingcontext/* tests</short_desc>
          <delta_ts>2020-10-01 10:42: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>Layout and Rendering</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="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <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>1693501</commentid>
    <comment_count>0</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-09-30 13:18:23 -0700</bug_when>
    <thetext>fast/layoutformattingcontext/block-only/replaced-as-inline-block-simple.html
fast/layoutformattingcontext/br-and-wbr-simple.html 
fast/layoutformattingcontext/br-in-inline-content-simple.html
fast/layoutformattingcontext/float-and-br-inline-content-only.html
fast/layoutformattingcontext/inline-box-overlaps-multiple-lines.html
fast/layoutformattingcontext/replaced-box-with-margin-on-baseline.html
fast/layoutformattingcontext/subframe-with-display-none-html.html
fast/layoutformattingcontext/table-basic-row-baseline-align.html
fast/layoutformattingcontext/table-basic-row-vertical-align-baseline.html
fast/layoutformattingcontext/table-cell-vertical-alignment-simple.html
fast/layoutformattingcontext/table-min-max-width-simple.html
fast/layoutformattingcontext/vertical-align-bottom-nested.html
fast/layoutformattingcontext/vertical-align-top-nested.html
fast/layoutformattingcontext/out-of-flow-positioned-line-breaks.html
fast/layoutformattingcontext/fit-content-width-simple.html
fast/layoutformattingcontext/simple-inline-block.html


Test are all constant crashes according to history on macOS wk2 Debug. First occurrence of constant crashes is at https://trac.webkit.org/changeset/267781/webkit
Also, the last three are associated with https://bugs.webkit.org/show_bug.cgi?id=216668 and corresponding rdar://69101155

History:

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=fast%2Flayoutformattingcontext%2Fblock-only%2Freplaced-as-inline-block-simple.html&amp;test=fast%2Flayoutformattingcontext%2Fbr-and-wbr-simple.html&amp;test=fast%2Flayoutformattingcontext%2Fbr-in-inline-content-simple.html&amp;test=fast%2Flayoutformattingcontext%2Ffit-content-width-simple.html&amp;test=fast%2Flayoutformattingcontext%2Ffloat-and-br-inline-content-only.html&amp;test=fast%2Flayoutformattingcontext%2Finline-box-overlaps-multiple-lines.html&amp;test=fast%2Flayoutformattingcontext%2Fout-of-flow-positioned-line-breaks.html&amp;test=fast%2Flayoutformattingcontext%2Freplaced-box-with-margin-on-baseline.html&amp;test=fast%2Flayoutformattingcontext%2Fsimple-inline-block.html&amp;test=fast%2Flayoutformattingcontext%2Fsubframe-with-display-none-html.html&amp;test=fast%2Flayoutformattingcontext%2Ftable-basic-row-baseline-align.html&amp;test=fast%2Flayoutformattingcontext%2Ftable-basic-row-vertical-align-baseline.html&amp;test=fast%2Flayoutformattingcontext%2Ftable-cell-vertical-alignment-simple.html&amp;test=fast%2Flayoutformattingcontext%2Ftable-min-max-width-simple.html&amp;test=fast%2Flayoutformattingcontext%2Fvertical-align-bottom-nested.html&amp;test=fast%2Flayoutformattingcontext%2Fvertical-align-top-nested.html&amp;style=debug&amp;flavor=wk2

Crash log for one example, fast/layoutformattingcontext/block-only/replaced-as-inline-block-simple.html:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x00000001a5b01abe WTFCrash + 14 (Assertions.cpp:295)
1   com.apple.WebCore             	0x0000000188aa6da9 WTF::Optional&lt;WebCore::Layout::LineRun::Text&gt;::operator-&gt;() + 73 (Optional.h:525)
2   com.apple.WebCore             	0x0000000188ab91ab WebCore::Display::TextBox::debugDescription() const + 235 (DisplayTextBox.cpp:49)
3   com.apple.WebCore             	0x0000000188aab478 WebCore::Display::outputDisplayBox(WTF::TextStream&amp;, WebCore::Display::Box const&amp;, unsigned int) + 56 (DisplayTreeBuilder.cpp:203)
4   com.apple.WebCore             	0x0000000188aa5ac3 WebCore::Display::outputDisplayTree(WTF::TextStream&amp;, WebCore::Display::Box const&amp;, unsigned int) + 35 (DisplayTreeBuilder.cpp:211)
5   com.apple.WebCore             	0x0000000188aa5b20 WebCore::Display::outputDisplayTree(WTF::TextStream&amp;, WebCore::Display::Box const&amp;, unsigned int) + 128 (DisplayTreeBuilder.cpp:213)
6   com.apple.WebCore             	0x0000000188aa5b20 WebCore::Display::outputDisplayTree(WTF::TextStream&amp;, WebCore::Display::Box const&amp;, unsigned int) + 128 (DisplayTreeBuilder.cpp:213)
7   com.apple.WebCore             	0x0000000188aa5b20 WebCore::Display::outputDisplayTree(WTF::TextStream&amp;, WebCore::Display::Box const&amp;, unsigned int) + 128 (DisplayTreeBuilder.cpp:213)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693502</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-30 13:19:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/69805462&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693506</commentid>
    <comment_count>2</comment_count>
      <attachid>410150</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2020-09-30 13:35:40 -0700</bug_when>
    <thetext>Created attachment 410150
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693792</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-10-01 10:42:39 -0700</bug_when>
    <thetext>Committed r267842: &lt;https://trac.webkit.org/changeset/267842&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410150.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>410150</attachid>
            <date>2020-09-30 13:35:40 -0700</date>
            <delta_ts>2020-10-01 10:42:40 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-217143-20200930133540.patch</filename>
            <type>text/plain</type>
            <size>2373</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjY3Nzk2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggN2Q5YTZlN2FjYzhmMDJk
N2ViMjhiZGQzYmE1ZjU0NDE2NzdhMzhlZi4uMzlmMTQ3ZjBmMzQ2MDhmNDAyNjBkMDkxNGU5OWFi
ODcxM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ci0gICAgfSBlbHNlCi0gICAgICAgIHN0
cmVhbSA8PCAiIFwiIiA8PCB0ZXh0Q29udGVudCA8PCAiXCIiOwotCisgICAgaWYgKHRleHQoKSkg
eworICAgICAgICBhdXRvIHRleHRDb250ZW50ID0gdGV4dCgpLT5jb250ZW50KCkuc3Vic3RyaW5n
KHRleHQoKS0+c3RhcnQoKSwgdGV4dCgpLT5sZW5ndGgoKSk7CisgICAgICAgIHRleHRDb250ZW50
LnJlcGxhY2VXaXRoTGl0ZXJhbCgnXFwnLCAiXFxcXCIpOworICAgICAgICB0ZXh0Q29udGVudC5y
ZXBsYWNlV2l0aExpdGVyYWwoJ1xuJywgIlxcbiIpOworICAgICAgICBjb25zdCBzaXplX3QgbWF4
UHJpbnRlZExlbmd0aCA9IDgwOworICAgICAgICBpZiAodGV4dENvbnRlbnQubGVuZ3RoKCkgPiBt
YXhQcmludGVkTGVuZ3RoKSB7CisgICAgICAgICAgICBhdXRvIHN1YnN0cmluZyA9IHRleHRDb250
ZW50LnN1YnN0cmluZygwLCBtYXhQcmludGVkTGVuZ3RoKTsKKyAgICAgICAgICAgIHN0cmVhbSA8
PCAiIFwiIiA8PCBzdWJzdHJpbmcgPDwgIlwi4oCmIjsKKyAgICAgICAgfSBlbHNlCisgICAgICAg
ICAgICBzdHJlYW0gPDwgIiBcIiIgPDwgdGV4dENvbnRlbnQgPDwgIlwiIjsKKyAgICB9CisgICAg
CiAgICAgcmV0dXJuIHN0cmVhbS5yZWxlYXNlKCk7CiB9CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>