<?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>128541</bug_id>
          
          <creation_ts>2014-02-10 10:26:03 -0800</creation_ts>
          <short_desc>REGRESSION: svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures.html frequently asserts in ComplexTextController::offsetForPosition</short_desc>
          <delta_ts>2014-02-10 14:47:26 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>119747</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>MakingBotsRed, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>krit</cc>
    
    <cc>mitz</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>rniwa</cc>
    
    <cc>zalan</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>978950</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-02-10 10:26:03 -0800</bug_when>
    <thetext>svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures.html has started to ASSERT very frequently on February 7th:

SHOULD NEVER BE REACHED
/Volumes/Data/slave/mavericks-debug/build/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp(261) : int WebCore::ComplexTextController::offsetForPosition(float, bool)
1   0x111d834b0 WTFCrash
2   0x11307803c WebCore::ComplexTextController::offsetForPosition(float, bool)
3   0x113685942 WebCore::Font::offsetForPositionForComplexText(WebCore::TextRun const&amp;, float, bool) const
4   0x113669506 WebCore::Font::offsetForPosition(WebCore::TextRun const&amp;, float, bool) const
5   0x1139c7778 WebCore::InlineTextBox::offsetForPosition(float, bool) const
6   0x1139bfe3a WebCore::InlineTextBox::placeEllipsisBox(bool, float, float, float, float&amp;, bool&amp;)
7   0x1139b4fe9 WebCore::InlineFlowBox::placeEllipsisBox(bool, float, float, float, float&amp;, bool&amp;)
8   0x1146f141e WebCore::RootInlineBox::placeEllipsisBox(bool, float, float, float, float&amp;, bool&amp;)
9   0x1146f1276 WebCore::RootInlineBox::placeEllipsis(WTF::AtomicString const&amp;, bool, float, float, float, WebCore::InlineBox*)
10  0x114414995 WebCore::RenderBlockFlow::checkLinesForTextOverflow()
11  0x114414085 WebCore::RenderBlockFlow::layoutLineBoxes(bool, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
12  0x114ca0561 WebCore::RenderBlockFlow::layoutInlineChildren(bool, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)
13  0x114c9f394 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
14  0x1143d3e6d WebCore::RenderBlock::layout()
15  0x114ca2bbb WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&amp;, WebCore::RenderBlockFlow::MarginInfo&amp;, WebCore::LayoutUnit&amp;, WebCore::LayoutUnit&amp;)

http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=svg%2Ftext%2Ftext-overflow-ellipsis-svgfont-kerning-ligatures.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978953</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-02-10 10:28:55 -0800</bug_when>
    <thetext>It&apos;s unclear when this regressed, who can investigate?

Looking at recent changes, a rollout &lt;http://trac.webkit.org/changeset/163655&gt; seems like the only one that touched this code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>979076</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-02-10 14:47:26 -0800</bug_when>
    <thetext>The rollout is definitely the culprit, because the test was also asserting before those changes, and started to assert again once they got rolled out.

*** This bug has been marked as a duplicate of bug 119747 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>