public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/29302]  New: nan_inf_fmt.f90 segfaults on Darwin PPC starting with Xcode 2.4
@ 2006-09-30 20:45 howarth at nitro dot med dot uc dot edu
  2006-09-30 20:46 ` [Bug libfortran/29302] " howarth at nitro dot med dot uc dot edu
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2006-09-30 20:45 UTC (permalink / raw)
  To: gcc-bugs

With the Xcode 2.4 release, the nan_inf_fmt.f90 testcase in 
gfortran.fortran-torture/execute
has begun to segfault on Darwin PPC at both -m32 and -m64. The backtrace from a
segfault
is...

Starting program: /Users/howarth/testdir/nan_inf_fmt/a.out 
Reading symbols for shared libraries .++ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x3fffe615
0x90101fc8 in strtol_l ()
(gdb) bt
#0  0x90101fc8 in strtol_l ()
#1  0x00255810 in output_float (dtp=0xbfffeb30, f=0x1808c50, value=inf) at
../../../gcc-4.2-20060928/libgfortran/io/write.c:496
#2  0x00256124 in write_float (dtp=0xbfffeb30, f=0x1808c50, source=0xa <Address
0xa out of bounds>, len=-1610603800) at
../../../gcc-4.2-20060928/libgfortran/io/write.c:912
#3  0x002507ec in formatted_transfer (dtp=0xbfffeb30, type=BT_REAL, p=0xa,
kind=4, size=4, nelems=1) at
../../../gcc-4.2-20060928/libgfortran/io/transfer.c:954
#4  0x0024eac8 in *__gfortran_transfer_real (dtp=0x250314, p=0xbfffeaf8,
kind=4) at ../../../gcc-4.2-20060928/libgfortran/io/transfer.c:1237
#5  0x00002a04 in MAIN__ () at nan_inf_fmt.f90:17
#6  0x00003af0 in main (argc=1073735189, argv=0x0) at
../../../gcc-4.2-20060928/libgfortran/fmain.c:18

It has been suggested on the list that this might be due to size mismatch and
that
the new Xcode 2.4 is exposing a latent bug in libgfortran...

http://gcc.gnu.org/ml/fortran/2006-09/msg00103.html


-- 
           Summary: nan_inf_fmt.f90 segfaults on Darwin PPC starting with
                    Xcode 2.4
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: powerpc-apple-darwin8
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


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


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

end of thread, other threads:[~2007-01-21  7:00 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-30 20:45 [Bug libfortran/29302] New: nan_inf_fmt.f90 segfaults on Darwin PPC starting with Xcode 2.4 howarth at nitro dot med dot uc dot edu
2006-09-30 20:46 ` [Bug libfortran/29302] " howarth at nitro dot med dot uc dot edu
2006-09-30 21:09 ` jvdelisle at gcc dot gnu dot org
2006-09-30 21:36 ` jvdelisle at gcc dot gnu dot org
2006-09-30 21:53 ` jvdelisle at gcc dot gnu dot org
2006-09-30 22:50 ` howarth at nitro dot med dot uc dot edu
2006-10-01  0:40 ` kargl at gcc dot gnu dot org
2006-10-04 23:57 ` geoffk at gcc dot gnu dot org
2006-10-05  2:04 ` howarth at nitro dot med dot uc dot edu
2006-10-06  1:32 ` howarth at nitro dot med dot uc dot edu
2006-10-31  1:02 ` geoffk at gcc dot gnu dot org
2006-10-31  1:03 ` geoffk at gcc dot gnu dot org
2006-10-31  3:18 ` jvdelisle at gcc dot gnu dot org
2006-10-31 14:14 ` howarth at nitro dot med dot uc dot edu
2006-10-31 23:24 ` jvdelisle at gcc dot gnu dot org
2006-11-01  4:33 ` howarth at nitro dot med dot uc dot edu
2006-11-01  4:48 ` pinskia at gcc dot gnu dot org
2006-11-01  4:56 ` jvdelisle at gcc dot gnu dot org
2006-11-01  5:05 ` howarth at nitro dot med dot uc dot edu
2006-11-01  5:10 ` howarth at nitro dot med dot uc dot edu
2006-11-01  6:06 ` howarth at nitro dot med dot uc dot edu
2006-11-01 14:00 ` howarth at nitro dot med dot uc dot edu
2006-11-02  2:51 ` howarth at nitro dot med dot uc dot edu
2006-11-02  3:16 ` howarth at nitro dot med dot uc dot edu
2006-11-02  3:19 ` howarth at nitro dot med dot uc dot edu
2006-11-05  8:19 ` [Bug target/29302] isfinite returns wrong result at -O1 fxcoudert at gcc dot gnu dot org
2006-11-05  8:20 ` fxcoudert at gcc dot gnu dot org
2006-11-08  0:07 ` echristo at apple dot com
2006-12-15 22:42 ` echristo at apple dot com
2006-12-19  4:17 ` sayle at gcc dot gnu dot org
2006-12-19 14:04 ` howarth at nitro dot med dot uc dot edu
2006-12-19 20:26 ` echristo at gcc dot gnu dot org
2007-01-17 23:30 ` echristo at gcc dot gnu dot org
2007-01-21  7:00 ` pinskia at gcc dot gnu dot 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).