Use of gethostent provokes caching of some resources inside of libc.
They are freed in libc_thread_freeres very late in thread lifetime,
after our ThreadFinish. libc_thread_freeres calls free which
previously crashed in malloc hooks.
Fix it by setting ignore_interceptors for finished threads,
which in turn prevents malloc hooks.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rGc7081b5b4cb5: tsan: fix crash during thread exit
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo