We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Linux 4.10.x and gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 I get this error:
FATAL: ThreadSanitizer: unexpected memory mapping 0x5637e5c3b000-0x5637e5c3c000
//gcc -fsanitize=thread -pie -fPIC -ltsan -g race.c && ./a.out #include <pthread.h> #include <stdio.h> int y; void *thread(void *x) { y++; return NULL; } int main() { pthread_t t[2]; pthread_create(&t[0], NULL, thread, NULL); y = 100; pthread_join(t[0], NULL); }
The text was updated successfully, but these errors were encountered:
Dup of #503 This is fixed in newer gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308 Try updating, or as workaround try to remove -pie -fPIC flags.
Sorry, something went wrong.
No branches or pull requests
Hi,
Linux 4.10.x and gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 I get this error:
FATAL: ThreadSanitizer: unexpected memory mapping 0x5637e5c3b000-0x5637e5c3c000
The text was updated successfully, but these errors were encountered: