X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: uZ8CUHQVM1nI0dD6IslagexiDhxiZRj3SfFkOWhqo63WpH0ZQQQu6P1KHGtnfxjEZxjirhZm.RrWZAXhIgSjrgQnzRCopYYfGAZ0FadNVfSgoGno9uBCGaDBc.9m X-Yahoo-Newman-Property: ymail-3 Message-ID: <47A62DC0.9040206@computer.org> Date: Sun, 03 Feb 2008 13:10:24 -0800 From: Tim Prince User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Memory leak problem reported with gfortran References: <47A614EC DOT 1010104 AT verizon DOT net> In-Reply-To: <47A614EC.1010104@verizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Jerry DeLisle wrote: > I have confirmed this problem on Cygwin reported here: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063 > > I am not very familiar with the windows environment. Having patched > most of the gfortran I/O library in the last 2-3 years I can say that > we do a lot of memory allocation for I/O. > > On Linux based systems we do not see any issues (checked with > valgrind). This problem acts like a failure to free memory. I do not > know what is meant by the term "handle" other than a pointer to an > allocated block of memory. > > Those of you most familiar with the Windows environment could perhaps > help here. Is this a bug in Cygwin memory management? > > I will be happy to provide additional information as soon as I know > what is pertinent. > > I have latest Cygwin as of about two weeks ago and I can provide a > gfortran binary if needed. I wouldn't be surprised if each cygwin installation acted somewhat differently. On my Core 2 Duo laptop, if I run from the bash prompt, it hangs after the first prompt. If I run under gdb, it exhibits no problem. If there's any interest, I'll try the Pentium D tomorrow. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/