Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Third party allocators don't work with sanitizers #8859

Closed
zanmato1984 opened this issue Mar 21, 2024 · 0 comments · Fixed by #8858
Closed

Third party allocators don't work with sanitizers #8859

zanmato1984 opened this issue Mar 21, 2024 · 0 comments · Fixed by #8858
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@zanmato1984
Copy link
Contributor

Enhancement

Third party allocators (jemalloc/mimalloc) will hook system malloc/free. However sanitizers do the same thing. So they don't work with each other.

Though our current sanitizer builds seem not to be interfered with these allocators, because we are lucky that jemalloc (enabled by default) is somehow either not linked into our UT or lost the battle of hooking malloc/free with sanitizers, we'd better detect such use and disable them.

@zanmato1984 zanmato1984 added the type/enhancement The issue or PR belongs to an enhancement. label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant