http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55506
Bug #: 55506 Summary: gcc.dg/cleanup-{10,11,8,9}.c execution test failures with -fsanitize=address Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu CC: do...@gcc.gnu.org, dvyu...@gcc.gnu.org, ja...@gcc.gnu.org, k...@gcc.gnu.org Using... make -k check-gcc RUNTESTFLAGS="--target_board=unix'{-fsanitize=address}'" on x86_64-apple-darwin12 produces execution failures in... FAIL: gcc.dg/cleanup-10.c execution test FAIL: gcc.dg/cleanup-11.c execution test FAIL: gcc.dg/cleanup-8.c execution test FAIL: gcc.dg/cleanup-9.c execution test which are of the form... Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/ /sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121127/gcc/testsuite/gcc.dg/cleanup-10.c -fno-diagnostics-show-caret -fexceptions -fnon-call-exceptions -O2 -lm -fsanitize=address -o ./cleanup-10.exe (timeout = 300) PASS: gcc.dg/cleanup-10.c (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/./libsanitizer/asan/.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/./libsanitizer/asan/.libs ASAN:SIGSEGV ================================================================= ==11366== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00010e201a4d sp 0x7fff519fb730 bp 0x100000000000 T0) AddressSanitizer can not provide additional info. #0 0x10e201a4c (/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/gcc/./cleanup-10.exe+0x100000a4c) Stats: 0M malloced (0M for red zones) by 1 calls Stats: 0M realloced by 0 calls Stats: 0M freed by 0 calls Stats: 0M really freed by 0 calls Stats: 0M (129 full pages) mmaped in 1 calls mmaps by size class: 18:2; mallocs by size class: 18:1; frees by size class: rfrees by size class: Stats: malloc large: 1 small slow: 0 ==11366== ABORTING Executing on host: addr2line -f -e /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/gcc/./cleanup-10.exe 0x100000a4c (timeout = 300) FAIL: gcc.dg/cleanup-10.c execution test