<?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>36622</bug_id>
          
          <creation_ts>2010-03-25 14:50:39 -0700</creation_ts>
          <short_desc>new-run-webkit-tests --platform mac is unstable w/ more than 4 threads in parallel</short_desc>
          <delta_ts>2011-02-18 19:25:14 -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>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>FIXED</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>49566</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Dirk Pranke">dpranke</assigned_to>
          <cc>abarth</cc>
    
    <cc>cjerdonek</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>levin</cc>
    
    <cc>ossy</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>204232</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-25 14:50:39 -0700</bug_when>
    <thetext>For some reason, running new-run-webkit-tests on the webkit mac port is unstable with more than 4 threads in parallel. I think this is a problem w/ DumpRenderTree somehow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204235</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-25 14:54:39 -0700</bug_when>
    <thetext>When you say &quot;unstable&quot; you mean that tests fail?  DRT crashes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204240</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-25 14:58:57 -0700</bug_when>
    <thetext>Mostly DRT seems to hang as if it&apos;s blocking on locks. I haven&apos;t attempted to debug it yet, but it seems very reproducible at least on my 8-core Mac Pro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204244</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-25 15:00:49 -0700</bug_when>
    <thetext>sample DumpRenderTree
should give us some information as to what&apos;s going wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204896</commentid>
    <comment_count>4</comment_count>
      <attachid>51802</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-26 18:27:13 -0700</bug_when>
    <thetext>Created attachment 51802
ignore this - wrong bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204898</commentid>
    <comment_count>5</comment_count>
      <attachid>51802</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-26 18:28:26 -0700</bug_when>
    <thetext>Comment on attachment 51802
ignore this - wrong bug

ignore this patch - webkit-patch upload put it on the wrong bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204910</commentid>
    <comment_count>6</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-03-26 18:59:36 -0700</bug_when>
    <thetext>You may be hitting the same issue that I hit when I did something like this. I fixed it in: https://bugs.webkit.org/show_bug.cgi?id=10906

To my memory, you just need to do something like this for each sepearate worker instance (it gave each DRT its own home directory):
  $ENV{CFFIXED_USER_HOME} = $testResultsDirectory . &quot;/home&quot; . WorkCrew::workerNumber();</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204918</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-03-26 19:22:39 -0700</bug_when>
    <thetext>init(In reply to comment #6)
&gt; You may be hitting the same issue that I hit when I did something like this. I
&gt; fixed it in: https://bugs.webkit.org/show_bug.cgi?id=10906
&gt; 
&gt; To my memory, you just need to do something like this for each sepearate worker
&gt; instance (it gave each DRT its own home directory):
&gt;   $ENV{CFFIXED_USER_HOME} = $testResultsDirectory . &quot;/home&quot; .
&gt; WorkCrew::workerNumber();

Initial testing looks promising. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209327</commentid>
    <comment_count>8</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-04-06 16:40:21 -0700</bug_when>
    <thetext>Note that https://bugs.webkit.org/show_bug.cgi?id=36899 may also fix this, as might https://bugs.webkit.org/show_bug.cgi?id=33153 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209329</commentid>
    <comment_count>9</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-04-06 16:41:03 -0700</bug_when>
    <thetext>I am not currently working on this, nor do I expect to be in the near future, so I am disclaiming ownership in case someone else wants to take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354001</commentid>
    <comment_count>10</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-02-18 19:25:14 -0800</bug_when>
    <thetext>This should be fixed as of r79062.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>51802</attachid>
            <date>2010-03-26 18:27:13 -0700</date>
            <delta_ts>2010-03-26 18:28:26 -0700</delta_ts>
            <desc>ignore this - wrong bug</desc>
            <filename>bug-36622-20100326182712.patch</filename>
            <type>text/plain</type>
            <size>1553</size>
            <attacher name="Dirk Pranke">dpranke</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktp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TI4ZSAxMDA2NDQKLS0t
IGEvV2ViS2l0VG9vbHMvU2NyaXB0cy93ZWJraXRweS9sYXlvdXRfdGVzdHMvcG9ydC9tYWMucHkK
KysrIGIvV2ViS2l0VG9vbHMvU2NyaXB0cy93ZWJraXRweS9sYXlvdXRfdGVzdHMvcG9ydC9tYWMu
cHkKQEAgLTE1NSw3ICsxNTUsMTMgQEAgY2xhc3MgTWFjUG9ydChiYXNlLlBvcnQpOgogICAgICAg
ICByZXR1cm4gcmVzdWx0CiAKICAgICBkZWYgbnVtX2NvcmVzKHNlbGYpOgotICAgICAgICByZXR1
cm4gaW50KG9zLnBvcGVuMigic3lzY3RsIC1uIGh3Lm5jcHUiKVsxXS5yZWFkKCkpCisgICAgICAg
IG5jb3JlcyA9IGludChvcy5wb3BlbjIoInN5c2N0bCAtbiBody5uY3B1IilbMV0ucmVhZCgpKQor
ICAgICAgICAjIEZJWE1FOiBuZXctcnVuLXdlYmtpdC10ZXN0cyBpcyB1bnN0YWJsZSBydW5uaW5n
IG1vcmUgdGhhbiBmb3VyCisgICAgICAgICMgdGhyZWFkcyBpbiBwYXJhbGxlbC4KKyAgICAgICAg
IyBTZWUgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTM2NjIyCisgICAg
ICAgIGlmIG5jb3JlcyA+IDQ6CisgICAgICAgICAgICBuY29yZXMgPSA0CisgICAgICAgIHJldHVy
biBuY29yZXMKIAogICAgIGRlZiBwYXRoX3RvX3Rlc3RfZXhwZWN0YXRpb25zX2ZpbGUoc2VsZik6
CiAgICAgICAgIHJldHVybiBzZWxmLnBhdGhfZnJvbV93ZWJraXRfYmFzZSgnTGF5b3V0VGVzdHMn
LCAncGxhdGZvcm0nLAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>