http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55975
--- Comment #19 from Andreas Schwab <sch...@linux-m68k.org> 2013-01-18 13:25:42 UTC --- MEM_TO_SHODOW does not work when (SHADOW_OFFSET << SHADOW_SHIFT) is less than kHighMemEnd. $ ASAN_OPTIONS=verbosity=1 ./clone-test-1.exe ==16778== Parsed ASAN_OPTIONS: verbosity=1 ==16778== AddressSanitizer: libc interceptors initialized || `[0x080000000000, 0x3fffffffffff]` || HighMem || || `[0x030000000000, 0x07ffffffffff]` || HighShadow || || `[0x024000000000, 0x02ffffffffff]` || ShadowGap || || `[0x020000000000, 0x023fffffffff]` || LowShadow || || `[0x000000000000, 0x01ffffffffff]` || LowMem || MemToShadow(shadow): 0x024000000000 0x0247ffffffff 0x026000000000 0x02ffffffffff red_zone=128 malloc_context_size=30 SHADOW_SCALE: 3 SHADOW_GRANULARITY: 8 SHADOW_OFFSET: 20000000000 ==16778== Installed the sigaction for signal 11 ==16778== T0: stack [0x3fffcebc9000,0x3fffcf3c9000) size 0x800000; local=0x3fffcf3c6990 ==16778== AddressSanitizer Init done ASAN:SIGSEGV ================================================================= ==16778== ERROR: AddressSanitizer: SEGV on unknown address 0x09fff9e78d62 (pc 0x000010000d10 sp 0x3fffcf3c6a70 bp 0x3fffcf3c6a70 T0) AddressSanitizer can not provide additional info. #0 0x10000d0c (/home/andreas/src/gcc/ppc/gcc/testsuite/gcc/clone-test-1.exe+0x10000d0c) Stats: 0M malloced (0M for red zones) by 0 calls Stats: 0M realloced by 0 calls Stats: 0M freed by 0 calls Stats: 0M really freed by 0 calls Stats: 0M (0M-0M) mmaped; 0 maps, 0 unmaps mmaps by size class: mallocs by size class: frees by size class: rfrees by size class: Stats: malloc large: 0 small slow: 0 Stats: StackDepot: 0 ids; 0M mapped ==16778== ABORTING