public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/55479] New: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib  -O2  -lcaf_single execution test fails with -fsanitize=address
@ 2012-11-27  0:43 howarth at nitro dot med.uc.edu
  2012-11-27  1:20 ` [Bug sanitizer/55479] " howarth at nitro dot med.uc.edu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27  0:43 UTC (permalink / raw)
  To: gcc-bugs


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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/55479] gfortran.dg/coarray/registering_1.f90 -fcoarray=lib  -O2  -lcaf_single execution test fails with -fsanitize=address
  2012-11-27  0:43 [Bug sanitizer/55479] New: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test fails with -fsanitize=address howarth at nitro dot med.uc.edu
@ 2012-11-27  1:20 ` howarth at nitro dot med.uc.edu
  2012-12-10 18:59 ` howarth at nitro dot med.uc.edu
  2014-11-10 13:47 ` fxcoudert at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27  1:20 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 01:20:03 UTC ---
Created attachment 28785
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28785
assembly file for registering_1.f90 -fcoarray=lib -O2 -lcaf_single testcase
compiled with -fsanitize=address


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/55479] gfortran.dg/coarray/registering_1.f90 -fcoarray=lib  -O2  -lcaf_single execution test fails with -fsanitize=address
  2012-11-27  0:43 [Bug sanitizer/55479] New: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test fails with -fsanitize=address howarth at nitro dot med.uc.edu
  2012-11-27  1:20 ` [Bug sanitizer/55479] " howarth at nitro dot med.uc.edu
@ 2012-12-10 18:59 ` howarth at nitro dot med.uc.edu
  2014-11-10 13:47 ` fxcoudert at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-12-10 18:59 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-10 18:58:55 UTC ---
This issue doesn't occur on x86_64 Fedora 15 but seems to be unrelated to its
used of -mtune=generic.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug sanitizer/55479] gfortran.dg/coarray/registering_1.f90 -fcoarray=lib  -O2  -lcaf_single execution test fails with -fsanitize=address
  2012-11-27  0:43 [Bug sanitizer/55479] New: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test fails with -fsanitize=address howarth at nitro dot med.uc.edu
  2012-11-27  1:20 ` [Bug sanitizer/55479] " howarth at nitro dot med.uc.edu
  2012-12-10 18:59 ` howarth at nitro dot med.uc.edu
@ 2014-11-10 13:47 ` fxcoudert at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-10 13:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55479

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-11-10
                 CC|                            |fxcoudert at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
I can't reproduce that on x86_64-apple-darwin14 (Yosemite), neither with trunk,
nor 4.9.2, nor 4.8.0. Can anyone test darwin12 or darwin13 to see if it's
OS-dependent? Or was it fixed throughout?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-10 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-27  0:43 [Bug sanitizer/55479] New: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single execution test fails with -fsanitize=address howarth at nitro dot med.uc.edu
2012-11-27  1:20 ` [Bug sanitizer/55479] " howarth at nitro dot med.uc.edu
2012-12-10 18:59 ` howarth at nitro dot med.uc.edu
2014-11-10 13:47 ` fxcoudert at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).