This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Fix deadlock in StopTheWorld. The tracer thread in StopTheWorld could wait on a mutex forever if the parent process died before unlocking it. Use PR_SET_PDEATHSIG so that the parent would kill the child in this scenario.
ClosedPublic

Authored by earthdok on Oct 8 2013, 8:58 AM.

Details

Reviewers
dvyukov

Diff Detail

Event Timeline

dvyukov accepted this revision.Oct 8 2013, 10:17 AM

LGTM

earthdok closed this revision.Dec 5 2014, 9:39 AM