This is an archive of the discontinued LLVM Phabricator instance.

[msan] Don't track origns in signal handlers
ClosedPublic

Authored by vitalybuka on Aug 4 2021, 1:05 AM.

Details

Summary

Origin::CreateHeapOrigin is not async-signal-safe and can deadlock.

Unfortunately the test touche the code but fails to reproduce the
deadlock.

Diff Detail

Event Timeline

vitalybuka created this revision.Aug 4 2021, 1:05 AM
vitalybuka requested review of this revision.Aug 4 2021, 1:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2021, 1:05 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka edited the summary of this revision. (Show Details)Aug 4 2021, 1:06 AM
vitalybuka added reviewers: morehouse, eugenis.
morehouse accepted this revision.Aug 5 2021, 10:51 AM
This revision is now accepted and ready to land.Aug 5 2021, 10:51 AM
This revision was automatically updated to reflect the committed changes.