From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22262 invoked by alias); 3 Feb 2014 07:53:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22207 invoked by uid 48); 3 Feb 2014 07:53:15 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/60038] New: AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10 Date: Mon, 03 Feb 2014 07:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg00102.txt.bz2 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)