We've started hitting this in Chromium, looks like this on Vista:
WARNING: Possible data race during read of size 4 at 371312C0: {{{
T0 (L{}):
#0 SHFree C:\Windows\syswow64\SHELL32.dll
#1 SHPathPrepareForWriteW C:\Windows\syswow64\SHELL32.dll
#2 SHFileOperationW C:\Windows\syswow64\SHELL32.dll
#3 SHFileOperationW C:\Windows\syswow64\SHELL32.dll
#4 base::Delete base/file_util_win.cc:122
#5 base::ScopedTempDir::Delete base/files/scoped_temp_dir.cc:66
#6 base::ScopedTempDir::Delete base/files/scoped_temp_dir.cc:63
#7 base::ScopedTempDir::~ScopedTempDir base/files/scoped_temp_dir.cc:16
#8 DiskCacheTest::~DiskCacheTest net/disk_cache/disk_cache_test_base.cc:29
#9 DiskCacheBackendTest_DisableFailure2_Test::`scalar deleting destructor' E:\b\build\slave\chromium-dbg-win-tsan\build\src\build\Debug\net_unittests.exe
#10 testing::Test::DeleteSelf_ testing/gtest/include/gtest/gtest.h:438
#11 testing::internal::HandleExceptionsInMethodIfSupported testing/gtest/src/gtest.cc:2051
Concurrent write(s) happened at (OR AFTER) these points:
[Pretty much anything in the second stack?]
I think I recall similar reports on Win7, so this might become critical if/when
we decide to reimage the Chromium bot to W7.
Original issue reported on code.google.com by timurrrr@google.com on 17 Jul 2013 at 1:01
Original issue reported on code.google.com by
timurrrr@google.com
on 17 Jul 2013 at 1:01