public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/60038] New: AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10
@ 2014-02-03  7:53 ubizjak at gmail dot com
  2014-02-03  8:19 ` [Bug sanitizer/60038] " kcc at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ubizjak at gmail dot com @ 2014-02-03  7:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60038
           Summary: AddressSanitizer CHECK failed ... "((*tls_addr +
                    *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS
                    5.10
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
            Target: x86_64-linux-gnu

Many tests in address sanitizer testsuite fail on CentOS 5.10, on x86_64 64bit
target:

FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_PthreadExitTest execution
test
FAIL: g++.dg/asan/asan_test.C  -O2 
AddressSanitizer_ThreadedStressStackReuseTest execution test
FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_ThreadNamesTest execution
test
FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_ThreadedTest
ThreadedTestSpawn() output pattern test
FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_ThreadStackReuseTest
execution test
FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_ManyThreadsTest execution
test
FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_ThreadedMallocStressTest
execution test
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O0  output pattern test, is
==28946==AddressSanitizer CHECK failed: ../../../../gcc-svn/trunk/libsaniti
zer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr + *tls_size))
<= ((*stk_addr + *stk_size))" (0x2ba95e3ff240, 0x2ba95e3ff000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O1  output pattern test, is
==28972==AddressSanitizer CHECK failed: ../../../../gcc-svn/trunk/libsaniti
zer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr + *tls_size))
<= ((*stk_addr + *stk_size))" (0x2b904ae5e240, 0x2b904ae5e000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O2  output pattern test, is
==28990==AddressSanitizer CHECK failed: ../../../../gcc-svn/trunk/libsaniti
zer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr + *tls_size))
<= ((*stk_addr + *stk_size))" (0x2b7261726240, 0x2b7261726000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O3 -fomit-frame-pointer  output
pattern test, is ==29015==AddressSanitizer CHECK failed: ../../../../gc
c-svn/trunk/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc:260
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0x2b7f30b2f240
, 0x2b7f30b2f000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O3 -g  output pattern test, is
==29038==AddressSanitizer CHECK failed: ../../../../gcc-svn/trunk/libsan
itizer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr +
*tls_size)) <= ((*stk_addr + *stk_size))" (0x2ae7a3e97240, 0x2ae7a3e97000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -Os  output pattern test, is
==29078==AddressSanitizer CHECK failed: ../../../../gcc-svn/trunk/libsaniti
zer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr + *tls_size))
<= ((*stk_addr + *stk_size))" (0x2b8e40e38240, 0x2b8e40e38000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O2 -flto -flto-partition=none  output
pattern test, is ==29134==AddressSanitizer CHECK failed: ../../..
/../gcc-svn/trunk/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc:260
"((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" (0x2b1d04
5f7240, 0x2b1d045f7000)
FAIL: g++.dg/asan/deep-thread-stack-1.C  -O2 -flto  output pattern test, is
==29196==AddressSanitizer CHECK failed: ../../../../gcc-svn/trunk/lib
sanitizer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr +
*tls_size)) <= ((*stk_addr + *stk_size))" (0x2b99bff03240, 0x2b99bff0300
0)

All these fail on the same check, in the same way. The same tests also fail on
i686 32bit targets, with different addresses, e.g.:

FAIL: g++.dg/asan/deep-thread-stack-1.C  -O0  output pattern test, is
==2673==AddressSanitizer CHECK failed: ../../../../../gcc-svn/trunk/libsani
tizer/sanitizer_common/sanitizer_linux_libcdep.cc:260 "((*tls_addr +
*tls_size)) <= ((*stk_addr + *stk_size))" (0xf6592020, 0xf6592000)


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-02-04  7:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-03  7:53 [Bug sanitizer/60038] New: AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10 ubizjak at gmail dot com
2014-02-03  8:19 ` [Bug sanitizer/60038] " kcc at gcc dot gnu.org
2014-02-03  8:26 ` ubizjak at gmail dot com
2014-02-03  8:33 ` kcc at gcc dot gnu.org
2014-02-03  8:47 ` jakub at gcc dot gnu.org
2014-02-03  8:53 ` jakub at gcc dot gnu.org
2014-02-03  8:56 ` kcc at gcc dot gnu.org
2014-02-03  9:26 ` jakub at gcc dot gnu.org
2014-02-03  9:27 ` ubizjak at gmail dot com
2014-02-03  9:33 ` ubizjak at gmail dot com
2014-02-03 10:00 ` ubizjak at gmail dot com
2014-02-03 21:22 ` ubizjak at gmail dot com
2014-02-04  4:18 ` kcc at gcc dot gnu.org
2014-02-04  7:38 ` jakub at gcc dot gnu.org
2014-02-04  7:42 ` jakub at gcc dot gnu.org

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).