http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55792
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2013-01-03 19:03:25 UTC --- I got ==23584== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7f03d1089238 at pc 0xb9284a bp 0x7fffbd507b60 sp 0x7fffbd507b58 READ of size 1 at 0x7f03d1089238 thread T0 #0 0xb92849 (/export/build/gnu/gcc-lto-fdo-asan/build-x86_64-linux/prev-gcc/lto1+0xb92849) 0x7f03d1089238 is located 504 bytes inside of 4072-byte region [0x7f03d1089040,0x7f03d108a028) freed by thread T0 here: #0 0x3afde5e (/export/build/gnu/gcc-lto-fdo-asan/build-x86_64-linux/prev-gcc/lto1+0x3afde5e) #1 0x3aebcfc (/export/build/gnu/gcc-lto-fdo-asan/build-x86_64-linux/prev-gcc/lto1+0x3aebcfc) previously allocated by thread T0 here: #0 0x3afdfd4 (/export/build/gnu/gcc-lto-fdo-asan/build-x86_64-linux/prev-gcc/lto1+0x3afdfd4) #1 0x3af6b1e (/export/build/gnu/gcc-lto-fdo-asan/build-x86_64-linux/prev-gcc/lto1+0x3af6b1e) Shadow byte and word: 0x1fe07a211247: fa 0x1fe07a211240: fa fa fa fa fa fa fa fa More shadow bytes: 0x1fe07a211220: fa fa fa fa fa fa fa fa 0x1fe07a211228: fa fa fa fa fa fa fa fa 0x1fe07a211230: fa fa fa fa fa fa fa fa 0x1fe07a211238: fa fa fa fa fa fa fa fa =>0x1fe07a211240: fa fa fa fa fa fa fa fa 0x1fe07a211248: fa fa fa fa fa fa fa fa 0x1fe07a211250: fa fa fa fa fa fa fa fa 0x1fe07a211258: fa fa fa fa fa fa fa fa 0x1fe07a211260: fa fa fa fa fa fa fa fa [hjl@gnu-mic-2 prev-gcc]$ addr2line -e lto1 0xb92849 /export/gnu/import/git/gcc-misc/gcc/dwarf2out.c:22425 [hjl@gnu-mic-2 prev-gcc]$ addr2line -e lto1 0x3afde5e /export/gnu/import/git/gcc-misc/libsanitizer/asan/asan_malloc_linux.cc:60 [hjl@gnu-mic-2 prev-gcc]$ addr2line -e lto1 0x3aebcfc /export/gnu/import/git/gcc-misc/libiberty/hashtab.c:584 [hjl@gnu-mic-2 prev-gcc]$ addr2line -e lto1 0x3afdfd4 /export/gnu/import/git/gcc-misc/libsanitizer/asan/asan_malloc_linux.cc:86 [hjl@gnu-mic-2 prev-gcc]$ addr2line -e lto1 0x3af6b1e /export/gnu/import/git/gcc-misc/libiberty/xmalloc.c:162 [hjl@gnu-mic-2 prev-gcc]$