ramosian-glider / thread-sanitizer

Automatically exported from code.google.com/p/thread-sanitizer
0 stars 0 forks source link

Linux 4.1: FATAL: ThreadSanitizer: unexpected memory mapping #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
With Linux 4.1 and gcc 4.9 or 5.2 I get this error:

$ echo 'void main(void){}' | gcc -pie -fPIE -fsanitize=thread -xc - && ./a.out
FATAL: ThreadSanitizer: unexpected memory mapping 0x55d400945000-0x55d40094600

It seems that this commit (thanks to Ben Hutchings for finding it) is change is 
the root of the problem: 
https://git.kernel.org/linus/d1fd836dcf00d2028c700c7e44d2c23404062c90

Related: http://bugs.debian.org/796246

Original issue reported on code.google.com by jrobert....@gmail.com on 21 Aug 2015 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by gli...@google.com on 21 Aug 2015 at 2:10