<?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>204725</bug_id>
          
          <creation_ts>2019-12-01 06:33:32 -0800</creation_ts>
          <short_desc>Regression (r252893): loader/stateobjects/pushstate-size.html is crashing on mac debug</short_desc>
          <delta_ts>2019-12-01 07:51:18 -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>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=204613</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>koivisto</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>pdr</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>1594401</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-12-01 06:33:32 -0800</bug_when>
    <thetext>loader/stateobjects/pushstate-size.html is consistently crashing on mac Debug.

Flakiness dashboard:
https://results.webkit.org/?suite=layout-tests&amp;test=loader%2Fstateobjects%2Fpushstate-size.html

e.g.:
Mojave: https://build.webkit.org/results/Apple%20Mojave%20Debug%20WK2%20(Tests)/r252893%20(6061)/results.html
high sierra: https://build.webkit.org/results/Apple%20High%20Sierra%20Debug%20WK1%20(Tests)/r252893%20(11984)/results.html
Catalina: https://build.webkit.org/results/Apple-Catalina-Debug-WK2-Tests/r252893%20(863)/results.html
on EWS: https://ews-build.webkit.org/results/macOS-High-Sierra-Debug-WK1-Tests-EWS/r384569-7537-clean-tree/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594402</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-12-01 06:34:48 -0800</bug_when>
    <thetext>Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [199]

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 0000000106852000-0000000106853000 [    4K] r-x/r-x SM=COW  /Volumes/VOLUME/*/*.Development

Application Specific Information:
CRASHING TEST: loader/stateobjects/pushstate-size.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000012eca831e WTFCrash + 14 (Assertions.cpp:305)
1   com.apple.WebCore             	0x00000001142a6d9b WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebCore             	0x0000000117fb87a6 WebCore::RenderBlockFlow::inlineSelectionGaps(WebCore::RenderBlock&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutSize const&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LogicalSelectionOffsetCaches const&amp;, WebCore::PaintInfo const*) + 198 (RenderBlockFlow.cpp:3141)
3   com.apple.WebCore             	0x0000000117f93209 WebCore::RenderBlock::selectionGaps(WebCore::RenderBlock&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutSize const&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LogicalSelectionOffsetCaches const&amp;, WebCore::PaintInfo const*) + 1065 (RenderBlock.cpp:1548)
4   com.apple.WebCore             	0x0000000117f9414e WebCore::RenderBlock::blockSelectionGaps(WebCore::RenderBlock&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutSize const&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LogicalSelectionOffsetCaches const&amp;, WebCore::PaintInfo const*) + 2302 (RenderBlock.cpp:1629)
5   com.apple.WebCore             	0x0000000117f93294 WebCore::RenderBlock::selectionGaps(WebCore::RenderBlock&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutSize const&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;, WebCore::LogicalSelectionOffsetCaches const&amp;, WebCore::PaintInfo const*) + 1204 (RenderBlock.cpp:1550)
6   com.apple.WebCore             	0x0000000117f9172f WebCore::RenderBlock::paintSelection(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;) + 319 (RenderBlock.cpp:1460)
7   com.apple.WebCore             	0x0000000117f90fb7 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;) + 1079 (RenderBlock.cpp:1297)
8   com.apple.WebCore             	0x0000000117f8f7de WebCore::RenderBlock::paint(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;) + 238 (RenderBlock.cpp:1115)
9   com.apple.WebCore             	0x0000000117f9057a WebCore::RenderBlock::paintChild(WebCore::RenderBox&amp;, WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;, WebCore::PaintInfo&amp;, bool, WebCore::RenderBlock::PaintBlockType) + 1002 (RenderBlock.cpp:1192)
10  com.apple.WebCore             	0x0000000117f90161 WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;, WebCore::PaintInfo&amp;, bool) + 129 (RenderBlock.cpp:1155)
11  com.apple.WebCore             	0x0000000117f900ab WebCore::RenderBlock::paintContents(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;) + 379 (RenderBlock.cpp:1150)
12  com.apple.WebCore             	0x0000000117f90f74 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;) + 1012
13  com.apple.WebCore             	0x0000000117f8f7de WebCore::RenderBlock::paint(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;) + 238 (RenderBlock.cpp:1115)
14  com.apple.WebCore             	0x00000001180ea4f3 WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul&gt; const&amp;, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*) + 691 (RenderLayer.cpp:5035)
15  com.apple.WebCore             	0x00000001180e808a WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul&gt; const&amp;, WebCore::GraphicsContext&amp;, WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;, bool, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*) + 1466 (RenderLayer.cpp:5011)
16  com.apple.WebCore             	0x00000001180e450a WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) + 3466 (RenderLayer.cpp:4606)
17  com.apple.WebCore             	0x00000001180e3711 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) + 417 (RenderLayer.cpp:4328)
18  com.apple.WebCore             	0x00000001180e26c5 WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) + 1221 (RenderLayer.cpp:4310)
19  com.apple.WebCore             	0x00000001180e18ed WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) + 365 (RenderLayer.cpp:4249)
20  com.apple.WebCore             	0x00000001180e7aa4 WebCore::RenderLayer::paintList(WebCore::RenderLayer::LayerList, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) + 196 (RenderLayer.cpp:4730)
21  com.apple.WebCore             	0x00000001180e4616 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) + 3734 (RenderLayer.cpp:4622)
22  com.apple.WebCore             	0x0000000118103d2c WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::EventRegionContext*)::$_10::operator()(WebCore::RenderLayer&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) const + 396 (RenderLayerBacking.cpp:2823)
23  com.apple.WebCore             	0x0000000118103717 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::EventRegionContext*) + 375 (RenderLayerBacking.cpp:2838)
24  com.apple.WebCore             	0x0000000118104ed2 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int) + 738 (RenderLayerBacking.cpp:3045)
25  com.apple.WebCore             	0x0000000117b74c30 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int) + 224 (GraphicsLayer.cpp:517)
26  com.apple.WebCore             	0x0000000117be90cd WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int) + 509 (GraphicsLayerCA.cpp:1700)
27  com.apple.WebCore             	0x00000001159b2714 WebCore::PlatformCALayer::drawLayerContents(CGContext*, WebCore::PlatformCALayer*, WTF::Vector&lt;WebCore::FloatRect, 5ul, WTF::CrashOnOverflow, 16ul&gt;&amp;, unsigned int) + 884 (PlatformCALayerCocoa.mm:1199)
28  com.apple.WebCore             	0x0000000117c32fb8 WebCore::TileGrid::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int) + 344 (TileGrid.cpp:734)
29  com.apple.WebCore             	0x0000000115b84ca6 -[WebSimpleLayer drawInContext:] + 454 (WebLayer.mm:135)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594404</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-12-01 06:37:47 -0800</bug_when>
    <thetext>Seems likes a regression from r252893.

Failed on r252893 in https://build.webkit.org/builders/Apple%20Mojave%20Debug%20WK2%20%28Tests%29/builds/6061

Passed on r252892 in https://build.webkit.org/builders/Apple%20Mojave%20Debug%20WK2%20%28Tests%29/builds/6060</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594405</commentid>
    <comment_count>3</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-12-01 06:44:54 -0800</bug_when>
    <thetext>Actually this is very flaky (rather than consistent).

This causes a lot of false positives on EWS, e.g.:
https://ews-build.webkit.org/#/builders/17/builds/7521
https://ews-build.webkit.org/#/builders/17/builds/7522
https://ews-build.webkit.org/#/builders/17/builds/7523</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594413</commentid>
    <comment_count>4</comment_count>
      <attachid>384571</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2019-12-01 07:38:42 -0800</bug_when>
    <thetext>Created attachment 384571
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594414</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2019-12-01 07:50:45 -0800</bug_when>
    <thetext>https://trac.webkit.org/changeset/252968/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594415</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-12-01 07:51:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/57544563&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>384571</attachid>
            <date>2019-12-01 07:38:42 -0800</date>
            <delta_ts>2019-12-01 07:49:08 -0800</delta_ts>
            <desc>patch</desc>
            <filename>layout-path-bitfield-fix.patch</filename>
            <type>text/plain</type>
            <size>1266</size>
            <attacher name="Antti Koivisto">koivisto</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5n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