<?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>235574</bug_id>
          
          <creation_ts>2022-01-25 04:25:52 -0800</creation_ts>
          <short_desc>ASSERTION FAILED: outer.contains(inner) ../../Source/WebCore/rendering/style/NinePieceImage.cpp(129)</short_desc>
          <delta_ts>2022-02-01 04:26:21 -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>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="A">alset0326</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1833665</commentid>
    <comment_count>0</comment_count>
      <attachid>449915</attachid>
    <who name="A">alset0326</who>
    <bug_when>2022-01-25 04:25:52 -0800</bug_when>
    <thetext>Created attachment 449915
the html trigger crash

1. build a debug webkit
2. open html
3. crash


ASSERTION FAILED: outer.contains(inner)
../../Source/WebCore/rendering/style/NinePieceImage.cpp(129) : static WTF::Vector&lt;WebCore::FloatRect&gt; WebCore::NinePieceImage::computeNineRects(const WebCore::FloatRect&amp;, const LayoutB
oxExtent&amp;, float)
1   0x7fac915b0964 WTFReportBacktrace
2   0x7fac915b0c01 WTFCrash
3   0x7facab0a7ba1 WTF::CrashOnOverflow::overflowed()
4   0x7facb4f34707 WebCore::NinePieceImage::computeNineRects(WebCore::FloatRect const&amp;, WebCore::RectEdges&lt;WebCore::LayoutUnit&gt; const&amp;, float)
5   0x7facb4f379a7 WebCore::NinePieceImage::paint(WebCore::GraphicsContext&amp;, WebCore::RenderElement*, WebCore::RenderStyle const&amp;, WebCore::LayoutRect const&amp;, WebCore::LayoutSize const
&amp;, float, WebCore::CompositeOperator) const
6   0x7facb494f122 WebCore::RenderBoxModelObject::paintNinePieceImage(WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;, WebCore::RenderStyle const&amp;, WebCore::NinePieceImage const&amp;
, WebCore::CompositeOperator)
7   0x7facb49562d6 WebCore::RenderBoxModelObject::paintBorder(WebCore::PaintInfo const&amp;, WebCore::LayoutRect const&amp;, WebCore::RenderStyle const&amp;, WebCore::BackgroundBleedAvoidance, boo
l, bool)
8   0x7facb48fb042 WebCore::RenderBox::paintBoxDecorations(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
9   0x7facb47e921d WebCore::RenderBlock::paintObject(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
10  0x7facb47e7563 WebCore::RenderBlock::paint(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
11  0x7facb4b1099c WebCore::RenderLayer::paintBackgroundForFragments(WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;, WebCore::GraphicsCont
ext&amp;, WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;, bool, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*)
12  0x7facb4b0b541 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFl
ag&gt;)
13  0x7facb4b06b08 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer:
:PaintLayerFlag&gt;)
14  0x7facb4b06517 WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLaye
rFlag&gt;)
15  0x7facb4b056f0 WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
16  0x7facb4b0d7a4 WebCore::RenderLayer::paintList(WebCore::RenderLayer::LayerList, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::R
enderLayer::PaintLayerFlag&gt;)
17  0x7facb4b0b915 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFl
ag&gt;)
18  0x7facb4b58b0f /home/lxc/fuzz/webkit/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x1e113b0f) [0x7facb4b58b0f]
19  0x7facb4b59539 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;
, WebCore::EventRegionContext*)
20  0x7facb4b5b4d0 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int)
21  0x7facb4034f37 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int)
22  0x7facae45a84a /home/lxc/fuzz/webkit/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x17a1584a) [0x7facae45a84a]
23  0x7facae45af58 /home/lxc/fuzz/webkit/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x17a15f58) [0x7facae45af58]
24  0x7facae45ad6e Nicosia::PaintingEngineBasic::paint(WebCore::GraphicsLayer&amp;, WTF::Ref&lt;Nicosia::Buffer, WTF::RawPtrTraits&lt;Nicosia::Buffer&gt; &gt;&amp;&amp;, WebCore::IntRect const&amp;, WebCore::IntR
ect const&amp;, WebCore::IntRect const&amp;, float)
25  0x7facae43378f WebCore::CoordinatedGraphicsLayer::updateContentBuffers()
26  0x7facae4323e2 WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1835912</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-01 04:26:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/88322193&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>449915</attachid>
            <date>2022-01-25 04:25:52 -0800</date>
            <delta_ts>2022-01-25 04:25:52 -0800</delta_ts>
            <desc>the html trigger crash</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>275</size>
            <attacher name="A">alset0326</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGlkPSJodG1sIj4KCjxzY3JpcHQ+CiAKICAgIG5vZGVfMD1k
b2N1bWVudC5nZXRFbGVtZW50QnlJZCgnaHRtbCcpCiAgICBfOTUgPSAnbGluZWFyLWdyYWRpZW50
KHJlZCxcdXsyMH1ibHVlKVx1ezIwfTM0MTkxMDU1MDA5MzAwMTYwMDAwMFx1ezIwfS9cdXsyMH04
NjUxMDI3MjMyOTQzMjQ3MDAwMHB4Jztub2RlXzAuc3R5bGUuYm9yZGVySW1hZ2UgPSBfOTU7CiAg
ICAvLyBhbGVydChub2RlXzAuY2xhc3NOYW1lKQo8L3NjcmlwdD4KCjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>