From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23641 invoked by alias); 27 Nov 2012 00:43:19 -0000 Received: (qmail 23573 invoked by uid 48); 27 Nov 2012 00:43:04 -0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/55479] New: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test fails with -fsanitize=address Date: Tue, 27 Nov 2012 00:43: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-11/txt/msg02469.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55479 Bug #: 55479 Summary: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test fails 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 On x86_64-apple-darwin12... make -k check-gfortran RUNTESTFLAGS="--target_board=unix'{-fsanitize=address}'" ..results in the new failure... FAIL: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test which is due to a Segmentation fault that backtraces as... GNU gdb 6.3.50-20050815 (Apple version gdb-1822) (Sun Aug 5 03:00:42 UTC 2012) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ....... done (gdb) r Starting program: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/gfortran/registering_1.exe Reading symbols for shared libraries ++++++................................. done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x00001000205c151e 0x0000000100001507 in _caf_init.1 () at secure/_string.h:83 83 return __builtin___memset_chk (__dest, __val, __len, __darwin_obsz0(__dest)); (gdb) bt #0 0x0000000100001507 in _caf_init.1 () at secure/_string.h:83 #1 0x00007fff5fc0fda6 in __dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE () #2 0x00007fff5fc0faf2 in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE () #3 0x00007fff5fc0d2e4 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE () #4 0x00007fff5fc0e0b7 in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE () #5 0x00007fff5fc034dd in __dyld__ZN4dyld24initializeMainExecutableEv () #6 0x00007fff5fc0760b in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ () #7 0x00007fff5fc01059 in __dyld__dyld_start () (gdb)