public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/55975] FAIL: c-c++-common/asan/global-overflow-1.c  -O0  output pattern test
Date: Tue, 15 Jan 2013 20:00:00 -0000	[thread overview]
Message-ID: <bug-55975-4-Iq9iVzqdaj@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55975-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-15 19:59:47 UTC ---
Breakpoint 1, __asan::AsanThread::Init (
    this=this@entry=0x3fffb751d8f8 <__asan::asan_thread_registry+33554432>)
    at ../../../../../libsanitizer/asan/asan_thread.cc:74
74        CHECK(AddrIsInMem(stack_bottom_));
(gdb) l
69        UnmapOrDie(this, size);
70      }
71
72      void AsanThread::Init() {
73        SetThreadStackTopAndBottom();
74        CHECK(AddrIsInMem(stack_bottom_));
75        CHECK(AddrIsInMem(stack_top_));
76        ClearShadowForThreadStack();
77        if (flags()->verbosity >= 1) {
78          int local = 0;
(gdb) s
#0  AddrIsInMem (a=0x3fffff800000)
    at ../../../../../libsanitizer/asan/asan_mapping.h:95
95        return AddrIsInLowMem(a) || AddrIsInHighMem(a);
(gdb) s
AddrIsInHighMem (a=0x3fffff800000)
    at ../../../../../libsanitizer/asan/asan_mapping.h:91
91        return a >= kHighMemBeg && a <= kHighMemEnd;
(gdb) p kHighMemEnd 
$6 = 0xfffffffffff
(gdb) i proc mappings 
process 2581
Mapped address spaces:

          Start Addr           End Addr       Size     Offset objfile
          0x10000000         0x10002000     0x2000        0x0
/daten/gcc/gcc-20130113/Build/gcc/testsuite/g++/global-overflow-1.exe
          0x10011000         0x10012000     0x1000     0x1000
/daten/gcc/gcc-20130113/Build/gcc/testsuite/g++/global-overflow-1.exe
          0x10012000         0x10013000     0x1000     0x2000
/daten/gcc/gcc-20130113/Build/gcc/testsuite/g++/global-overflow-1.exe
       0x1fffffff000      0x24000000000 0x4000001000        0x0 
       0x24000000000      0x28000000000 0x4000000000        0x0 
       0x28000000000      0x40000000000 0x18000000000        0x0 
      0x3fffb5258000     0x3fffb525c000     0x4000        0x0
/lib64/libdl-2.15.so
      0x3fffb525c000     0x3fffb526b000     0xf000     0x4000
/lib64/libdl-2.15.so
      0x3fffb526b000     0x3fffb526c000     0x1000     0x3000
/lib64/libdl-2.15.so
      0x3fffb526c000     0x3fffb526d000     0x1000     0x4000
/lib64/libdl-2.15.so
      0x3fffb526d000     0x3fffb528c000    0x1f000        0x0
/lib64/libpthread-2.15.so
      0x3fffb528c000     0x3fffb529b000     0xf000    0x1f000
/lib64/libpthread-2.15.so
      0x3fffb529b000     0x3fffb529c000     0x1000    0x1e000
/lib64/libpthread-2.15.so
      0x3fffb529c000     0x3fffb529e000     0x2000    0x1f000
/lib64/libpthread-2.15.so
      0x3fffb529e000     0x3fffb52a3000     0x5000        0x0 
      0x3fffb52a3000     0x3fffb544c000   0x1a9000        0x0
/lib64/libc-2.15.so
      0x3fffb544c000     0x3fffb545b000     0xf000   0x1a9000
/lib64/libc-2.15.so
      0x3fffb545b000     0x3fffb545f000     0x4000   0x1a8000
/lib64/libc-2.15.so
      0x3fffb545f000     0x3fffb5472000    0x13000   0x1ac000
/lib64/libc-2.15.so
      0x3fffb5472000     0x3fffb5476000     0x4000        0x0 
      0x3fffb5476000     0x3fffb548b000    0x15000        0x0
/daten/gcc/gcc-20130113/Build/gcc/64/libgcc_s.so.1
      0x3fffb548b000     0x3fffb549a000     0xf000    0x15000
/daten/gcc/gcc-20130113/Build/gcc/64/libgcc_s.so.1
      0x3fffb549a000     0x3fffb549b000     0x1000    0x14000
/daten/gcc/gcc-20130113/Build/gcc/64/libgcc_s.so.1
      0x3fffb549b000     0x3fffb549d000     0x2000    0x15000
/daten/gcc/gcc-20130113/Build/gcc/64/libgcc_s.so.1
      0x3fffb549d000     0x3fffb54ca000    0x2d000        0x0
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libsanitizer/asan/.libs/libasan.so.0.0.0
      0x3fffb54ca000     0x3fffb54d9000     0xf000    0x2d000
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libsanitizer/asan/.libs/libasan.so.0.0.0
      0x3fffb54d9000     0x3fffb54da000     0x1000    0x2c000
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libsanitizer/asan/.libs/libasan.so.0.0.0
      0x3fffb54da000     0x3fffb54dd000     0x3000    0x2d000
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libsanitizer/asan/.libs/libasan.so.0.0.0
      0x3fffb54dd000     0x3fffb7d27000  0x284a000        0x0 
      0x3fffb7d27000     0x3fffb7dd3000    0xac000        0x0
/lib64/libm-2.15.so
      0x3fffb7dd3000     0x3fffb7de3000    0x10000    0xac000
/lib64/libm-2.15.so
      0x3fffb7de3000     0x3fffb7de4000     0x1000    0xac000
/lib64/libm-2.15.so
      0x3fffb7de4000     0x3fffb7ded000     0x9000    0xad000
/lib64/libm-2.15.so
      0x3fffb7e13000     0x3fffb7e17000     0x4000        0x0 
      0x3fffb7e1b000     0x3fffb7f80000   0x165000        0x0
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libstdc++-v3/src/.libs/libstdc++.so.6.0.18
      0x3fffb7f80000     0x3fffb7f90000    0x10000   0x165000
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libstdc++-v3/src/.libs/libstdc++.so.6.0.18
      0x3fffb7f90000     0x3fffb7f96000     0x6000   0x165000
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libstdc++-v3/src/.libs/libstdc++.so.6.0.18
      0x3fffb7f96000     0x3fffb7fa7000    0x11000   0x16b000
/daten/gcc/gcc-20130113/Build/powerpc64-linux/64/libstdc++-v3/src/.libs/libstdc++.so.6.0.18
      0x3fffb7fa7000     0x3fffb7fc0000    0x19000        0x0 
      0x3fffb7fc0000     0x3fffb7fc3000     0x3000        0x0 [vdso]
      0x3fffb7fc3000     0x3fffb7fec000    0x29000        0x0 /lib64/ld-2.15.so
      0x3fffb7fef000     0x3fffb7ffc000     0xd000        0x0 
      0x3fffb7ffc000     0x3fffb7ffd000     0x1000    0x29000 /lib64/ld-2.15.so
      0x3fffb7ffd000     0x3fffb8000000     0x3000    0x2a000 /lib64/ld-2.15.so
      0x3ffffffde000     0x400000000000    0x22000        0x0 [stack]


  parent reply	other threads:[~2013-01-15 20:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 19:15 [Bug sanitizer/55975] New: " schwab@linux-m68k.org
2013-01-15  6:12 ` [Bug sanitizer/55975] " kcc at gcc dot gnu.org
2013-01-15 20:00 ` schwab@linux-m68k.org [this message]
2013-01-16 10:01 ` kcc at gcc dot gnu.org
2013-01-16 10:14 ` kcc at gcc dot gnu.org
2013-01-16 10:38 ` jakub at gcc dot gnu.org
2013-01-16 11:47 ` [Bug sanitizer/55975] asan does not work with 46 bit address space on PowerPC64 kcc at gcc dot gnu.org
2013-01-16 11:51 ` jakub at gcc dot gnu.org
2013-01-16 11:54 ` kcc at gcc dot gnu.org
2013-01-16 19:12 ` schwab@linux-m68k.org
2013-01-17  8:30 ` kcc at gcc dot gnu.org
2013-01-17 23:24 ` schwab@linux-m68k.org
2013-01-17 23:52 ` schwab@linux-m68k.org
2013-01-18  8:20 ` jakub at gcc dot gnu.org
2013-01-18  8:26 ` kcc at gcc dot gnu.org
2013-01-18 11:41 ` kcc at gcc dot gnu.org
2013-01-18 12:30 ` kcc at gcc dot gnu.org
2013-01-18 13:03 ` jakub at gcc dot gnu.org
2013-01-18 13:21 ` schwab@linux-m68k.org
2013-01-18 13:26 ` schwab@linux-m68k.org
2013-01-18 13:52 ` jakub at gcc dot gnu.org
2013-01-18 15:34 ` kcc at gcc dot gnu.org
2013-01-18 15:41 ` jakub at gcc dot gnu.org
2013-01-18 15:46 ` kcc at gcc dot gnu.org
2013-01-21  9:11 ` kcc at gcc dot gnu.org
2013-01-23 12:22 ` kcc at gcc dot gnu.org
2013-01-23 12:26 ` jakub at gcc dot gnu.org
2013-01-23 12:52 ` kcc at gcc dot gnu.org
2013-01-23 13:06 ` jakub at gcc dot gnu.org
2013-01-23 13:19 ` kcc at gcc dot gnu.org
2013-01-23 13:30 ` jakub at gcc dot gnu.org
2013-01-23 13:32 ` kcc at gcc dot gnu.org
2013-01-23 13:34 ` jakub at gcc dot gnu.org
2013-01-23 13:41 ` jakub at gcc dot gnu.org
2013-01-23 13:50 ` kcc at gcc dot gnu.org
2013-01-23 16:26 ` wschmidt at gcc dot gnu.org
2013-01-24  7:19 ` kcc at gcc dot gnu.org
2013-01-24 13:31 ` wschmidt at gcc dot gnu.org
2013-01-24 13:47 ` kcc at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55975-4-Iq9iVzqdaj@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).