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

FATAL: ThreadSanitizer: unexpected memory mapping 0x73cd96e72000-0x73cd97300000 #12

Open
Supertitan568 opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Supertitan568
Copy link

Problem:
When building there are no errors, but when running it gives the above error.

Enviroment Info:
Distro: Arch Linux

How to reproduce

make
make run
@joexbayer
Copy link
Owner

Thanks for the issue! Will look into it.

@joexbayer
Copy link
Owner

"Recently on Linux Kernels 6.6.6 and higher it was discovered that thread sanitizer will always lead to this error"

It seems that Archlinux has a bug with the sanitizer, easiest way to make it run is:
sudo sysctl vm.mmap_rnd_bits=30

Thanks for bringing this to my attention!

Ref: https://stackoverflow.com/questions/77850769/fatal-threadsanitizer-unexpected-memory-mapping-when-running-on-linux-kernels

@joexbayer joexbayer added the bug Something isn't working label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants