<?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>48795</bug_id>
          
          <creation_ts>2010-11-01 16:02:39 -0700</creation_ts>
          <short_desc>[Chromium] REGRESSION(r70552): DumpRenderTree never exits.</short_desc>
          <delta_ts>2013-04-09 16:10:27 -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>WebKit API</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov (Google)">dglazkov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dpranke</cc>
    
    <cc>hclam</cc>
    
    <cc>kbr</cc>
    
    <cc>scherkus</cc>
    
    <cc>senorblanco</cc>
    
    <cc>tkent</cc>
    
    <cc>vrk</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>303017</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-01 16:02:39 -0700</bug_when>
    <thetext>It seems there was some regression somewhere that made DumpRenderTree process never exit. It just hangs there. In non-Windows, server_process.py actually kills DRT after a timeout, but on Windows we become screwed.

As of right now, the Chromium Win Release (Tests) builder has to be manually aided (taskkill) after each cycle. I have no idea when it began. Looking at the waterfall, potential offender is http://trac.webkit.org/changeset/70552/.

I am trying to revert locally and see what happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303263</commentid>
    <comment_count>1</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-11-02 01:30:00 -0700</bug_when>
    <thetext>I couldn&apos;t reproduce this issue on my Windows 7 machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303340</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-02 06:56:59 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I couldn&apos;t reproduce this issue on my Windows 7 machine.

Odd. I can reproduce it consistently. The tests finish, but three or so DumpRenderTree.exe processes remain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303407</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-02 09:30:55 -0700</bug_when>
    <thetext>I&apos;ve confirmed that rolling out http://trac.webkit.org/changeset/70552/ fixes the issue. The trouble is, I am pretty sure it&apos;s the DEPS roll that caused it, not the actual change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303462</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-02 10:40:08 -0700</bug_when>
    <thetext>I narrowed it down to http://src.chromium.org/viewvc/chrome?view=rev&amp;revision=63548.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303473</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-02 10:50:24 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; I narrowed it down to http://src.chromium.org/viewvc/chrome?view=rev&amp;revision=63548.

I suspect this problem also exists in test_shell, but because we kill test_shell by force when it&apos;s no longer necessary, the problem is not clearly visible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303748</commentid>
    <comment_count>6</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-02 15:59:56 -0700</bug_when>
    <thetext>How&apos;s it going? Any updates?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303862</commentid>
    <comment_count>7</comment_count>
    <who name="Victoria Kirst">vrk</who>
    <bug_when>2010-11-02 19:33:25 -0700</bug_when>
    <thetext>Hmm, I can&apos;t reproduce the issue on my Windows 7 machine, either. I am running &quot;python new-run-webkit-tests --chromium --use-drt --platform chromium-win-vista media&quot; and the test can complete fine and I don&apos;t have any stranded DumpRenderTree.exe instances afterward. Am I doing something wrong? Also, do you have an idea of what tests are causing DRT to hang?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303867</commentid>
    <comment_count>8</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-02 19:53:08 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Hmm, I can&apos;t reproduce the issue on my Windows 7 machine, either. I am running &quot;python new-run-webkit-tests --chromium --use-drt --platform chromium-win-vista media&quot; and the test can complete fine and I don&apos;t have any stranded DumpRenderTree.exe instances afterward. Am I doing something wrong? Also, do you have an idea of what tests are causing DRT to hang?

I ran the entire test set: new-run-webkit-tests --chromium --use-drt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303888</commentid>
    <comment_count>9</comment_count>
    <who name="Victoria Kirst">vrk</who>
    <bug_when>2010-11-02 21:36:17 -0700</bug_when>
    <thetext>&gt; I ran the entire test set: new-run-webkit-tests --chromium --use-drt

OK, that did it! Thanks!

Here&apos;s what I&apos;ve seen so far: It looks like the tests that fail are video-play-stall.html, video-play-stall-seek.html, and video-seekable-stall.html. But the bug is not 100% consistently reproduced (probably more like 75%?) and DumpRenderTree.exe occasionally exits cleanly, which explains why there are 2-3 processes orphaned at the end of running the entire test suite instead of an exact number.

I&apos;ll try to run it with the Debug build tomorrow to get a stack trace and pinpoint exactly what&apos;s causing the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303898</commentid>
    <comment_count>10</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-11-02 22:25:26 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Hmm, I can&apos;t reproduce the issue on my Windows 7 machine, either. I am running &quot;python new-run-webkit-tests --chromium --use-drt --platform chromium-win-vista media&quot; and the test can complete fine and I don&apos;t have any stranded DumpRenderTree.exe instances afterward. Am I doing something wrong? Also, do you have an idea of what tests are causing DRT to hang?

This is a side note, but if you&apos;re on win 7, you should be using --platform chromium-win , not --platform chromium-win-vista . The win 7 baselines are in the regular &quot;win&quot; directory. Also, you don&apos;t need to specify both --chromium and --platform ; specifying just --chromium will cause the appropriate chromium windows version to be selected.

Not that that should cause anything to hang, of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303910</commentid>
    <comment_count>11</comment_count>
    <who name="Hin-Chung Lam">hclam</who>
    <bug_when>2010-11-03 00:40:16 -0700</bug_when>
    <thetext>I traced down the code and fond the cause of the hang . vrk&apos;s change was supposed to fix a hang case, however it uncovered another hanging case (in fact two potentially) which causes DRT to hang. I&apos;ll bring up the discussion and will work on a fix tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304782</commentid>
    <comment_count>12</comment_count>
    <who name="Hin-Chung Lam">hclam</who>
    <bug_when>2010-11-04 11:51:52 -0700</bug_when>
    <thetext>Landed a patch to skip those offending layout tests: http://trac.webkit.org/changeset/71349.

Still working on the proper fix. Unfortunately this involves a bigger problem in the media code.. :( I&apos;m working on an ad hoc fix to the code, but we&apos;ll need to fix this again properly.. :( :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304783</commentid>
    <comment_count>13</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-11-04 11:54:52 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; Landed a patch to skip those offending layout tests: http://trac.webkit.org/changeset/71349.
&gt; 
&gt; Still working on the proper fix. Unfortunately this involves a bigger problem in the media code.. :( I&apos;m working on an ad hoc fix to the code, but we&apos;ll need to fix this again properly.. :( :(

Thanks, Alpha!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304794</commentid>
    <comment_count>14</comment_count>
    <who name="Andrew Scherkus">scherkus</who>
    <bug_when>2010-11-04 12:19:19 -0700</bug_when>
    <thetext>No ad-hoc fixes please!

We have the time and bandwidth to do the proper fix.  I&apos;m fine leaving us with skipped tests for the time being (we can also discuss offline!)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304862</commentid>
    <comment_count>15</comment_count>
    <who name="Hin-Chung Lam">hclam</who>
    <bug_when>2010-11-04 14:15:53 -0700</bug_when>
    <thetext>OK, I&apos;ll wait until we have a discussion about what the fix should look like. It&apos;s likely someone else will be doing the proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398764</commentid>
    <comment_count>16</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-05-05 09:09:27 -0700</bug_when>
    <thetext>Is this fixed now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872198</commentid>
    <comment_count>17</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-09 16:10:27 -0700</bug_when>
    <thetext>LayoutTest failures for Chromium are being marked WontFix. The Bug is still accessible and referenced from TestExpectations.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>