Bug 1614605 - Add permanent deadlock suppressions for single thread. r=keeler

Differential Revision: https://phabricator.services.mozilla.com/D63757

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Christian Holler 2020-02-24 17:36:00 +00:00
parent 3b4b507cac
commit 77294951e7

View File

@ -127,6 +127,19 @@ extern "C" const char* __tsan_default_suppressions() {
"race:nsHttpChannel::OnCacheEntryCheck\n"
"race:~AutoCacheWaitFlags\n"
// Deadlock reports on single-threaded runtime.
//
// This is a known false positive from TSan where it reports
// a potential deadlock even though all mutexes are only
// taken by a single thread. For applications/tasks where we
// are absolutely sure that no second thread will be involved
// we should suppress these issues.
//
// See also https://github.com/google/sanitizers/issues/488
// Bug 1614605 - permanent
"deadlock:SanctionsTestServer\n"
"deadlock:OCSPStaplingServer\n"
// Bug 1153409
"race:third_party/sqlite3/*\n"
"deadlock:third_party/sqlite3/*\n"
@ -292,10 +305,6 @@ extern "C" const char* __tsan_default_suppressions() {
"race:GCRuntime::setPerformanceHint\n"
"race:GCHeapThreshold::updateAfterGC\n"
// Bug 1614605
"deadlock:SanctionsTestServer\n"
"deadlock:OCSPStaplingServer\n"
// Bug 1614646
"race:nsCookieService::CountCookiesFromHostInternal\n"
"race:nsCookieService::InitDBStates\n"