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

616 Коммитов

Автор SHA1 Сообщение Дата
Alexis Beingessner b4afded0ed Bug 1683439 - Remove suppression for fixed issue. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D104051
2021-02-05 17:22:06 +00:00
Yaron Tausky e50c13a6ff Bug 1682928 - Remove TSan suppression r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D103048
2021-02-04 14:34:56 +00:00
smolnar 5618a307a4 Backed out 5 changesets (bug 1682928) for causing failures in test_eventsourceservice_worker. CLOSED TREE
Backed out changeset d07913a1ae00 (bug 1682928)
Backed out changeset 693d9056779c (bug 1682928)
Backed out changeset 44de49551bc9 (bug 1682928)
Backed out changeset 2fae6d457441 (bug 1682928)
Backed out changeset 5c41e69bed76 (bug 1682928)
2021-02-03 16:59:53 +02:00
Yaron Tausky c316e37e66 Bug 1682928 - Remove TSan suppression r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D103048
2021-02-02 16:02:50 +00:00
Alexis Beingessner 744cc705b3 Bug 1674835 - remove supression for fixed issue. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D103046
2021-02-02 16:03:14 +00:00
Kris Wright bbefc50271 Bug 1671572 - Remove suppression for fixed issue. r=decoder
It looks like this may have been fixed around 2 months ago in Bug 1664831: https://searchfox.org/mozilla-central/rev/1ebc9745be02eebf7a694f5c527a44a045b8c97a/gfx/layers/ipc/ShadowLayers.cpp#149

Differential Revision: https://phabricator.services.mozilla.com/D102617
2021-01-22 14:36:42 +00:00
Alexis Beingessner bf73a5ae13 Bug 1685857 - fix signatures for crossbeam_deque supressions. r=decoder
they weren't matching due to the lack of ::deque::, so make the * cover more

Differential Revision: https://phabricator.services.mozilla.com/D101626
2021-01-25 17:35:07 +00:00
Alexis Beingessner 5d1c059485 Bug 1683357 - supress issue found while bringing up wpt. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D102319
2021-01-22 14:20:32 +00:00
Alexis Beingessner 933609837a Bug 1682928 - supress issue found while bringing up wpt. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D102318
2021-01-22 14:20:22 +00:00
Alexis Beingessner 8c088adfd1 Bug 1682861 - Add supression for likely false-positive. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D102317
2021-01-22 14:20:14 +00:00
Kris Wright 6e005283fa Bug 1645696 - Remove suppressions for issue. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D101370
2021-01-21 10:57:05 +00:00
Kris Wright 207c544f93 Bug 1607138 - Remove suppression for gXPCOMThreadsShutdown r=decoder
This is no longer going to be detected by tsan. I figure with full shutdown enabled we should be able to see if there were other issues around this one.

Differential Revision: https://phabricator.services.mozilla.com/D102487
2021-01-21 11:06:22 +00:00
Alexis Beingessner 6cf6d9fd33 Bug 1682948 - properly hold the CacheEntry's lock when accessing mPinned. r=necko-reviewers,dragana,decoder
Differential Revision: https://phabricator.services.mozilla.com/D100248
2021-01-18 13:55:30 +00:00
Alexis Beingessner 9f7253d99b Bug 1682948 - supress issue found while enabling full shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D101198
2021-01-08 20:08:11 +00:00
Alexis Beingessner 825f7cecb0 Bug 1623541 - suppress issue found while enabling full tsan shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100948
2021-01-08 20:08:02 +00:00
Alexis Beingessner 8ad1efbd2e Bug 1682951 - supress issue found while enabling full tsan shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100359
2021-01-08 20:07:53 +00:00
Alexis Beingessner 2f349670d9 Bug 1645696 - suppress issue that gets worse with full shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100358
2021-01-08 20:07:43 +00:00
Alexis Beingessner cd8995fefc Bug 1683404 - supress issue found while enabling full tsan shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100268
2021-01-08 20:07:36 +00:00
Alexis Beingessner 13a9bf68af Bug 1683417 - supress issue found while enabling full tsan shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100267
2021-01-08 20:07:34 +00:00
Alexis Beingessner fc79d42a7f Bug 1683439 - supress issue found while enabling full tsan shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100266
2021-01-08 20:07:24 +00:00
Alexis Beingessner dd490980a5 Bug 1607588 - add back supression for code that gets stressed more in a full shutdown. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100265
2021-01-08 20:07:11 +00:00
Alexis Beingessner 9a491a3519 Bug 1683730 - Enable full shutdown under tsan. r=decoder
This eliminates all of the thread leaks we had on record, while also increasing
our coverage on the code that's used for testing firefox.

Differential Revision: https://phabricator.services.mozilla.com/D100264
2021-01-08 20:07:04 +00:00
Kris Wright f3958b2bdc Bug 1683732 - Add a bug number for ImageBridgeChild to TsanOptions.cpp r=decoder
`ImageBridgeChild` was turned into a one-off thread due to a deadlock, but when bug 1672255 is finished we can revert the changes back to a background task queue without any issues and get rid of these suppressions.

Differential Revision: https://phabricator.services.mozilla.com/D100257
2020-12-23 09:36:52 +00:00
Razvan Maries 6d1746e38b Backed out changeset ef0570dd669b (bug 1664535) for High frequency failures. CLOSED TREE 2020-12-18 22:32:54 +02:00
Alexis Beingessner e2c438e4c8 Bug 1682143 - Add a few more variants of the crossbeam supression. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100021
2020-12-18 17:00:35 +00:00
Jon Coppeard e6a7c3288b Bug 1664535 - Remove TSAN suppression now write barriers are not triggered on background threads r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D100139
2020-12-18 16:59:51 +00:00
smolnar 8fca43061d Backed out changeset 5d120a154a6b (bug 1674776) as requested. CLOSED TREE DONTBUILD 2020-12-17 03:22:33 +02:00
Hiroyuki Ikezoe f78a1ad627 Bug 1674776 - Update DocumentTimeline::mLastRefreshDriverTime outside parallel styling. r=boris,decoder
Note that we can probably use mLastRefreshDriverTime directly in
DocumentTimeline::GetCurrentTimeStamp(), i.e. we don't need to use the refresh
driver there, but I'd preserve the current behavior.

Differential Revision: https://phabricator.services.mozilla.com/D97823
2020-12-17 00:51:18 +00:00
Andreea Pavel 9159ca1ff4 Backed out changeset 847bca011f0f (bug 1674776) for causing bug 1682472 on a CLOSED TREE 2020-12-16 12:59:13 +02:00
Hiroyuki Ikezoe bc1eb2e0f6 Bug 1674776 - Update DocumentTimeline::mLastRefreshDriverTime outside parallel styling. r=boris,decoder
Note that we can probably use mLastRefreshDriverTime directly in
DocumentTimeline::GetCurrentTimeStamp(), i.e. we don't need to use the refresh
driver there, but I'd preserve the current behavior.

Differential Revision: https://phabricator.services.mozilla.com/D97823
2020-12-14 23:55:06 +00:00
Alexis Beingessner d652e4c378 Bug 1614697 - Remove supression for fixed issue. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D99307
2020-12-14 17:26:32 +00:00
Ted Campbell c90491dbe9 Bug 1601632 - Cleanup ScriptPreloader Runnable behaviour. r=kmag,Gankro,decoder
Add `mWaitingForDecode` to indicate that main-thread is blocked on the
Monitor and should be woken. This avoids generating some of the unused
Runnables. Also ensure `mFinishDecodeRunnablePending` is only accessed while
holding the lock.

Depends on D99403

Differential Revision: https://phabricator.services.mozilla.com/D99404
2020-12-14 15:23:56 +00:00
Ted Campbell d8e3670c2f Bug 1601632 - Make ScriptPreloader::mToken updates Atomic. r=kmag,Gankro,decoder
The `mToken` is used across threads without full locking so it must be marked
as atomic. At the same time, we can use `exchange` operations to read or
write outside of the mMonitor lock.

Depends on D99402

Differential Revision: https://phabricator.services.mozilla.com/D99403
2020-12-14 15:23:48 +00:00
Ted Campbell 70f361ffe6 Bug 1608462 - Simplify locking for ScriptPreloader::MaybeFinishOffThreadDecode. r=kmag,Gankro,decoder
Be consistent about always calling `MaybeFinishOffThreadDecode` without
holding the lock to simplify code. This lets us remove a TSAN deadlock
exception.

Differential Revision: https://phabricator.services.mozilla.com/D99402
2020-12-14 15:23:34 +00:00
Andrew McCreight 215e494a20 Bug 1640445 - Avoid a race between the GC and WriteCache() with an extra field. r=kmag,decoder
See the comment on ScriptHolder for an explanation.

Differential Revision: https://phabricator.services.mozilla.com/D78711
2020-12-11 23:25:27 +00:00
Alexis Beingessner 680ebac7e0 Bug 1619162 - Remove supression for fixed issue. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D98949
2020-12-10 07:34:01 +00:00
Alessio Placitelli fc6d79e330 Bug 1680474 - Remove Glean's dispatcher TSAN suppression. r=decoder
Even though the Glean dispatcher was shutting down, the SDK was not
properly joining on the thread, triggering a TSAN error. This has been
addressed in a new version of the Glean SDK.

Differential Revision: https://phabricator.services.mozilla.com/D98889
2020-12-07 11:02:42 +00:00
Alexis Beingessner 3a6630ec51 Bug 1606803 - revert d4953114117e, still happens rarely. r=decoder
Specifically an instance was being blocked by our nsHostResolver suppression.

Differential Revision: https://phabricator.services.mozilla.com/D99112
2020-12-08 16:56:00 +00:00
Alexis Beingessner 137f4e977f Bug 1670982 - Make the bitflags in CacheStorageService actually atomic. r=decoder,necko-reviewers,dragana,valentin
TSan found races on these flags that are ostensibly benign but this way there's no UB.

This code is a bit weird. These bitfields are seemingly pointless as
they're squeezed between a uint64_t and an Atomic<bool>. There's plenty
of space for 2 more bools there.

Also the Atomic<bool> could theoretically be merged into the flags. For
now, here's the version of this patch that preserves the semantics of
this code as closely as possible, for review by the code owners.

Differential Revision: https://phabricator.services.mozilla.com/D93416
2020-12-08 16:56:23 +00:00
Alexis Beingessner f0c5b52027 Bug 1670982 - Make the bitfields in nsHostResolver atomic. r=decoder,necko-reviewers,dragana,valentin
TSan found races between mResolveAgain and mGetTtl. This makes them non-UB.

The code is a bit weird. Although the values are typed as uint16_t's, they're
used as bools (even assigned true/false). In addition, the atomic bool mTRRUsed
could be folded into these fields, as there is a spare bit. I decided not to
change these things, as network code can have weird representation requirements
that I'd prefer the owners of the code chime in on first.

Differential Revision: https://phabricator.services.mozilla.com/D93417
2020-12-08 16:39:42 +00:00
Bogdan Tara f121ad11ea Backed out 2 changesets (bug 1670982) for tsan xpc shell failures CLOSED TREE
Backed out changeset 3ce1e8c65cbc (bug 1670982)
Backed out changeset e7211a44d968 (bug 1670982)
2020-12-08 01:59:32 +02:00
Alexis Beingessner d9f9c2427e Bug 1670982 - Make the bitflags in CacheStorageService actually atomic. r=decoder,necko-reviewers,dragana,valentin
TSan found races on these flags that are ostensibly benign but this way there's no UB.

This code is a bit weird. These bitfields are seemingly pointless as
they're squeezed between a uint64_t and an Atomic<bool>. There's plenty
of space for 2 more bools there.

Also the Atomic<bool> could theoretically be merged into the flags. For
now, here's the version of this patch that preserves the semantics of
this code as closely as possible, for review by the code owners.

Differential Revision: https://phabricator.services.mozilla.com/D93416
2020-12-07 18:32:51 +00:00
Alexis Beingessner 68b4c43ed6 Bug 1670982 - Make the bitfields in nsHostResolver atomic. r=decoder,necko-reviewers,dragana,valentin
TSan found races between mResolveAgain and mGetTtl. This makes them non-UB.

The code is a bit weird. Although the values are typed as uint16_t's, they're
used as bools (even assigned true/false). In addition, the atomic bool mTRRUsed
could be folded into these fields, as there is a spare bit. I decided not to
change these things, as network code can have weird representation requirements
that I'd prefer the owners of the code chime in on first.

Differential Revision: https://phabricator.services.mozilla.com/D93417
2020-12-07 18:32:33 +00:00
Kevin Jacobs 1269e1524e Bug 1680655 - Extend TSAN false-positive suppression to EncryptedClientHelloServer. r=decoder
No idea why this didn't show up in earlier try runs, but this is a known false-positive that we need to suppress in the newly-added EncryptedClientHelloServer.

Differential Revision: https://phabricator.services.mozilla.com/D98771
2020-12-04 15:42:25 +00:00
Alexis Beingessner 7dc4ce8177 Bug 1606864 - Add more supressions for new variants. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D98643
2020-12-03 20:57:09 +00:00
Alessio Placitelli b0c6d152de Bug 1662868 - Add a TSAN suppression for the Glean dispatcher. r=decoder
We will investigate the root cause of the TSAN problem in bug
1680474, but we need to land this massive stack first.

Differential Revision: https://phabricator.services.mozilla.com/D98579
2020-12-03 12:01:41 +00:00
Alexis Beingessner 9b93f68a1f Bug 1677049 - disable more flakey tests and add a supression for mochitest-bc. r=malexandru
Differential Revision: https://phabricator.services.mozilla.com/D98485
2020-12-02 16:33:52 +00:00
Geoff Brown 58cf701644 Bug 1607446 - Fix tsan-detected data race in nsJARChannel; r=valentin,decoder
Simply use Atomic to avoid a data race.

Differential Revision: https://phabricator.services.mozilla.com/D98276
2020-12-02 07:36:56 +00:00
Alexis Beingessner 40d9acf18f Bug 1677682 - use a wildcard for generics to avoid accidental regex syntax. r=decoder
Didn't want to mess around with double-escaping slashes

Differential Revision: https://phabricator.services.mozilla.com/D97645
2020-11-19 19:12:32 +00:00
Csoregi Natalia baf3102105 Backed out changeset 88f6cae1d63f (bug 1674770) for causing build bustages. CLOSED TREE 2020-11-19 19:06:26 +02:00