-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ThreadSanitizer SEGFAULT #843
Comments
Does this reproduce with a newer clang? 3.4 is more than 3 years old, lots of bugs was fixed since then. |
Still happens when installing it from the official repos:
Gives out the following:
|
Need to understand what's different in your environment. It generally works for other people. What version of linux do you use? |
I'm sorry, I just realized I was running this under a Windows Subsystem for Linux environment by mistake; it seems to have strange effects on how memory is allocated and so on. I'm closing this issue. Thanks! |
I wrote the following code:
When compiling with
clang++ -fsanitize=thread --std=c++11 -lpthread file.cc
and running, I get the following:This is using Ubuntu 14.04.5 LTS (Trusty Tahr) and:
The text was updated successfully, but these errors were encountered: