<?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>61964</bug_id>
          
          <creation_ts>2011-06-02 14:34:33 -0700</creation_ts>
          <short_desc>Microsoft IE fishtank demo causes assertion in RenderLayer::convertToLayerCoords</short_desc>
          <delta_ts>2012-02-23 12:46:19 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://ie.microsoft.com/testdrive/Performance/FishBowl/Default.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrienne Walker">enne</reporter>
          <assigned_to name="Alok Priyadarshi">alokp</assigned_to>
          <cc>jamesr</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>414444</commentid>
    <comment_count>0</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2011-06-02 14:34:33 -0700</bug_when>
    <thetext>This assert reproduces consistently in Chromium.  It doesn&apos;t happen in Safari.

Opening the page quickly hits the ASSERT(fixedPositionContainerLayer) line in RenderLayer.cpp:1139.  For what it&apos;s worth foundAncestor is true in the loop above, there was just no fixed position container layer found.

I don&apos;t know enough about this bit of WebKit to know what the implications of this assertion are or how to fix it.

Here&apos;s a callstack:

#0  0x00007ffff513998d in WebCore::RenderLayer::convertToLayerCoords (this=0x7fffe58d5b18, ancestorLayer=0x7fffe58cc178, location=...) at third_party/WebKit/Source/WebCore/rendering/RenderLayer.cpp:1139
#1  0x00007ffff515862e in WebCore::RenderLayerCompositor::layerWillBeRemoved (this=0x7ffff7ecc3c0, parent=0x7fffe58cc178, child=0x7fffe58d5b18) at third_party/WebKit/Source/WebCore/rendering/RenderLayerCompositor.cpp:531
#2  0x00007ffff5139319 in WebCore::RenderLayer::removeChild (this=0x7fffe58cc178, oldChild=0x7fffe58d5b18) at third_party/WebKit/Source/WebCore/rendering/RenderLayer.cpp:1016
#3  0x00007ffff51395ac in WebCore::RenderLayer::removeOnlyThisLayer (this=0x7fffe58cc178) at third_party/WebKit/Source/WebCore/rendering/RenderLayer.cpp:1078
#4  0x00007ffff50fff28 in WebCore::RenderBoxModelObject::styleDidChange (this=0x7fffe58e1288, diff=WebCore::StyleDifferenceLayout, oldStyle=0x7fffe5d2c460) at third_party/WebKit/Source/WebCore/rendering/RenderBoxModelObject.cpp:361
#5  0x00007ffff50edd90 in WebCore::RenderBox::styleDidChange (this=0x7fffe58e1288, diff=WebCore::StyleDifferenceLayout, oldStyle=0x7fffe5d2c460) at third_party/WebKit/Source/WebCore/rendering/RenderBox.cpp:285
#6  0x00007ffff50a1381 in WebCore::RenderBlock::styleDidChange (this=0x7fffe58e1288, diff=WebCore::StyleDifferenceLayout, oldStyle=0x7fffe5d2c460) at third_party/WebKit/Source/WebCore/rendering/RenderBlock.cpp:229
#7  0x00007ffff517caba in WebCore::RenderObject::setStyle (this=0x7fffe58e1288, style=...) at third_party/WebKit/Source/WebCore/rendering/RenderObject.cpp:1630
#8  0x00007ffff517c3db in WebCore::RenderObject::setAnimatableStyle (this=0x7fffe58e1288, style=...) at third_party/WebKit/Source/WebCore/rendering/RenderObject.cpp:1543
#9  0x00007ffff4bb384b in WebCore::Node::setRenderStyle (this=0x7ffff7f0f1b0, s=...) at third_party/WebKit/Source/WebCore/dom/Node.cpp:1479
#10 0x00007ffff4b8da25 in WebCore::Element::recalcStyle (this=0x7ffff7f0f1b0, change=WebCore::Node::NoChange) at third_party/WebKit/Source/WebCore/dom/Element.cpp:1146
#11 0x00007ffff4b8ddd6 in WebCore::Element::recalcStyle (this=0x7fffe5d30400, change=WebCore::Node::NoChange) at third_party/WebKit/Source/WebCore/dom/Element.cpp:1180
#12 0x00007ffff4b49624 in WebCore::Document::recalcStyle (this=0x7fffe5d12800, change=WebCore::Node::NoChange) at third_party/WebKit/Source/WebCore/dom/Document.cpp:1533
#13 0x00007ffff4b49997 in WebCore::Document::updateStyleIfNeeded (this=0x7fffe5d12800) at third_party/WebKit/Source/WebCore/dom/Document.cpp:1586
#14 0x00007ffff528b31c in WebCore::CanvasRenderingContext2D::accessFont (this=0x7fffbdb98000) at third_party/WebKit/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:2023
#15 0x00007ffff528ada2 in WebCore::CanvasRenderingContext2D::drawTextInternal (this=0x7fffbdb98000, text=..., x=107.5, y=89.9199982, fill=true) at third_party/WebKit/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:1904
#16 0x00007ffff528aae5 in WebCore::CanvasRenderingContext2D::fillText (this=0x7fffbdb98000, text=..., x=107.5, y=89.9199982) at third_party/WebKit/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:1857
#17 0x00007ffff57d1780 in WebCore::CanvasRenderingContext2DInternal::fillTextCallback (args=...) at ninja/gen/webcore/bindings/V8CanvasRenderingContext2D.cpp:633
#18 0x00007ffff32c3ecc in v8::internal::HandleApiCallHelper&lt;false&gt; (args=..., isolate=0x7ffff7e56000) at v8/src/builtins.cc:1105
#19 0x00007ffff32bec5a in v8::internal::Builtin_Impl_HandleApiCall (args=..., isolate=0x7ffff7e56000) at v8/src/builtins.cc:1122
#20 0x00007ffff32bec2b in v8::internal::Builtin_HandleApiCall (args=..., isolate=0x7ffff7e56000) at v8/src/builtins.cc:1121</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>539000</commentid>
    <comment_count>1</comment_count>
      <attachid>123186</attachid>
    <who name="Alok Priyadarshi">alokp</who>
    <bug_when>2012-01-19 13:48:55 -0800</bug_when>
    <thetext>Created attachment 123186
proposed patch

I ran into this bug when investigating the performance issues with the demo. The attached patch seems to fix the issue but I am not sure if this is the correct fix as I am not very familiar with this code.

If the patch looks reasonable I can try to add a test and land it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>539067</commentid>
    <comment_count>2</comment_count>
      <attachid>123186</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-01-19 15:11:07 -0800</bug_when>
    <thetext>Comment on attachment 123186
proposed patch

If the assertion is chromium-only, why does this need a change that affects all platforms? I suspect this may regress the bug fixed by http://trac.webkit.org/changeset/85586</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>539086</commentid>
    <comment_count>3</comment_count>
    <who name="Alok Priyadarshi">alokp</who>
    <bug_when>2012-01-19 15:32:26 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 123186 [details])
&gt; If the assertion is chromium-only, why does this need a change that affects all platforms? I suspect this may regress the bug fixed by http://trac.webkit.org/changeset/85586

It did not seem like a chromium-only assertion. At least I did not notice any chromium-specific stuff in the call stack. Would you mind verifying it in Safari?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>539099</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-01-19 15:40:09 -0800</bug_when>
    <thetext>Ah, it does assert in Safari too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557567</commentid>
    <comment_count>5</comment_count>
      <attachid>123186</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-02-15 14:43:11 -0800</bug_when>
    <thetext>Comment on attachment 123186
proposed patch

Looks good, R=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557572</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-02-15 14:45:29 -0800</bug_when>
    <thetext>Did you test that this doesn&apos;t regress http://trac.webkit.org/changeset/85586 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557577</commentid>
    <comment_count>7</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-02-15 14:47:43 -0800</bug_when>
    <thetext>Alok - can you run https://bugs.webkit.org/show_bug.cgi?id=78401 with ASAN a few times and see if this changes anything before landing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557582</commentid>
    <comment_count>8</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-02-15 14:48:04 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Alok - can you run https://bugs.webkit.org/show_bug.cgi?id=78401 with ASAN a few times and see if this changes anything before landing?

Copy-paste fail, I meant can you run fast/reflections/remove-reflection-crash.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563335</commentid>
    <comment_count>9</comment_count>
    <who name="Alok Priyadarshi">alokp</who>
    <bug_when>2012-02-23 12:00:01 -0800</bug_when>
    <thetext>Ran with ASAN. Did not see any issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563374</commentid>
    <comment_count>10</comment_count>
      <attachid>123186</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-23 12:46:14 -0800</bug_when>
    <thetext>Comment on attachment 123186
proposed patch

Clearing flags on attachment: 123186

Committed r108659: &lt;http://trac.webkit.org/changeset/108659&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563375</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-23 12:46:19 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>123186</attachid>
            <date>2012-01-19 13:48:55 -0800</date>
            <delta_ts>2012-02-23 12:46:14 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>61964.patch</filename>
            <type>text/plain</type>
            <size>2889</size>
            <attacher name="Alok Priyadarshi">alokp</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDEwNTQ0MCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDI1IEBACisyMDEyLTAxLTE5ICBBbG9rIFBy
aXlhZGFyc2hpICA8YWxva3BAY2hyb21pdW0ub3JnPgorCisgICAgICAgIE1pY3Jvc29mdCBJRSBm
aXNodGFuayBkZW1vIGNhdXNlcyBhc3NlcnRpb24gaW4gUmVuZGVyTGF5ZXI6OmNvbnZlcnRUb0xh
eWVyQ29vcmRzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD02MTk2NAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorICAgICAgICAK
KyAgICAgICAgVGhlIGFzc2VydGlvbiBpcyBjYXVzZWQgd2l0aCB0aGUgZm9sbG93aW5nIGNhbGxz
dGFjazoKKyAgICAgICAgV2ViQ29yZTo6UmVuZGVyTGF5ZXI6OmNvbnZlcnRUb0xheWVyQ29vcmRz
CisgICAgICAgIFdlYkNvcmU6OlJlbmRlckxheWVyQ29tcG9zaXRvcjo6bGF5ZXJXaWxsQmVSZW1v
dmVkCisgICAgICAgIFdlYkNvcmU6OlJlbmRlckxheWVyOjpyZW1vdmVDaGlsZAorICAgICAgICBX
ZWJDb3JlOjpSZW5kZXJMYXllcjo6cm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YXJlbnQtPmFkZENo
aWxkKGN1cnJlbnQsIG5leHRTaWIpOworICAgICAgICBtX3BhcmVudC0+YWRkQ2hpbGQoY3VycmVu
dCwgbmV4dFNpYik7CiAgICAgICAgIGN1cnJlbnQtPnNldFJlcGFpbnRTdGF0dXMoTmVlZHNGdWxs
UmVwYWludCk7CiAgICAgICAgIExheW91dFBvaW50IG9mZnNldEZyb21Sb290ID0gb2Zmc2V0RnJv
bVJvb3RCZWZvcmVNb3ZlOwogICAgICAgICAvLyB1cGRhdGVMYXllclBvc2l0aW9ucyBkZXBlbmRz
IG9uIGhhc0xheWVyKCkgYWxyZWFkeSBiZWluZyBmYWxzZSBmb3IgcHJvcGVyIGxheW91dC4KQEAg
LTEyMDcsNiArMTIwMSwxMSBAQCB2b2lkIFJlbmRlckxheWVyOjpyZW1vdmVPbmx5VGhpc0xheWVy
KCkKICAgICAgICAgY3VycmVudCA9IG5leHQ7CiAgICAgfQogCisgICAgLy8gUmVtb3ZlIHVzIGZy
b20gdGhlIHBhcmVudC4KKyAgICBpZiAocmVmbGVjdGlvbigpKQorICAgICAgICByZW1vdmVDaGls
ZChyZWZsZWN0aW9uTGF5ZXIoKSk7CisgICAgbV9wYXJlbnQtPnJlbW92ZUNoaWxkKHRoaXMpOwor
CiAgICAgbV9yZW5kZXJlci0+ZGVzdHJveUxheWVyKCk7CiB9CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>