Skip to content

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Dec 22, 2020

Fixup of #20218. Comments must start from the beginning of the line.

See ThreadSanitizerSuppressions docs:

Comment lines start with #.

Fixup of bitcoin#20218. Comments must start from the beginning of the line.
@maflcko
Copy link
Member

maflcko commented Dec 22, 2020

thanks

review ACK d71e29e

@DrahtBot DrahtBot added the Tests label Dec 22, 2020
@maflcko maflcko merged commit 9286b1c into bitcoin:master Dec 22, 2020
@hebasto hebasto deleted the 201222-epoll branch December 22, 2020 17:31
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Dec 22, 2021
Summary:
> It seems the data race in epoll_ctl could be false positive, and be caused by clang tsan instrumentation code (e.g., https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20131007/190642.html). But not for sure, of course.

This is a backport of [[bitcoin/bitcoin#20218 | core#20218]] and [[bitcoin/bitcoin#20745 | core#20745]]

Note: I wasn't able to reproduce it today in a loop of 10 `ninja check-functional`, but I have seen this race in the past. I have a log file locally with a `ThreadSanitizer` data race involving `epoll_ctl`.

Test Plan:
With TSAN:

```
for i in `seq 10`; do  ninja check-functional; done
```

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10722
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants