<?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>136368</bug_id>
          
          <creation_ts>2014-08-29 06:12:37 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: lineRuns.size() == 1 in WebCore::SimpleLineLayout::createLineRuns</short_desc>
          <delta_ts>2015-01-29 06:46:07 -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>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>kling</cc>
    
    <cc>koivisto</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1032150</commentid>
    <comment_count>0</comment_count>
      <attachid>237346</attachid>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2014-08-29 06:12:37 -0700</bug_when>
    <thetext>Created attachment 237346
Test case

The test case:

&lt;!DOCTYPE html&gt;
&lt;body&gt;a&lt;/body&gt;
&lt;style&gt;
style {
    font-variant:small-caps;
    display:inline-block;
}
*{
    max-width:10.0%;
    font-size:0.400px;
}
&lt;/style&gt;


Backtrace:

ASSERTION FAILED: lineRuns.size() == 1
/home/reni/data/REPOS/webkit/Source/WebCore/rendering/SimpleLineLayout.cpp(357) : WTF::Vector&lt;WebCore::SimpleLineLayout::Run, 4ul&gt; WebCore::SimpleLineLayout::createLineRuns(unsigned int, WebCore::LineWidth&amp;, WebCore::LazyLineBreakIterator&amp;, const WebCore::SimpleLineLayout::Style&amp;, const CharacterType*, unsigned int, const WebCore::RenderText&amp;) [with CharacterType = unsigned char]
1   0x7ffff3ef343b WTFCrash
2   0x7ffff30e5d64 WTF::Vector&lt;WebCore::SimpleLineLayout::Run, 4ul, WTF::CrashOnOverflow&gt; WebCore::SimpleLineLayout::createLineRuns&lt;unsigned char&gt;(unsigned int, WebCore::LineWidth&amp;, WebCore::LazyLineBreakIterator&amp;, WebCore::SimpleLineLayout::Style const&amp;, unsigned char const*, unsigned int, WebCore::RenderText const&amp;)
3   0x7ffff30e4d69 void WebCore::SimpleLineLayout::createTextRuns&lt;unsigned char&gt;(WTF::Vector&lt;WebCore::SimpleLineLayout::Run, 10ul, WTF::CrashOnOverflow&gt;&amp;, unsigned int&amp;, WebCore::RenderBlockFlow&amp;, WebCore::RenderText&amp;)
4   0x7ffff30e3dc4 WebCore::SimpleLineLayout::create(WebCore::RenderBlockFlow&amp;)
5   0x7ffff2f0e68e WebCore::RenderBlockFlow::layoutSimpleLines(WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
6   0x7ffff2f00383 WebCore::RenderBlockFlow::layoutInlineChildren(bool, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
7   0x7ffff2eff6aa WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
8   0x7ffff2ed25af WebCore::RenderBlock::layout()
9   0x7ffff2ea616b WebCore::RenderElement::layoutIfNeeded()
10  0x7ffff2f1f916 WebCore::RenderBlockFlow::layoutLineBoxes(bool, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
11  0x7ffff2f003b4 WebCore::RenderBlockFlow::layoutInlineChildren(bool, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
12  0x7ffff2eff6aa WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
13  0x7ffff2ed25af WebCore::RenderBlock::layout()
14  0x7ffff2f00790 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&amp;, WebCore::RenderBlockFlow::MarginInfo&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
15  0x7ffff2f002b1 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&amp;)
16  0x7ffff2eff6ce WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
17  0x7ffff2ed25af WebCore::RenderBlock::layout()
18  0x7ffff2f00790 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&amp;, WebCore::RenderBlockFlow::MarginInfo&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
19  0x7ffff2f002b1 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&amp;)
20  0x7ffff2eff6ce WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
21  0x7ffff2ed25af WebCore::RenderBlock::layout()
22  0x7ffff30bd207 WebCore::RenderView::layoutContent(WebCore::LayoutState const&amp;)
23  0x7ffff30bd8d7 WebCore::RenderView::layout()
24  0x7ffff2cfd2e5 WebCore::FrameView::layout(bool)
25  0x7ffff27e806b WebCore::Document::implicitClose()
26  0x7ffff2bc4749 WebCore::FrameLoader::checkCallImplicitClose()
27  0x7ffff2bc44b1 WebCore::FrameLoader::checkCompleted()
28  0x7ffff2bc421a WebCore::FrameLoader::finishedParsing()
29  0x7ffff27f0aed WebCore::Document::finishedParsing()
30  0x7ffff39011b9 WebCore::HTMLConstructionSite::finishedParsing()
31  0x7ffff2adf389 WebCore::HTMLTreeBuilder::finished()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff91255700 (LWP 5751)]
0x00007ffff3ef3440 in WTFCrash () at /home/reni/data/REPOS/webkit/Source/WTF/wtf/Assertions.cpp:329
329     *(int *)(uintptr_t)0xbbadbeef = 0;
#0  0x00007ffff3ef3440 in WTFCrash () at /home/reni/data/REPOS/webkit/Source/WTF/wtf/Assertions.cpp:329
#1  0x00007ffff30e5d64 in WebCore::SimpleLineLayout::createLineRuns&lt;unsigned char&gt; (lineStart=7, lineWidth=..., lineBreakIterator=..., style=..., text=0x707474 &quot;\nstyle {\n    font-variant:small-caps;\n    display:inline-block;\n}\n*{\n    max-width:10.0%;\n    font-size:0.400px;\n}\n&quot;, textLength=115, textRenderer=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/SimpleLineLayout.cpp:357
#2  0x00007ffff30e4d69 in WebCore::SimpleLineLayout::createTextRuns&lt;unsigned char&gt; (runs=..., lineCount=@0x7fffffffb954: 1, flow=..., textRenderer=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/SimpleLineLayout.cpp:421
#3  0x00007ffff30e3dc4 in WebCore::SimpleLineLayout::create (flow=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/SimpleLineLayout.cpp:448
#4  0x00007ffff2f0e68e in WebCore::RenderBlockFlow::layoutSimpleLines (this=0x7c8560, repaintLogicalTop=..., repaintLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:3435
#5  0x00007ffff2f00383 in WebCore::RenderBlockFlow::layoutInlineChildren (this=0x7c8560, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:647
#6  0x00007ffff2eff6aa in WebCore::RenderBlockFlow::layoutBlock (this=0x7c8560, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:483
#7  0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x7c8560) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#8  0x00007ffff2ea616b in WebCore::RenderElement::layoutIfNeeded (this=0x7c8560) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderElement.h:102
#9  0x00007ffff2f1f916 in WebCore::RenderBlockFlow::layoutLineBoxes (this=0x711a90, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockLineLayout.cpp:1446
#10 0x00007ffff2f003b4 in WebCore::RenderBlockFlow::layoutInlineChildren (this=0x711a90, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:652
#11 0x00007ffff2eff6aa in WebCore::RenderBlockFlow::layoutBlock (this=0x711a90, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:483
#12 0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x711a90) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#13 0x00007ffff2f00790 in WebCore::RenderBlockFlow::layoutBlockChild (this=0x70e230, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:711
#14 0x00007ffff2f002b1 in WebCore::RenderBlockFlow::layoutBlockChildren (this=0x70e230, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:632
#15 0x00007ffff2eff6ce in WebCore::RenderBlockFlow::layoutBlock (this=0x70e230, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:485
#16 0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x70e230) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#17 0x00007ffff2f00790 in WebCore::RenderBlockFlow::layoutBlockChild (this=0x6fc630, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:711
#18 0x00007ffff2f002b1 in WebCore::RenderBlockFlow::layoutBlockChildren (this=0x6fc630, relayoutChildren=true, maxFloatLogicalBottom=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:632
#19 0x00007ffff2eff6ce in WebCore::RenderBlockFlow::layoutBlock (this=0x6fc630, relayoutChildren=true, pageLogicalHeight=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlockFlow.cpp:485
#20 0x00007ffff2ed25af in WebCore::RenderBlock::layout (this=0x6fc630) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderBlock.cpp:1019
#21 0x00007ffff30bd207 in WebCore::RenderView::layoutContent (this=0x6fc630, state=...) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderView.cpp:232
#22 0x00007ffff30bd8d7 in WebCore::RenderView::layout (this=0x6fc630) at /home/reni/data/REPOS/webkit/Source/WebCore/rendering/RenderView.cpp:357
#23 0x00007ffff2cfd2e5 in WebCore::FrameView::layout (this=0x734c80, allowSubtree=true) at /home/reni/data/REPOS/webkit/Source/WebCore/page/FrameView.cpp:1301
#24 0x00007ffff27e806b in WebCore::Document::implicitClose (this=0x70f260) at /home/reni/data/REPOS/webkit/Source/WebCore/dom/Document.cpp:2440
#25 0x00007ffff2bc4749 in WebCore::FrameLoader::checkCallImplicitClose (this=0x6cfd98) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/FrameLoader.cpp:898
#26 0x00007ffff2bc44b1 in WebCore::FrameLoader::checkCompleted (this=0x6cfd98) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/FrameLoader.cpp:844
#27 0x00007ffff2bc421a in WebCore::FrameLoader::finishedParsing (this=0x6cfd98) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/FrameLoader.cpp:764
#28 0x00007ffff27f0aed in WebCore::Document::finishedParsing (this=0x70f260) at /home/reni/data/REPOS/webkit/Source/WebCore/dom/Document.cpp:4523
#29 0x00007ffff39011b9 in WebCore::HTMLConstructionSite::finishedParsing (this=0x781218) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLConstructionSite.cpp:395
#30 0x00007ffff2adf389 in WebCore::HTMLTreeBuilder::finished (this=0x781200) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2997
#31 0x00007ffff2ab1028 in WebCore::HTMLDocumentParser::end (this=0x70ea30) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:451
#32 0x00007ffff2ab1113 in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x70ea30) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:462
#33 0x00007ffff2aafac9 in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x70ea30) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:165
#34 0x00007ffff2ab1156 in WebCore::HTMLDocumentParser::attemptToEnd (this=0x70ea30) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:474
#35 0x00007ffff2ab120d in WebCore::HTMLDocumentParser::finish (this=0x70ea30) at /home/reni/data/REPOS/webkit/Source/WebCore/html/parser/HTMLDocumentParser.cpp:502
#36 0x00007ffff2bb5911 in WebCore::DocumentWriter::end (this=0x783d40) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/DocumentWriter.cpp:250
#37 0x00007ffff2ba0ea7 in WebCore::DocumentLoader::finishedLoading (this=0x783ca0, finishTime=0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/DocumentLoader.cpp:441
#38 0x00007ffff2ba0c10 in WebCore::DocumentLoader::notifyFinished (this=0x783ca0, resource=0x79ebc0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/DocumentLoader.cpp:375
#39 0x00007ffff2c54952 in WebCore::CachedResource::checkNotify (this=0x79ebc0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/cache/CachedResource.cpp:333
#40 0x00007ffff2c54a5c in WebCore::CachedResource::finishLoading (this=0x79ebc0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/cache/CachedResource.cpp:349
#41 0x00007ffff2c5138a in WebCore::CachedRawResource::finishLoading (this=0x79ebc0, data=0x6c2e40) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/cache/CachedRawResource.cpp:101
#42 0x00007ffff2c0452c in WebCore::SubresourceLoader::didFinishLoading (this=0x79f120, finishTime=0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/SubresourceLoader.cpp:306
#43 0x00007ffff2c001bb in WebCore::ResourceLoader::didFinishLoading (this=0x79f120, finishTime=0) at /home/reni/data/REPOS/webkit/Source/WebCore/loader/ResourceLoader.cpp:512
#44 0x00007ffff339390d in WebCore::readCallback (asyncResult=0x7a31f0, data=0x79f7a0) at /home/reni/data/REPOS/webkit/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:1302
#45 0x00007fffeb3c1816 in async_ready_callback_wrapper (source_object=0x6c4db0, res=0x7a31f0, user_data=user_data@entry=0x79f7a0) at ginputstream.c:523
#46 0x00007fffeb3e7115 in g_task_return_now (task=0x7a31f0) at gtask.c:1077
#47 0x00007fffeb3e7139 in complete_in_idle_cb (task=0x7a31f0) at gtask.c:1086
#48 0x00007fffeae23a7d in g_main_dispatch (context=0x6bc360) at gmain.c:3064
#49 g_main_context_dispatch (context=context@entry=0x6bc360) at gmain.c:3663
#50 0x00007fffec6875e0 in _ecore_glib_select__locked (ecore_timeout=&lt;optimized out&gt;, efds=&lt;optimized out&gt;, wfds=0x7fffffffd5d0, rfds=0x7fffffffd550, ecore_fds=10, ctx=&lt;optimized out&gt;) at lib/ecore/ecore_glib.c:172
#51 _ecore_glib_select (ecore_fds=10, rfds=0x7fffffffd550, wfds=0x7fffffffd5d0, efds=&lt;optimized out&gt;, ecore_timeout=&lt;optimized out&gt;) at lib/ecore/ecore_glib.c:204
#52 0x00007fffec689ff4 in _ecore_main_select (timeout=&lt;optimized out&gt;) at lib/ecore/ecore_main.c:1579
#53 0x00007fffec68a995 in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at lib/ecore/ecore_main.c:2005
#54 0x00007fffec68aa57 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1042
#55 0x00007ffff3f38db5 in WTF::RunLoop::run () at /home/reni/data/REPOS/webkit/Source/WTF/wtf/efl/RunLoopEfl.cpp:51
#56 0x00007ffff207062a in WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt; (argc=2, argv=0x7fffffffda78) at /home/reni/data/REPOS/webkit/Source/WebKit2/Shared/unix/ChildProcessMain.h:61
#57 0x00007ffff2070408 in WebKit::WebProcessMainUnix (argc=2, argv=0x7fffffffda78) at /home/reni/data/REPOS/webkit/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp:124
#58 0x000000000040084d in main (argc=2, argv=0x7fffffffda78) at /home/reni/data/REPOS/webkit/Source/WebKit2/WebProcess/EntryPoint/unix/WebProcessMain.cpp:32</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1065222</commentid>
    <comment_count>1</comment_count>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2015-01-29 06:46:07 -0800</bug_when>
    <thetext>I can&apos;t repro this anymore.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>237346</attachid>
            <date>2014-08-29 06:12:37 -0700</date>
            <delta_ts>2014-08-29 06:12:37 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>crash.html</filename>
            <type>text/html</type>
            <size>161</size>
            <attacher name="Renata Hodovan">rhodovan.u-szeged</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+Cjxib2R5PmE8L2JvZHk+CjxzdHlsZT4Kc3R5bGUgewogICAgZm9udC12
YXJpYW50OnNtYWxsLWNhcHM7CiAgICBkaXNwbGF5OmlubGluZS1ibG9jazsKfQoqewogICAgbWF4
LXdpZHRoOjEwLjAlOwogICAgZm9udC1zaXplOjAuNDAwcHg7Cn0KPC9zdHlsZT4=
</data>

          </attachment>
      

    </bug>

</bugzilla>