Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add ios_base::width tsan suppression #23370

Merged
merged 1 commit into from Nov 10, 2021

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Oct 27, 2021

This PR:

  • adds tsan suppression for intermittent failures in CI
SUMMARY: ThreadSanitizer: data race /usr/lib/llvm-12/bin/../include/c++/v1/ios:523:12 in std::__1::ios_base::width() const

@shaavan
Copy link
Contributor

shaavan commented Oct 27, 2021

Concept ACK

TSan suppression looks like the right thing to do for now. But as @ryanofsky mentioned here, we have to take a look into the source of this error and make sure that suppressing this error might not cause a significant problem in the future.

@laanwj
Copy link
Member

laanwj commented Nov 10, 2021

Concept and code review ACK 96c7db9
(I think adding a surpression deep inside the C++ library is somewhat scary, but the explanation in @ryanofsky 's comment makes it clearer)

@laanwj laanwj merged commit 8f86820 into bitcoin:master Nov 10, 2021
@hebasto hebasto deleted the 211027-tsan-cout branch November 10, 2021 12:24
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Nov 10, 2021
96c7db9 test: Add ios_base::width tsan suppression (Hennadii Stepanov)

Pull request description:

  This PR:
  - adds tsan suppression for intermittent failures in CI
  ```
  SUMMARY: ThreadSanitizer: data race /usr/lib/llvm-12/bin/../include/c++/v1/ios:523:12 in std::__1::ios_base::width() const
  ```

  - fixes bitcoin#23366

ACKs for top commit:
  laanwj:
    Concept and code review ACK 96c7db9

Tree-SHA512: fcad296e8da4a6d94dcbb011c3d9b3d07f6983818be16cfff8341a035fa6abe2777ae72409c9bc83083097660408a850c1e9cd6f0ad3ea7976e4a4768f1e1858
@bitcoin bitcoin locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants