0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Morrow
f07b26628c SERVER-49078 Disable libunwind for TSAN 2020-07-15 00:12:06 +00:00
Ryan Egesdahl
6a8d8eb4da SERVER-49078 Suppress TSAN reports for AS-unsafe calls in signal handlers
Two functions we call in signal handlers call malloc() down the line.
Because these functions generally happen while the thread was dying, we
will permit the AS-unsafe call, especially since we've never had any
problems with any allocators we've ever used.
2020-07-07 19:30:46 +00:00
Ryan Egesdahl
6f8fa936c6 SERVER-48595 Suppress WiredTiger in unit tests
WiredTiger is known to cause false positives for data races because it
uses a nonstandard thread model that TSAN doesn't know how to deal with.
We have already blacklisted WiredTiger in TSAN, but that only affects
threads created within the WiredTiger source. For threads that call
*into* WiredTiger, we need to add suppressions so we still get any
potential failures from elsewhere.
2020-06-08 16:43:41 +00:00
Ryan Egesdahl
e476c8ff9c SERVER-48337 Fix death tests with TSAN
Fix death tests running under ThreadSanitizer. Death tests were causing
TSAN to emit a signal report, which is a false positive. The signal
report was then causing the expected failure message to not be parsed as
JSON. TSAN ignal reports will be suppressed for all death tests.
2020-05-27 23:48:39 +00:00
Eric Milkie
a1ffa36455 Add support for tsan suppressions 2015-03-06 11:08:45 -05:00