Граф коммитов

256 Коммитов

Автор SHA1 Сообщение Дата
Nico Weber c0d6bd0031 Remove OFFICIAL_BUILD-specific linux asan options.
According to the comments in
https://chromium-review.googlesource.com/c/chromium/src/+/1882109

Also reorder the options so they have the same order in all
platforms, making it easier to see what's different across platforms.

Bug: none
Change-Id: Ibea9ef89a4fd78e31677f0e43036739ec6ad372c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881636
Commit-Queue: Nico Weber <thakis@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#709994}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0a97ab1d8475193bbc09ec422b6f72eb4ddf7988
2019-10-28 19:15:04 +00:00
Nico Weber db1f4d0361 asan: Use OFFICIAL_BUILD instead of GOOGLE_CHROME_BUILD for default asan options.
GOOGLE_CHROME_BUILD is more a branding thing. Since
Google Chrome builds set both GOOGLE_CHROME_BUILD and
OFFICIAL_BUILD, this doesn't have an effect in practice.

People who do non-Google Chrome-branded OFFICIAL_BUILD
asan builds will now get the different flags, which seems
like a good change.

While here, also deduplicate the common flags and add
a comment saying that the OFFICIAL_BUILD asan flags
are basically never used.

Bug: 961769
Change-Id: I42491c1d4d3ab876b0de92d0746266580dafe1d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1882109
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#709905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3f4c7ae8d4a56f57b286b46ade4f5ca330bcdb12
2019-10-28 15:27:20 +00:00
David Benjamin 33811bfefc Remove TSan suppression syntax errors
In https://chromium-review.googlesource.com/c/chromium/src/+/1539153, I
cleaned up some dead symbols but, in doing so, I left a stray
"race:base::trace_event::" in the file with no trailing newline. That
line and the suppression following it don't actually do anything useful
as a result and apparently TSan bots have been fine, so remove them.

Bug: 257396
Change-Id: Ic995eff58651c011edee0dd0586d9e598f155fe0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1681449
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#706083}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60dc9c939405578e75f97d92ea12a0a552b5e271
2019-10-15 19:44:04 +00:00
Michael Starzinger 1e54689d59 [v8] Remove obsolete TSAN suppression for V8 zones.
Bug: 244755
Change-Id: Ib1ecb888e82d99393cd15d867cae7c0f0d7ca9a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769446
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#691069}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 40c1baddcc490312e3c417ad6dfc10bbc6ef628f
2019-08-28 08:01:02 +00:00
Takuto Ikuta 7bc25298d1 [build] add libdconfsettings.so to tsan blacklist
Bug: 977804
Change-Id: Ib6d2a783bd053ef1554cb5a133b03d6fb894ace5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1722272
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Max Moroz <mmoroz@chromium.org>
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#681796}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a2d06c9da8e96c796d5298f9f1cc0b5b0ec71327
2019-07-29 14:15:57 +00:00
David Benjamin 3634c95e56 Speculatively remove some more WebRTC TSan suppressions
A TSan try bot run with the suppressions run seems to be clean:
https://ci.chromium.org/p/chromium/builders/try/linux_chromium_tsan_rel_ng/310919

Bug: 244774
Change-Id: I2c8ed94924fb8a45b791404a23ee52801870de4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1676989
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#672831}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7cfef701e212418a1e4e7c709ce73492e5a2f29f
2019-06-27 09:00:26 +00:00
David Benjamin 8dec2a16e8 Suppress races in vp3_update_thread_context
This was uncovered when we removed the bulk ffmpeg suppressions. If
ClusterFuzz comes back and reports tons of different threading issues,
we probably need to go back to blanket suppressing everything. For now,
see if we can target something more fine-grained this time.

Bug: 977085
Change-Id: If19c254e0b98c5d450b74cc7d02fd7a2f1a0e189
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669760
Commit-Queue: David Benjamin <davidben@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#671095}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec90982c89c85ca5ac8f53a17d35557027276a98
2019-06-20 22:53:47 +00:00
David Benjamin a4051bb6d9 Synchronize shared state in EmbeddedTestServer callbacks
EmbeddedTestServer callbacks run on a background thread, so shared state
should be synchronized.

Bug: 965724, 965726
Change-Id: I10503dd76f1def680e0c0d944149632a8dbaedea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662530
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#670698}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ff93edd82ccedc7e376b6dd7c7968002ed5606de
2019-06-19 22:51:58 +00:00
David Benjamin 347de4e0c2 Remove a bunch of ffmpeg suppressions
The bug suggests these bugs weren't going to be fixed, but they
seem to pass now!
https://ci.chromium.org/p/chromium/builders/try/linux_chromium_tsan_rel_ng/306281

ffmpeg appears to have proper support for atomics now.

Bug: 158718
Change-Id: Id659a988372a8570f083a4048edeada47bc13e68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1668048
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#670689}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8d39160587afd93f00c1134b4638529bd41c53e6
2019-06-19 22:39:53 +00:00
David Benjamin 2c430a0381 Remove stale suppression
TracingControllerImpl::SetEnabledOnFileThread has not existed since
https://chromium-review.googlesource.com/611188.

Bug: 490856
Change-Id: I3c2bcad754242d187693bdc451af372be0cae646
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666944
Commit-Queue: David Benjamin <davidben@chromium.org>
Commit-Queue: oysteine <oysteine@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: oysteine <oysteine@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#670590}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6f269f912574c0b6e51fcc6e7065433bccd82c07
2019-06-19 19:07:05 +00:00
David Benjamin 7e10f4871d Synchronize AudioInputTest.Record
Rather than sleeping for half a second, wait for two data points,
notify the other thread, and then stop counting.

Bug: 239359
Change-Id: If439ca20df6a7ceb5c2c308baf0e7c508c1cb2ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617629
Commit-Queue: David Benjamin <davidben@chromium.org>
Reviewed-by: Henrik Andreasson <henrika@chromium.org>
Reviewed-by: Tommi <tommi@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#670537}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 56d69033f64172c2d9311f4f217c985c0e300570
2019-06-19 17:14:55 +00:00
Victor Costan d9ff002e1f sqlite: Remove TSAN suppression for unixTempFileDir.
Chrome currently builds SQLite with SQLITE_TEMP_STORE=3, which disables
temporary storage, so unixTempFileDir should never be called.

Bug: 244385
Change-Id: Idfa8bf86d997654c619db5d2abf3198afae41983
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661499
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#669829}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0dd19e3384863aef22aca199a97dd6d11901b6ca
2019-06-17 21:08:25 +00:00
David Benjamin 874174d7b4 Speculatively some old sqlite suppressions
ClusterFuzz claims this is since fixed, but in that case the
suppression should have been removed.

Bug: 84094
Change-Id: I316f6c97f99fa49224297050d9c3385b29bac0ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661473
Commit-Queue: Victor Costan <pwnall@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#669742}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 10441c0c39a10cdd0570c456a793327c0e84657c
2019-06-17 18:30:04 +00:00
David Benjamin 2d09b11838 Remove third_party/fontconfig suppression
The suppression was targetting a real bug in Chromium, since fixed.
https://chromium-review.googlesource.com/c/chromium/src/+/1604263

Bug: 961017
Change-Id: I21a31293e49fcf9e7481e13e6667b8556c38cb25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661583
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#669730}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0e67ba529b558d09de8a8e5d7eb9e5d5957f408e
2019-06-17 18:09:06 +00:00
David Benjamin a14f513d09 Remove stale sctp_timer_start suppression
I believe this was fixed upstream in
ec03a56a31

Confirmed race no longer reproduces locally, and if I comment out the locks
added above, it does.

Bug: 347538
Change-Id: I313f5ed4aafbf012ffa4543580f3b3a5541c2c2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1657299
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Tommi <tommi@chromium.org>
Reviewed-by: Tommi <tommi@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#669608}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a4c22d7cb98a446c1e72a9b5c1ea5c32845a5ea9
2019-06-17 10:32:57 +00:00
Oksana Zhuravlova be4d13ba95 Add TSAN suppression for deadlocks in libnvidia-glsi.so
TBR=ochang@chromium.org

Bug: 973947

Change-Id: Ic6e401936d5b23db48025d65344d79077dc6a4fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659030
Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org>
Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#668978}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8ca116655a432b3d4523fe6da19fc7f6b41c51f1
2019-06-13 22:21:29 +00:00
Gabriel Charette 5f6da5d9e3 [ThreadPool] Fix unlikely race in ThreadPoolImplTest.FileDescriptorWatcherNoOpsAfterShutdown
R=etiennep@chromium.org

Bug: 965717
Change-Id: Ie7185cd0afc819d612368c6ce168a1544b2a64af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1654271
Commit-Queue: Gabriel Charette <gab@chromium.org>
Auto-Submit: Gabriel Charette <gab@chromium.org>
Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#668476}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c8f3abcaee6487b462ac7a7c0be3b2c60ce80ff
2019-06-12 17:37:12 +00:00
Caleb Raitto 968e895af4 Suppress leaks in media::CdmAdapter::CreateCdmInstance().
Several testcase leaks are coming from this method -- suppress leak
detection for this method until the leak is fixed.

Bug: 961062
Change-Id: Ibc61de53bd8d4357d30b024e3c3e96928295e19d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647121
Reviewed-by: Xiaohan Wang <xhwang@chromium.org>
Commit-Queue: Caleb Raitto <caraitto@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#667819}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5c9ef6ccba1e06c8647a6ef17f8227b6b9cf2080
2019-06-11 00:55:47 +00:00
David Benjamin f3229f67b5 Remove stale MockVideoCaptureImpl TSan suppression
Per the bug, this was fixed in
https://codereview.chromium.org/138953009, so remove the suppression

Bug: 333244
Change-Id: I7543735e2db6215cd5c37add9571af70c87e947d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627266
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#667454}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d002482812543721350531defe44727a16640b83
2019-06-08 11:25:07 +00:00
David Benjamin f1641e2cd2 Remove fontconfig TSan suppression
Per https://crbug.com/795110#c3, newer fontconfigs are threadsafe.
https://bugs.chromium.org/p/skia/issues/detail?id=1497 suggests the relevant
version is 2.10.91. third_party/fontconfig is newer than that now, so remove
the suppression.

Bug: 795110
Change-Id: Ib9297814d682e75278c6d9d78d6c7d5315b5fce1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643027
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#665931}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d834eff7e8a7b251a7a426a118c3fe872b3d44b
2019-06-04 15:54:28 +00:00
David Benjamin e4ce4d8f71 Remove stale Skia suppressions
These were addressed in:
https://skia.googlesource.com/skia.git/+/8b50ac242bc3a41cf81d5d9bbc24d49b9f85d834
https://skia.googlesource.com/skia.git/+/a5cf665997d73169e2f5260eaf9643af1f309762

Remove the corresponding suppressions.

Bug: skia:3294, 258499
Change-Id: Ib1fa1e4769dc76b81eac6ffd7389f9f6a6504ce0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643028
Commit-Queue: Mike Klein <mtklein@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#665912}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b20cc846541fa5a6a364ae9af91d28cae8f38fc3
2019-06-04 14:56:09 +00:00
David Benjamin e68a3aad04 Remove stale AlsaWrapper TSan suppression
Per the bug, there were two issues, one of which was fixed and the other
sounds like it was fixed in newer ALSA in 2014 (comment #17). Remove the
suppression.

Bug: 374135
Change-Id: I37c8ca04dd9c7cf8d33b12940cd5457b0cbe6e5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1641202
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#665590}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bbe1d856c1592f8bd223e60603d5261198f57246
2019-06-03 17:50:05 +00:00
Caleb Raitto f8a20881dd Fix the suppression of libfontconfig.
This library is supposed to be excluded from LSAN, but somehow
we're still seeing leaks from this library [1].

Fix this by excluding the path to the library in third_party. Leave
the existing entry in case it's somehow catching other libfontconfig
leaks.

[1]
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8914727183139935872/+/steps/browser_tests__with_patch_/0/logs/Deterministic_failure:_PDFExtensionInternalLinkClickTest.CtrlLeft__status_CRASH_/0

Bug:961017

Change-Id: I8869755987ff595e9df634dc3d997f0eb136cf66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1614437
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Eric Orth <ericorth@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#663793}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0fa868445af6bd7a6e3a791172481dafe87ab98c
2019-05-28 17:14:34 +00:00
David Benjamin 00c70f2b5e Remove stale WebRTC ACM1 TSan suppression
webrtc::acm1::AudioCodingModuleImpl::PlayoutData10Ms can no longer be found in
code search, so remove the style suppression.

Bug: 348511
Change-Id: Id723f1ca2bb0927be198f1b4166f8fd786fc2893
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1620590
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Tommi <tommi@chromium.org>
Reviewed-by: Tommi <tommi@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#663080}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a6f222e9350ebf3fc006b0dda3dbf3c78009bf8f
2019-05-24 15:23:51 +00:00
Abhishek Arya de4c4435f9 Enable stack use after return by default in win-asan.
R=rnk@chromium.org

Bug: 915245
Change-Id: I715d3e0ea051e1032722e77795c11e58875b7413
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627810
Reviewed-by: Reid Kleckner <rnk@chromium.org>
Commit-Queue: Abhishek Arya <inferno@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662817}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4acd2438b67ac67ff10f6698a0b28f13743c4463
2019-05-23 21:09:03 +00:00
David Benjamin 65908c096a Speculatively remove V8 shutdown TSan suppression
The last comment on the bug suggests this is no longer applicable. If
so, we should remove the suppression.

Bug: 347534
Change-Id: I9da64043c95c167a5cab72f09645f6db9a3a50f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625099
Commit-Queue: Adam Klein <adamk@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662558}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 098dcffb1581aa3c26ecb599389aafd83a65238c
2019-05-23 09:55:53 +00:00
David Benjamin d66a1006df Synchronize access to clear_site_data_header_.
This is probably a false positive. The test currently assumes that, in
the period when it's calling SetClearSiteDataHeader, there are no
requests in flight. This appears to be true, however, it depends on
signals across processes, which I suspect TSan is not taking into
account. The race doesn't trigger with --single-process, which supports
this theory.

Still, adding a lock is easy and seems prudent when state is accessed in
this way across threads.

Bug: 965719
Change-Id: I7c5c34a06df4684845f76c0e8730c4bfea7170c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1626297
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662539}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 19351c0a721e1c2c7e9f63481963bbc6f057d7f5
2019-05-23 08:46:54 +00:00
David Benjamin 9bf00753d8 Remove base::Thread::StopSoon suppression
The original instance was fixed in
https://codereview.chromium.org/2973723003. Remove the suppression.

Bug: 258935
Change-Id: If8fa62961505d45a83a8917121e8f4262a97213d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625017
Commit-Queue: Gabriel Charette <gab@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662375}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0af49711412bff18824a4db286ffdf1064d2f28e
2019-05-22 22:00:58 +00:00
Caleb Raitto 2b6c9e9be1 Add a leak suppression for crash keys.
According to crbug.com/961017#c11, we always intentionally
leak crash keys.

Bug:961017

Change-Id: Ic515375a93180998e4adab03daf739d1cd56d494
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1614101
Commit-Queue: Caleb Raitto <caraitto@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662230}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ff3b9db6fa9db65a5235255123a21a6661ed81ea
2019-05-22 17:28:52 +00:00
David Benjamin c4f9ea37e9 Remove stale V8 TSan suppression
Bug discussion suggests the issue was fixed, and
NoTrackDoubleFieldsForSerializerScope no longer exists. Remove the
suppression.

Bug: v8:3143
Change-Id: Ic8bcea8d111ad8334914a817ca46a5f4a83558fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618147
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Steven Valdez <svaldez@chromium.org>
Reviewed-by: Steven Valdez <svaldez@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662189}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4d93139e8e9f1554c944f011ad8c81c251673e73
2019-05-22 15:08:39 +00:00
David Benjamin daea5db866 Replace libevent TSan suppression with finer-grained ones
The original event_sigcb and event_gotsig race conditions were resolved by
https://crbug.com/605894. However, the suppression was so broad that it covered
every event loop iteration using libevent. Several other bugs have crept in
in the meantime.

Add finer-grained suppressions for those bugs.

Bug: 23244, 965714, 965717, 965719, 965722, 965724, 965726
Change-Id: I646da30f7df1d0a19a4c1eb6ad7aebcd93ba099b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1620705
Reviewed-by: Misha Efimov <mef@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662176}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0895d55ac0b76308c3c837133816eddb8b0bf62e
2019-05-22 14:29:16 +00:00
Takuto Ikuta b5c13ed346 switch trusty -> xenial for linux tsan CQ/CI builder
This is step 2 written in
https://chrome-internal-review.googlesource.com/c/infradata/config/+/1324360

I updated suppression list for data race happened in libgobject.so.
e.g.
https://ci.chromium.org/p/chromium/builders/try/linux_chromium_tsan_rel_ng/282235

Bug: 954450
Change-Id: I08c167b1b4f9077c1f74985b13e89c46f6ca203d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621768
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#662056}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aacbdfe80aeae96f0b44fc061592c47805b81717
2019-05-22 03:58:53 +00:00
David Benjamin 7682abdc79 Remove stale PostTaskToInProcessRendererAndWait TSan suppression
This appears to be fixed now. See
https://bugs.chromium.org/p/chromium/issues/detail?id=454655#c12

Bug: 454655
Change-Id: Ib77a0621aa1857b37e0b356a34ba44b3b9ed7deb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617863
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#661807}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f6fcb3b2768139eb51f4960729ed9bf24dad6808
2019-05-21 17:50:51 +00:00
David Benjamin a46b9f6573 Remove stale SandboxIPCHandler::HandleLocaltime suppression.
As of https://chromium-review.googlesource.com/c/chromium/src/+/882281/,
that method no longer exists.

Bug: 797998
Change-Id: Iaeadf89b1c696aeec0e7792ee08c406e867a6031
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618302
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#661370}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73ecf0ffb3372ebc7330c4b1eced6dadb4d65768
2019-05-20 16:57:22 +00:00
David Benjamin be4808bab1 Fix DCHECK-only race condition in ProxyResolverV8TracingImpl
Bug: 699562
Change-Id: I9c818a0c0c490b2d32929a9867d5d3bebf6e8ca9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618016
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#661014}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1e7bfdb26cc8551539d9bf9b94dcc9fd326c55b7
2019-05-17 21:05:49 +00:00
Paul Jensen 7c4aed4851 Suppress TSAN races with net::(anonymous namespace)::g_network_change_notifier
These races have been around 8+ years so new CLs triggering these TSAN failures
should be ignored.  I've prototyped a fix to avoid the races.
This global variable is set very early in Chrome startup and cleared very late
in Chrome shutdown so reads shouldn't race writes.

Bug: 927330
Change-Id: Ic3ed2446e4cee92dbeda83a0b10ad99a1fbf5d63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566824
Reviewed-by: Jonathan Metzman <metzman@chromium.org>
Commit-Queue: Paul Jensen <pauljensen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#650846}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 433cfc173e369a5f51afcd6ef14cab8dbdf9c481
2019-04-15 17:29:26 +00:00
Ian Prest 191c235786 Parameterize accessibility "dump" tests
The accessibility dump tests (both tree-dump and event-dump) execute
multiple passes for each test.  Most OSes run two passes (Blink +
Native), but on Windows we recently introduced a third pass for UIA.

The addition of the UIA pass required that we toggle an experimental
command-line flag to ensure that UIA is properly enabled/disabled.

Unfortunately, modifying the command-line multiple times during the
test ran afoul of the ThreadSanitizer, which reported a data-race
condition.  This required that the dump tests be parameterized, so that
each "pass" now runs independently, and can update their command line
only once.

Note: "gtest_filter" now requires a "/xxx" suffix, e.g.:
   --gtest_filter=DumpAccessibilityEventsTest.ValueValueChanged/*

Bug: 946481, 928949
Change-Id: I6490f33681b5567b6584442c9cf241611b3b5baa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1542692
Commit-Queue: Ian Prest <iapres@microsoft.com>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#646672}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3fb61ca45c6511a79977f32a047613e981d0f2fc
2019-04-02 06:08:23 +00:00
David Benjamin 3499986ec7 Refine base::CommandLine suppression.
The base::CommandLine was overly broad. The flakiness analysis of
https://chromium-review.googlesource.com/c/chromium/src/+/1539787
reported that DumpAccessibilityTreeTest.AccessibilityObject and
QuicAllowedPolicyIsNotSet.NoQuicRegulations were flaky.

The latter has a 1.8% confidence and is on a non-TSan builder, so it's
probably a false positive. DumpAccessibilityTreeTest.AccessibilityObject
is real and is tracked in crbug/946481. Refine the suppression to just
cover that.

(If other command-line races come up, I think it's preferable to add new
suppressions and file new bugs rather than revive the overbroad
base::CommandLine suppression. The overbroad one has let new bugs
through, like the accessibility test.)

Bug: 946481, 334140
Change-Id: If09cb2fa2629751367e3fd822e3ba5159d529492
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1548138
Commit-Queue: David Benjamin <davidben@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#646493}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f38b1c44c8ffe65ef028986507bfe614eafd885f
2019-04-01 20:58:42 +00:00
Matt Menke 7ea5f33bac Revert "Remove suppressions for crbug/334140."
This reverts commit a719973ce617b1a7b0d3e87b4e26dd9f42264406.

Reason for revert: Apparently CommandLine code still has TSAN issues.

Original change's description:
> Remove suppressions for crbug/334140.
>
> The bug is marked closed. Remove the suppressions so we'll catch future
> base::CommandLine races.
>
> Bug: 334140
> Change-Id: Ia5492467222cfcfb4508d62aef9136b932347171
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539787
> Auto-Submit: David Benjamin <davidben@chromium.org>
> Commit-Queue: Matt Menke <mmenke@chromium.org>
> Reviewed-by: Matt Menke <mmenke@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#644463}

TBR=glider@chromium.org,davidben@chromium.org,mmenke@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 334140
Change-Id: I695a4c5af889526c65aae89570b819ddbbaec2ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1544645
Commit-Queue: Matt Menke <mmenke@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#645795}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1a11750ba49af6a070b9a3ecf68045e9e6ec08fc
2019-03-29 16:20:34 +00:00
David Benjamin 42baf5f443 Release ppp_class_data in mocked V8ObjectVar.
The CreateObject implementation should release the ppp_class_data when
it goes out of scope.

Bug: 258113
Change-Id: I563c6b5234f5ac94fed4fd43ce69c448e54866de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539692
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644512}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ad71d5814950c7107f7a2c9adf43dcdc363cafc
2019-03-26 21:06:42 +00:00
David Benjamin 81410ba3c2 Remove suppressions for crbug/334140.
The bug is marked closed. Remove the suppressions so we'll catch future
base::CommandLine races.

Bug: 334140
Change-Id: Ia5492467222cfcfb4508d62aef9136b932347171
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539787
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a719973ce617b1a7b0d3e87b4e26dd9f42264406
2019-03-26 19:55:04 +00:00
Matt Mueller a78ad02be8 remove NSS lsan suppressions
Bug: 51988
Change-Id: I63e487637181b1b5c933bceb46ff182a12afc764
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538985
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Matt Mueller <mattm@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644382}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 82e1a0aeb16d67652cd6ef62577d4098cce97a5a
2019-03-26 17:02:57 +00:00
David Benjamin b7e8c58000 Remove libvpx TSan suppressions.
Per the bug, "The patch mentioned in #49 was already rolled out in
Chrome to reduce the data race warnings. We will close this issue.
Please file a new one if you see more issues."

The bug should not be closed without first removing the suppression. Do
so now, so we'll actually notice if there are more issues.

Bug: 158922
Change-Id: I3c924a73296396d2dd7a8efcdc4705cd8a5fc7c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539286
Commit-Queue: David Benjamin <davidben@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644300}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 680ccb60d62240cd31615d79f9a14f300af7c086
2019-03-26 14:17:05 +00:00
David Benjamin 775124eb00 Speculatively remove TrayAccessibilityTest suppression.
See if this still happens.

Bug: 355641
Change-Id: Idfb2ed96049e7806e54867d253e9f6d43284304d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1512492
Commit-Queue: David Benjamin <davidben@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644298}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9aded53d324ed7189488a10ca87f69060b999c08
2019-03-26 14:08:14 +00:00
David Benjamin 7fe1774649 Remove a bunch of stale TSan suppressions.
Per code search, these symbols don't exist anymore.

Bug: 244368, 333871, 388730, 430533, 569682
Change-Id: Ibb00d618e92d006c1c6e982973f6a946a9162dfa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539153
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644293}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7aa7341a44fcbb42448cb65e507e093a665a40b4
2019-03-26 13:57:43 +00:00
David Benjamin f10d1246de Remove stale TSan suppression.
The bug was fixed, but it looks like we forgot to remove the
suppression. The symbols in question no longer even exist.

Bug: 338675
Change-Id: I9962be3a4a52d1f5a877744eb43e03894c818437
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538571
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644278}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d094f94963faf012217b7ffe5632c383b633ceec
2019-03-26 13:01:32 +00:00
David Benjamin 7fcaf0930e Speculatively remove WebString TSan suppression.
This was fixed per the bug, but we forgot to remove the suppression.
Hopefully it hasn't masked new instances over the past five years!

Bug: 347553
Change-Id: I61164fcc93fb622dfde593c22a7ba06c7d3e92d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538451
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644275}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad45717b55b853121bfc2c206d77483b522b2402
2019-03-26 12:59:59 +00:00
David Benjamin 7bd807cf26 Speculatively remove ProxyResolverV8Tracing TSan suppression.
Per the bug, this was believed to be due to std::string copy-on-write
logic. We've since switched to C++11, which forbids that optimization,
and libc++, which uses the short string optimization instead.

Bug: 310851
Change-Id: Ia40cde0ff3b6e6262addbb51837db08dd6c9a7d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538450
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#644274}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 781a2ea7cf8c5dd6e3d1e29c46e0ab6ab7f5ad02
2019-03-26 12:57:57 +00:00
David Benjamin 9dba2d4b10 Speculatively remove speech recognition LSan suppression.
This appears to have been fixed in https://codereview.chromium.org/2675713002
or so.

Bug: 322671
Change-Id: I70c1e3006760902575bcb8923ccb024ef155af3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1512339
Auto-Submit: David Benjamin <davidben@chromium.org>
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#642474}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2559fbb505e5ba8018ccda772f0bf0fb0610639b
2019-03-20 11:57:26 +00:00
David Benjamin 8345df1a81 Remove EnsureNSSInit TSan suppression.
The original race condition from 2017 is now fixed. Remove the
supression now, so we'll notice if anything new shows up since then.

Bug: 719633
Change-Id: I5250dee8c7362e0337cbd1652f0eae030fb5d43b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1531017
Commit-Queue: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#642461}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b63c38de58c48f315738ecfee083877d170e563e
2019-03-20 11:11:35 +00:00