RESOLVED FIXED 75708
Concurrent instances of DRT on Windows can stomp on each other's databases etc.
https://bugs.webkit.org/show_bug.cgi?id=75708
Summary Concurrent instances of DRT on Windows can stomp on each other's databases etc.
Adam Roben (:aroben)
Reported 2012-01-06 09:16:58 PST
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'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.
Attachments
Radar WebKit Bug Importer
Comment 1 2012-01-06 09:17:15 PST
Brent Fulgham
Comment 2 2013-05-24 10:55:16 PDT
It looks like WebKit on Windows uses either CSIDL_LOCAL_APPDATA or CSIDL_APPDATA (depending on context) to store database and URL cache information.
Brent Fulgham
Comment 3 2013-05-24 16:11:07 PDT
See Bug 116729 for an implementation that uses CFPreferences to store the current application'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.
Brent Fulgham
Comment 4 2013-06-03 13:21:25 PDT
For now, we will use new-run-webkit-tests hard-coding it to use a single worker. This will ensure we don't have any problems running concurrently. As a second step we will loosen this restriction once we've determined that the changes on Bug 116729 resolve the problem.
Brent Fulgham
Comment 5 2013-11-18 10:41:18 PST
Fixed by use of separate environments per build process (Bug 116729).
Note You need to log in before you can comment on or make changes to this bug.