This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/55521] New: many instances of ASAN:SIGSEGV failures in g++ testsuite with -fsanitize=address


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

             Bug #: 55521
           Summary: many instances of ASAN:SIGSEGV failures in g++
                    testsuite with -fsanitize=address
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu
                CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org,
                    jakub@gcc.gnu.org, kcc@gcc.gnu.org


Using...

make -k check-g++ RUNTESTFLAGS="--target_board=unix'{-fsanitize=address}'"

on x86_64-apple-darwin12 produces execution failures in g++ test suite of the
form....

Executing on host:
/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/../../g++
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/g++.dg/eh/cond1.C
 -fno-diagnostics-show-caret  -nostdinc++
-I/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/libstdc++-v3/include/x86_64-apple-darwin12.2.0
-I/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++98  -pedantic-errors -Wno-long-long   
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs

-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs

-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs
 -multiply_defined suppress -lm   -fsanitize=address -o ./cond1.exe    (timeout
= 300)
PASS: g++.dg/eh/cond1.C -std=c++98 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc:.:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc
ASAN:SIGSEGV
=================================================================
==80716== ERROR: AddressSanitizer: SEGV on unknown address 0x0000ffd27000 (pc
0x0000ffd27000 sp 0x7fff4ffcd448 bp 0x7fff4ffcd510 T0)
AddressSanitizer can not provide additional info.
    #0 0xffd26fff
(/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/./cond1.exe+0xf00f7fff)
    #1 0x7fff8bd827e0 (/usr/lib/system/libdyld.dylib+0x27e0)
    #2 0x0
Stats: 0M malloced (0M for red zones) by 3 calls
Stats: 0M realloced by 0 calls
Stats: 0M freed by 0 calls
Stats: 0M really freed by 0 calls
Stats: 1M (384 full pages) mmaped in 3 calls
  mmaps   by size class: 7:4095; 8:2047; 9:1023;
  mallocs by size class: 7:1; 8:1; 9:1;
  frees   by size class:
  rfrees  by size class:
Stats: malloc large: 0 small slow: 3
==80716== ABORTING
Executing on host: addr2line -f -e /usr/lib/system/libdyld.dylib 0x27e0  
(timeout = 300)
Executing on host: addr2line -f -e
/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/./cond1.exe
0xf00f7fff   (timeout = 300)
FAIL: g++.dg/eh/cond1.C -std=c++98 execution test

There are 522 instances out of the 841 failures seen in the g++ testsuite with
-fsanitize=address...

http://gcc.gnu.org/ml/gcc-testresults/2012-11/msg02388.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]