public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35064]  New: gfortran internal write leaks windows handles & memory
@ 2008-02-03 13:47 jpr at csc dot fi
  2008-02-03 14:38 ` [Bug fortran/35064] " jpr at csc dot fi
  0 siblings, 1 reply; 2+ messages in thread
From: jpr at csc dot fi @ 2008-02-03 13:47 UTC (permalink / raw)
  To: gcc-bugs

Hi,

We have a somewhat serious problem with gfortran on x86/mingw32 system:

program test
  implicit none
  character(len=10) :: string
  integer :: m,n

  do m = 1,1000
     do n = 1,10000
        write(string,*) 'nice'
     end do
     print *,'Check memory and handles and press ENTER...'
     call flush
     read(*,*)
  end do
end program test

Start the task manager and run the small program above to see memory and
windows handle usage (1 / internal write) to skyrocket.

The fortran versions i see this include the latest 4.3 & the mingw 4.2_sjlj
versions at least:

$ gfortran -v
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran --with-gmp=/home/FX/local --with-ld=/mingw/bin/ld
--with-as=/mingw/bin/as --disable-werror --enable-bootstrap --enable-threads
--disable-nls --build=i386-pc-mingw32 --enable-libgomp --disable-shared
Thread model: win32
gcc version 4.3.0 20080127 (experimental) [trunk revision 131883] (GCC) 


Regards, Juha


-- 
           Summary: gfortran internal write leaks windows handles & memory
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jpr at csc dot fi
  GCC host triplet: i386-mingw32


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


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

* [Bug fortran/35064] gfortran internal write leaks windows handles & memory
  2008-02-03 13:47 [Bug fortran/35064] New: gfortran internal write leaks windows handles & memory jpr at csc dot fi
@ 2008-02-03 14:38 ` jpr at csc dot fi
  0 siblings, 0 replies; 2+ messages in thread
From: jpr at csc dot fi @ 2008-02-03 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jpr at csc dot fi  2008-02-03 14:38 -------
Mikko already reported this in 35063.
Sorry about the dup!
Juha

*** This bug has been marked as a duplicate of 35063 ***


-- 

jpr at csc dot fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2008-02-03 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-03 13:47 [Bug fortran/35064] New: gfortran internal write leaks windows handles & memory jpr at csc dot fi
2008-02-03 14:38 ` [Bug fortran/35064] " jpr at csc dot fi

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).