<?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>75708</bug_id>
          
          <creation_ts>2012-01-06 09:16:58 -0800</creation_ts>
          <short_desc>Concurrent instances of DRT on Windows can stomp on each other&apos;s databases etc.</short_desc>
          <delta_ts>2013-11-18 10:41:18 -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>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>116729</dependson>
          <blocked>38756</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>eric</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>531100</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2012-01-06 09:16:58 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/57328 (bug 36899) changed DumpRenderTree to use a DUMPRENDERTREE_TEMP environment variable for storing databases, etc., so that concurrent instances of DRT won&apos;t stomp on each other. But this support was never added to Windows. We need to support this on Windows if we want to run multiple copies of DRT in parallel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>531101</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-01-06 09:17:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/10654679&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893369</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-24 10:55:16 -0700</bug_when>
    <thetext>It looks like WebKit on Windows uses either CSIDL_LOCAL_APPDATA or CSIDL_APPDATA (depending on context) to store database and URL cache information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893490</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-24 16:11:07 -0700</bug_when>
    <thetext>See Bug 116729 for an implementation that uses CFPreferences to store the current application&apos;s desired storage paths.  This is the technique being used in the OS X port, which seems to work properly in a concurrent run environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896585</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-06-03 13:21:25 -0700</bug_when>
    <thetext>For now, we will use new-run-webkit-tests hard-coding it to use a single worker.  This will ensure we don&apos;t have any problems running concurrently.

As a second step we will loosen this restriction once we&apos;ve determined that the changes on Bug 116729 resolve the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951682</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-11-18 10:41:18 -0800</bug_when>
    <thetext>Fixed by use of separate environments per build process (Bug 116729).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>