The problem was introduced in D100348.
It's really hard to trigger the bug in a stress test - the race is just too
narrow - but the new checks in Thread::Init should at least provide usable
diagnostic if the problem ever returns.
Paths
| Differential D101881
[hwasan] Fix missing synchronization in AllocThread. ClosedPublic Authored by eugenis on May 4 2021, 7:51 PM.
Details Summary The problem was introduced in D100348. It's really hard to trigger the bug in a stress test - the race is just too
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 4 2021, 8:58 PM Closed by commit rG18959a6a094c: [hwasan] Fix missing synchronization in AllocThread. (authored by eugenis). · Explain WhyMay 5 2021, 11:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 343134 compiler-rt/lib/hwasan/hwasan_thread.cpp
compiler-rt/lib/hwasan/hwasan_thread_list.h
|