<?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>135794</bug_id>
          
          <creation_ts>2014-08-11 01:57:29 -0700</creation_ts>
          <short_desc>[CSS Grid Layout] ASSERTION FAILED: tracksAreWiderThanMinTrackBreadth(ForRows, sizingData.rowTracks) in WebCore::RenderGrid::layoutGridItems</short_desc>
          <delta_ts>2015-03-20 10:52:20 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>116980</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Renata Hodovan">rhodovan.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>jfernandez</cc>
    
    <cc>rego</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1028146</commentid>
    <comment_count>0</comment_count>
      <attachid>236358</attachid>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2014-08-11 01:57:29 -0700</bug_when>
    <thetext>Created attachment 236358
Test case

The failing test:

&lt;style&gt;
* {
    display: -webkit-grid;
    min-height: 90085070;
    -webkit-grid-row:  90;
}
&lt;/style&gt;
&lt;form&gt;
    &lt;button&gt;&lt;/button&gt;
&lt;/form&gt;


Note: if the doctype is defined then we the crash disappears.


Backtrace:

ASSERTION FAILED: tracksAreWiderThanMinTrackBreadth(ForRows, sizingData.rowTracks)
../../Source/WebCore/rendering/RenderGrid.cpp(851) : void WebCore::RenderGrid::layoutGridItems()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff97537700 (LWP 4607)]
0x000000000044c8a9 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:329
329	    *(int *)(uintptr_t)0xbbadbeef = 0;
#0  0x000000000044c8a9 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:329
#1  0x00007ffff3f9a068 in WebCore::RenderGrid::layoutGridItems (this=0x86a830) at ../../Source/WebCore/rendering/RenderGrid.cpp:851
#2  0x00007ffff3f965a3 in WebCore::RenderGrid::layoutBlock (this=0x86a830, relayoutChildren=false) at ../../Source/WebCore/rendering/RenderGrid.cpp:218
#3  0x00007ffff3ec1625 in WebCore::RenderBlock::layout (this=0x86a830) at ../../Source/WebCore/rendering/RenderBlock.cpp:1018
#4  0x00007ffff3eec5b6 in WebCore::RenderBlockFlow::layoutBlockChild (this=0x84b060, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:713
#5  0x00007ffff3eec0f8 in WebCore::RenderBlockFlow::layoutBlockChildren (this=0x84b060, relayoutChildren=true, maxFloatLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:632
#6  0x00007ffff3eeb5f6 in WebCore::RenderBlockFlow::layoutBlock (this=0x84b060, relayoutChildren=true, pageLogicalHeight=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:485
#7  0x00007ffff3ec1625 in WebCore::RenderBlock::layout (this=0x84b060) at ../../Source/WebCore/rendering/RenderBlock.cpp:1018
#8  0x00007ffff4099831 in WebCore::RenderView::layoutContent (this=0x84b060, state=...) at ../../Source/WebCore/rendering/RenderView.cpp:232
#9  0x00007ffff4099eea in WebCore::RenderView::layout (this=0x84b060) at ../../Source/WebCore/rendering/RenderView.cpp:357
#10 0x00007ffff3c5c5ae in WebCore::FrameView::layout (this=0x9c4470, allowSubtree=true) at ../../Source/WebCore/page/FrameView.cpp:1282
#11 0x00007ffff36d23cf in WebCore::Document::implicitClose (this=0x862730) at ../../Source/WebCore/dom/Document.cpp:2438
#12 0x00007ffff3b2b391 in WebCore::FrameLoader::checkCallImplicitClose (this=0x91e588) at ../../Source/WebCore/loader/FrameLoader.cpp:898
#13 0x00007ffff3b2b13c in WebCore::FrameLoader::checkCompleted (this=0x91e588) at ../../Source/WebCore/loader/FrameLoader.cpp:844
#14 0x00007ffff3b2aec4 in WebCore::FrameLoader::finishedParsing (this=0x91e588) at ../../Source/WebCore/loader/FrameLoader.cpp:764
#15 0x00007ffff36d9cf1 in WebCore::Document::finishedParsing (this=0x862730) at ../../Source/WebCore/dom/Document.cpp:4516
#16 0x00007ffff39cf05f in WebCore::HTMLConstructionSite::finishedParsing (this=0x83c538) at ../../Source/WebCore/html/parser/HTMLConstructionSite.cpp:395
#17 0x00007ffff3a094d1 in WebCore::HTMLTreeBuilder::finished (this=0x83c520) at ../../Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2997
#18 0x00007ffff39d6bfa in WebCore::HTMLDocumentParser::end (this=0x9b5380) at ../../Source/WebCore/html/parser/HTMLDocumentParser.cpp:451
#19 0x00007ffff39d6ce5 in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x9b5380) at ../../Source/WebCore/html/parser/HTMLDocumentParser.cpp:462
#20 0x00007ffff39d5853 in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x9b5380) at ../../Source/WebCore/html/parser/HTMLDocumentParser.cpp:165
#21 0x00007ffff39d6d28 in WebCore::HTMLDocumentParser::attemptToEnd (this=0x9b5380) at ../../Source/WebCore/html/parser/HTMLDocumentParser.cpp:474
#22 0x00007ffff39d6ddf in WebCore::HTMLDocumentParser::finish (this=0x9b5380) at ../../Source/WebCore/html/parser/HTMLDocumentParser.cpp:502
#23 0x00007ffff3b1e063 in WebCore::DocumentWriter::end (this=0x8a4a80) at ../../Source/WebCore/loader/DocumentWriter.cpp:250
#24 0x00007ffff3b0b0b7 in WebCore::DocumentLoader::finishedLoading (this=0x8a49e0, finishTime=0) at ../../Source/WebCore/loader/DocumentLoader.cpp:441
#25 0x00007ffff3b0ae20 in WebCore::DocumentLoader::notifyFinished (this=0x8a49e0, resource=0x8d7990) at ../../Source/WebCore/loader/DocumentLoader.cpp:375
#26 0x00007ffff3bb199b in WebCore::CachedResource::checkNotify (this=0x8d7990) at ../../Source/WebCore/loader/cache/CachedResource.cpp:334
#27 0x00007ffff3bb1a82 in WebCore::CachedResource::finishLoading (this=0x8d7990) at ../../Source/WebCore/loader/cache/CachedResource.cpp:350
#28 0x00007ffff3baea21 in WebCore::CachedRawResource::finishLoading (this=0x8d7990, data=0x7d3a80) at ../../Source/WebCore/loader/cache/CachedRawResource.cpp:101
#29 0x00007ffff3b654ae in WebCore::SubresourceLoader::didFinishLoading (this=0x8d7ef0, finishTime=0) at ../../Source/WebCore/loader/SubresourceLoader.cpp:310
#30 0x00007ffff3b6199b in WebCore::ResourceLoader::didFinishLoading (this=0x8d7ef0, finishTime=0) at ../../Source/WebCore/loader/ResourceLoader.cpp:518
#31 0x00007ffff441bf5b in WebCore::readCallback (asyncResult=0x8ac1f0, data=0x8a32a0) at ../../Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:1302
#32 0x00007fffee5732ea in async_ready_callback_wrapper (source_object=0xa59b30, res=0x8ac1f0, user_data=0x8a32a0) at ginputstream.c:519
#33 0x00007fffee592ceb in g_task_return_now (task=0x8ac1f0) at gtask.c:1108
#34 0x00007fffee592d09 in complete_in_idle_cb (task=0x8ac1f0) at gtask.c:1117
#35 0x00007fffee8c22e6 in g_main_dispatch (context=0x744bb0) at gmain.c:3065
#36 g_main_context_dispatch (context=context@entry=0x744bb0) at gmain.c:3641
#37 0x00007fffee8c2638 in g_main_context_iterate (context=0x744bb0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at gmain.c:3712
#38 0x00007fffee8c2a3a in g_main_loop_run (loop=0x7d6c40) at gmain.c:3906
#39 0x00007ffff4a67850 in WTF::RunLoop::run () at ../../Source/WTF/wtf/gtk/RunLoopGtk.cpp:59
#40 0x00007ffff321d850 in WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt; (argc=2, argv=0x7fffffffda58) at ../../Source/WebKit2/Shared/unix/ChildProcessMain.h:61
#41 0x00007ffff321d6b5 in WebKit::WebProcessMainUnix (argc=2, argv=0x7fffffffda58) at ../../Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp:73
#42 0x000000000044c28d in main (argc=2, argv=0x7fffffffda58) at ../../Source/WebKit2/WebProcess/EntryPoint/unix/WebProcessMain.cpp:32</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078890</commentid>
    <comment_count>1</comment_count>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2015-03-20 10:52:20 -0700</bug_when>
    <thetext>The issue is not reproducible on the trunk. We can close it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>236358</attachid>
            <date>2014-08-11 01:57:29 -0700</date>
            <delta_ts>2014-08-11 01:57:29 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>crash.html</filename>
            <type>text/html</type>
            <size>139</size>
            <attacher name="Renata Hodovan">rhodovan.u-szeged</attacher>
            
              <data encoding="base64">PHN0eWxlPgoqIHsKICAgIGRpc3BsYXk6IC13ZWJraXQtZ3JpZDsKICAgIG1pbi1oZWlnaHQ6IDkw
MDg1MDcwOwogICAgLXdlYmtpdC1ncmlkLXJvdzogIDkwOwp9Cjwvc3R5bGU+Cjxmb3JtPgogICAg
PGJ1dHRvbj48L2J1dHRvbj4KPC9mb3JtPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>