Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 303 by [email protected]: FB10/LLVM/CLANG3.5: Shadow memory
range interleaves with an existing memory mapping. ASan cannot proceed
correctly. ABORTING.
http://code.google.com/p/address-sanitizer/issues/detail?id=303
What steps will reproduce the problem?
1.
Create a file test.c:
#include <stdio.h>
#include <stdlib.h>
int main(void){
char * _b=(char*)calloc(1,20);
free(_b);
return (0);
}
2. compile
clang -fsanitize=address -O0 -fno-omit-frame-pointer -g3 test.c -o test
3. run ./test
and this is what I get:
==5969==Shadow memory range interleaves with an existing memory mapping.
ASan cannot proceed correctly. ABORTING.
==5969==Process memory map follows:
0x000000400000-0x000000457000 /tmp/devel/lab/src/test
0x000000656000-0x000000657000 /tmp/devel/lab/src/test
0x000000657000-0x000001290000
0x000800656000-0x000800670000 /libexec/ld-elf.so.1
0x000800670000-0x000800695000
0x000800695000-0x000800698000
0x00080069b000-0x00080069d000
0x00080086f000-0x000800871000
0x000800871000-0x00080087e000 /lib/libgcc_s.so.1
0x00080087e000-0x000800a7d000
0x000800a7d000-0x000800a7e000 /lib/libgcc_s.so.1
0x000800a7e000-0x000800be2000 /lib/libc.so.7
0x000800be2000-0x000800de2000
0x000800de2000-0x000800dee000 /lib/libc.so.7
0x000800dee000-0x000800e17000
0x000800e17000-0x000800e30000 /lib/libthr.so.3
0x000800e30000-0x00080102f000
0x00080102f000-0x000801031000 /lib/libthr.so.3
0x000801031000-0x00080103c000
0x00080103c000-0x000801041000 /usr/lib/librt.so.1
0x000801041000-0x000801241000
0x000801241000-0x000801242000 /usr/lib/librt.so.1
0x000801242000-0x000801267000 /lib/libm.so.5
0x000801267000-0x000801467000
0x000801467000-0x000801468000 /lib/libm.so.5
0x000801800000-0x000801c00000
0x7fffffbfe000-0x7fffffbff000
0x7ffffffdf000-0x7ffffffff000
0x7ffffffff000-0x800000000000
==5969==End of process memory map.
What version of the product are you using? On what operating system?
I'm trying to compile llvm/clang 3.5 from source (svn), on FreeBSD
10.0-RELEASE-p1 GENERIC amd64
autoconf-2.69
autoconf-wrapper-20131203
automake-1.14
automake-wrapper-20131203
cmake-2.8.12.1_4
cmake-modules-2.8.12.1_1
gmake-3.82_1
libtool-2.4.2_2
llvm33-3.3_8
m4-1.4.17_1,1
perl5-5.16.3_9
python27-2.7.6_4
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.