http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-28 21:55:14 UTC --- The majority of the libstdc+++-v3 testsuite failures seen with -fsanitize=address appear to be of the same form. It is difficult to get an accurate count because many instances show multiple ASAN:SIGSEGV in a single failure such as... Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/./gcc/g++ -shared-libgcc -B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/./gcc -nostdinc++ -L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/libstdc++-v3/src -L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/libstdc++-v3/src/.libs -B/sw/lib/gcc4.8/x86_64-apple-darwin12.2.0/bin/ -B/sw/lib/gcc4.8/x86_64-apple-darwin12.2.0/lib/ -isystem /sw/lib/gcc4.8/x86_64-apple-darwin12.2.0/include -isystem /sw/lib/gcc4.8/x86_64-apple-darwin12.2.0/sys-include -B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -g -O2 -DLOCALEDIR="." -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 /sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc -std=gnu++0x ./libtestc++.a -L/sw/lib -liconv -lm -fsanitize=address -o ./default_weaktoshared.exe (timeout = 600) PASS: 20_util/shared_ptr/thread/default_weaktoshared.cc (test for excess errors) Setting LD_LIBRARY_PATH to :/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/../libgomp/.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/../libgomp/.libs:/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/./libstdc++-v3/src/.libs ASAN:SIGSEGV ASAN:SIGSEGV ASAN:SIGSEGV ASAN:SIGSEGV ASAN:SIGSEGV ASAN:SIGSEGV ================================================================= ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ASAN:SIGSEGV ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ==85451== ERROR: AddressSanitizer: SEGV on unknown address 0x0000ffd27000 (pc 0x0000ffd27000 sp 0x000110528e28 bp 0x100000000000 T2) ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. AddressSanitizer can not provide additional info. #0 0xffd26fffASAN:SIGSEGV ASAN:SIGSEGV ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ASAN:SIGSEGV ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. ==85451== AddressSanitizer: while reporting a bug found another one.Ignoring. (/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/libstdc++-v3/testsuite/./default_weaktoshared.exe+0xf27e3fff) Thread T2 created by T0 here: #0 0x10d815de6 (/sw/lib/gcc4.8/lib/libasan.0.dylib+0x5de6) #1 0x10d5452b6 (/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.2.0/libstdc++-v3/testsuite/./default_weaktoshared.exe+0x1000022b6) Stats: 0M malloced (0M for red zones) by 2054 calls Stats: 0M realloced by 0 calls Stats: 0M freed by 2 calls Stats: 0M really freed by 0 calls Stats: 3M (769 full pages) mmaped in 6 calls mmaps by size class: 7:8190; 8:2047; 9:1023; 11:255; 14:32; mallocs by size class: 7:2011; 8:10; 9:11; 11:10; 14:12; frees by size class: 7:1; 14:1; rfrees by size class: Stats: malloc large: 0 small slow: 55 ==85451== ABORTING FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test extra_tool_flags are: -std=gnu++0x