http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59311

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
==8030==ERROR: AddressSanitizer: global-buffer-overflow on address
0x00000297d2e4 at pc 0xe64e63 bp 0x7fffe2f360f0 sp 0x7fffe2f360e8
READ of size 4 at 0x00000297d2e4 thread T0
    #0 0xe64e62
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0xe64e62)
    #1 0xe69740
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0xe69740)
    #2 0xe6aee8
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0xe6aee8)
    #3 0x146e649
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x146e649)
    #4 0x146f008
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x146f008)
    #5 0x146f02e
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x146f02e)
    #6 0x146f02e
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x146f02e)
    #7 0xda6389
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0xda6389)
    #8 0xdabc84
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0xdabc84)
    #9 0xdaceea
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0xdaceea)
    #10 0x85a67a
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x85a67a)
    #11 0x16535f4
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x16535f4)
    #12 0x1658083
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x1658083)
    #13 0x3cdda21b44 (/lib64/libc.so.6+0x3cdda21b44)
    #14 0x5b66e0
(/export/build/gnu/gcc-asan/build-x86_64-linux/gcc/cc1plus+0x5b66e0)
0x00000297d2e4 is located 60 bytes to the left of global variable
'dbx_register_map' from '/export/gnu/import/git/gcc/gcc/config/i386/i386.c'
(0x297d320) of size 324
0x00000297d2e4 is located 0 bytes to the right of global variable
'dbx64_register_map' from '/export/gnu/import/git/gcc/gcc/config/i386/i386.c'
(0x297d1a0) of size 324
Shadow bytes around the buggy address:
  0x000080527a00: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080527a10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080527a20: 00 00 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9
  0x000080527a30: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080527a40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x000080527a50: 00 00 00 00 00 00 00 00 00 00 00 00[04]f9 f9 f9
  0x000080527a60: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080527a70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080527a80: 00 00 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9
  0x000080527a90: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080527aa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:     fa
  Heap right redzone:    fb
  Freed heap region:     fd
  Stack left redzone:    f1
  Stack mid redzone:     f2
  Stack right redzone:   f3
  Stack partial redzone: f4
  Stack after return:    f5
  Stack use after scope: f8
  Global redzone:        f9
  Global init order:     f6
  Poisoned by user:      f7
  ASan internal:         fe
==8030==ABORTING

Reply via email to