public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35063]  New: write statement leaks handles/memory on windows xp
@ 2008-02-03 13:25 mikko dot lyly at csc dot fi
  2008-02-03 14:38 ` [Bug fortran/35063] " jpr at csc dot fi
                   ` (43 more replies)
  0 siblings, 44 replies; 45+ messages in thread
From: mikko dot lyly at csc dot fi @ 2008-02-03 13:25 UTC (permalink / raw)
  To: gcc-bugs

Hi,

The follwing small sample program seems to produce exsessive handle/memory leak
on Windows XP SP2. This affects programs, where a high number of write
statements are used to manipulate character strings.

$ less test.f90
program test
  implicit none
  character(len=10000) :: string
  integer :: m,n
  do m = 1,10000
     print *,'Check memory and handles and press ENTER...'
     call flush
     read(*,*)
     do n = 1,10000
        write(string,*) 'some characters'
     end do
  end do
end program test
$ gfortran test.f90 -O -o test.exe
$ ./test.exe

Regards,
ML


-- 
           Summary: write statement leaks handles/memory on windows xp
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikko dot lyly at csc dot fi


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


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

end of thread, other threads:[~2008-03-01 17:15 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-03 13:25 [Bug fortran/35063] New: write statement leaks handles/memory on windows xp mikko dot lyly at csc dot fi
2008-02-03 14:38 ` [Bug fortran/35063] " jpr at csc dot fi
2008-02-03 17:36 ` jvdelisle at gcc dot gnu dot org
2008-02-04  4:36 ` [Bug libfortran/35063] " jvdelisle at gcc dot gnu dot org
2008-02-04  7:18 ` tkoenig at gcc dot gnu dot org
2008-02-04 21:06 ` jvdelisle at gcc dot gnu dot org
2008-02-04 23:41 ` fxcoudert at gcc dot gnu dot org
2008-02-05 10:56 ` [Bug libfortran/35063] I/O leaks handles/memory on Windows XP fxcoudert at gcc dot gnu dot org
2008-02-06  1:27 ` jvdelisle at gcc dot gnu dot org
2008-02-06 11:32 ` jpr at csc dot fi
2008-02-06 20:26 ` Jerry_V_DeLisle at rl dot gov
2008-02-06 20:55 ` jpr at csc dot fi
2008-02-06 21:50 ` tkoenig at gcc dot gnu dot org
2008-02-07  5:07 ` jpr at csc dot fi
2008-02-07  6:07 ` [Bug libfortran/35063] [Regression wrt g77] " jvdelisle at gcc dot gnu dot org
2008-02-07  6:27 ` kargl at gcc dot gnu dot org
2008-02-07  9:20 ` jpr at csc dot fi
2008-02-07 15:01 ` jvdelisle at gcc dot gnu dot org
2008-02-07 15:21 ` fxcoudert at gcc dot gnu dot org
2008-02-07 15:55 ` Jerry_V_DeLisle at rl dot gov
2008-02-07 21:17 ` brian at dessent dot net
2008-02-08  3:14 ` jvdelisle at gcc dot gnu dot org
2008-02-08  5:29 ` jpr at csc dot fi
2008-02-08  8:59 ` fxcoudert at gcc dot gnu dot org
2008-02-08 12:13 ` jpr at csc dot fi
2008-02-08 14:27 ` jvdelisle at gcc dot gnu dot org
2008-02-08 14:40 ` fxcoudert at gcc dot gnu dot org
2008-02-08 14:59 ` jvdelisle at gcc dot gnu dot org
2008-02-08 16:34 ` jvdelisle at gcc dot gnu dot org
2008-02-08 18:10 ` jvdelisle at gcc dot gnu dot org
2008-02-08 22:32 ` mikko dot lyly at csc dot fi
2008-02-08 23:01 ` jvdelisle at verizon dot net
2008-02-09  6:47 ` jpr at csc dot fi
2008-02-09 21:50 ` tkoenig at gcc dot gnu dot org
2008-02-10  0:26 ` jvdelisle at gcc dot gnu dot org
2008-02-10 16:56 ` jb at gcc dot gnu dot org
2008-02-10 18:08 ` jvdelisle at gcc dot gnu dot org
2008-02-10 18:09 ` jvdelisle at gcc dot gnu dot org
2008-02-14 12:25 ` [Bug libfortran/35063] Clean up use of destroy_unit_mutex() fxcoudert at gcc dot gnu dot org
2008-02-23 16:41 ` jvdelisle at gcc dot gnu dot org
2008-02-23 18:47 ` jb at gcc dot gnu dot org
2008-02-25 20:47 ` jb at gcc dot gnu dot org
2008-03-01 10:55 ` jb at gcc dot gnu dot org
2008-03-01 12:24 ` fxcoudert at gcc dot gnu dot org
2008-03-01 17:15 ` jvdelisle 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).