This is an archive of the discontinued LLVM Phabricator instance.

tsan: prevent insertion of memset into BenignRaceImpl
ClosedPublic

Authored by dvyukov on Jul 31 2021, 12:12 AM.

Details

Summary

Some bots started failing with the following error
after changing Alloc to New. Change it back.

ThreadSanitizer: CHECK failed: ((locked[i].recursion)) == ((0))
4 sanitizer::CheckedMutex::CheckNoLocks()
5
tsan::ScopedInterceptor::~ScopedInterceptor()
6 memset
7 tsan::New<tsan::ExpectRace>()
8 __tsan::AddExpectRace()
9 BenignRaceImpl()

Diff Detail

Event Timeline

dvyukov requested review of this revision.Jul 31 2021, 12:12 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2021, 12:12 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision was not accepted when it landed; it landed in state Needs Review.Jul 31 2021, 12:17 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.