<?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>45737</bug_id>
          
          <creation_ts>2010-09-14 02:27:46 -0700</creation_ts>
          <short_desc>[Chromium] fast/frames/frame-limit.html is slow on debug bots</short_desc>
          <delta_ts>2013-04-09 16:27:56 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>45365</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pavel Podivilov">podivilov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>adamk</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dglazkov</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>inferno</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>278782</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-09-14 02:27:46 -0700</bug_when>
    <thetext>[Chromium] fast/frames/frame-limit.html is crashing on debug bots after r67179:r67353 roll</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>278820</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-09-14 04:55:06 -0700</bug_when>
    <thetext>http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fframes%2Fframe-limit.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280051</commentid>
    <comment_count>2</comment_count>
      <attachid>67789</attachid>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-09-16 06:28:54 -0700</bug_when>
    <thetext>Created attachment 67789
Proposed patch.

Regressed in r67182. In HTMLFrameOwnerElement::willRemove: frame-&gt;loader()-&gt;frameDetached() causes content frame destruction, then frame-&gt;disconnectOwnerElement() crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280145</commentid>
    <comment_count>3</comment_count>
      <attachid>67789</attachid>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-09-16 09:31:03 -0700</bug_when>
    <thetext>Comment on attachment 67789
Proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=67789&amp;action=prettypatch

&gt; WebCore/html/HTMLFrameOwnerElement.cpp:57
&gt; +        RefPtr&lt;Frame&gt; protect(frame);

Aw crap, frameDetached calls FrameLoader::detachFromParent(), which in turn may destroy the frame. Good catch. 

I see that this is necessary, I just don&apos;t like that we have to double-protect it (once here and once in detachFromParent). I also don&apos;t like that we end up calling disconnectedOwnerElement twice in such cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280243</commentid>
    <comment_count>4</comment_count>
      <attachid>67789</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-16 11:53:29 -0700</bug_when>
    <thetext>Comment on attachment 67789
Proposed patch.

Rejecting patch 67789 from commit-queue.

Failed to run &quot;[&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--exit-after-n-failures=1&apos;, &apos;--wait-for-httpd&apos;, &apos;--quiet&apos;]&quot; exit_code: 1
Last 500 characters of output:
sts
Testing 21299 test cases.
websocket/tests/bad-sub-protocol-empty.html -&gt; timed out
Sampling process 27542 for 10 seconds with 10 milliseconds of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 27542 written to file /Users/eseidel/Library/Logs/DumpRenderTree/HangReport.txt

Exiting early after 1 failures. 21254 tests run.
562.20s total testing time

21253 test cases (99%) succeeded
1 test case (&lt;1%) timed out
33 test cases (&lt;1%) had stderr output

Full output: http://queues.webkit.org/results/4042030</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280259</commentid>
    <comment_count>5</comment_count>
      <attachid>67789</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-09-16 12:14:17 -0700</bug_when>
    <thetext>Comment on attachment 67789
Proposed patch.

I believe this test is just flaky.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280298</commentid>
    <comment_count>6</comment_count>
      <attachid>67789</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-16 13:18:44 -0700</bug_when>
    <thetext>Comment on attachment 67789
Proposed patch.

Clearing flags on attachment: 67789

Committed r67659: &lt;http://trac.webkit.org/changeset/67659&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280299</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-16 13:18:49 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280324</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-09-16 13:42:32 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/67659 might have broken Qt Linux Release
The following changes are on the blame list:
http://trac.webkit.org/changeset/67659
http://trac.webkit.org/changeset/67660</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280352</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-09-16 14:13:59 -0700</bug_when>
    <thetext>Filed bug 45918.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280482</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-09-16 18:01:27 -0700</bug_when>
    <thetext>I reordered the two calls in this function in an earlier change. I bet that caused this. I&apos;m not sure using a protect ptr is right here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280985</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-09-17 16:45:13 -0700</bug_when>
    <thetext>*** Bug 45804 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280990</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-09-17 16:51:43 -0700</bug_when>
    <thetext>I dont&apos; think it&apos;s right to add a Protect ptr w/o a comment as to what it&apos;s protecting against.  In this case, it&apos;s not clear from reading the code why it&apos;s needed.

Clearly my re-ordering of those calls in bug 45365 caused this bug.  However before I reordered them the frame counts were off during frameDetached.

            (WebCore::HTMLFrameOwnerElement::willRemove):
             - Disconnecting the owner element removes the frame from the frame tree.
               frameDetached() calls Page::frameCount which expects that the frame is
               already gone at this point and asserts when it&apos;s not.  It&apos;s unclear how
               this worked before, except that the frame removal was likely done in the
               post-attach callback, so the frameCount was wrong (too high) during
               frameDetached(), but was fixed up in the post-detach callback.

Maybe my re-ordering was wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282167</commentid>
    <comment_count>13</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-09-21 03:11:45 -0700</bug_when>
    <thetext>[Chromium] fast/frames/frame-limit.html is slow on debug bots</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>282405</commentid>
    <comment_count>14</comment_count>
    <who name="Abhishek Arya">inferno</who>
    <bug_when>2010-09-21 10:30:25 -0700</bug_when>
    <thetext>Pavel, can you please take a look into this. This is a high severity security bug that we dont want to make into v7 (and this is also a regression).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283188</commentid>
    <comment_count>15</comment_count>
    <who name="Abhishek Arya">inferno</who>
    <bug_when>2010-09-22 13:09:42 -0700</bug_when>
    <thetext>I had a chat with Pavel on this. He dont understand this code path and his attempt was a patch to fix the failure on the bots. It did fix things on the bots and also crash didn&apos;t reproduce with my testcase. But someone who understands this code, needs to be check if that is ok and functionally the right thing to do.

Eric, i dont know how to process with regards to this. Any advise on the owner for this. Or do you think it is ok to merge this fix for the chromium v7 release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>568905</commentid>
    <comment_count>16</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2012-03-01 14:19:14 -0800</bug_when>
    <thetext>Updated as always timing out on debug builds in http://trac.webkit.org/changeset/109420</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>739050</commentid>
    <comment_count>17</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-10-10 10:06:49 -0700</bug_when>
    <thetext>*** Bug 98919 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872281</commentid>
    <comment_count>18</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-09 16:27:56 -0700</bug_when>
    <thetext>Marking test failures as WontFix. Bug is still accessible and recording in TestExpectations.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>67789</attachid>
            <date>2010-09-16 06:28:54 -0700</date>
            <delta_ts>2010-09-16 13:18:44 -0700</delta_ts>
            <desc>Proposed patch.</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1221</size>
            <attacher name="Pavel Podivilov">podivilov</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
ZDJiNGYwYi4uZjFi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