logo       

RE: ghci forgets to close files sometimes: msg#00029

lang.haskell.glasgow.bugs

Subject: RE: ghci forgets to close files sometimes

> > There seems to me that when ghci fails to load a file it sometimes
> > fails to close it. The problem seems to be when there is a parse
> > error in the file.
> >
> > My setup:
> > Windows XP running cygwin
> > ghc version 6.2.1
>
> Entirely possible. What are the symptoms? Is there an easy way to
> reproduce?
>
Alas. I haven't been able to reproduce the behaviour afterwards. It seems to
be one of those erratic bugs we all hate.

Anyway, I can give some more details of the scenario when I encountered the
bug. I use XEmacs to edit my Haskell file. When I loaded one particular file
into ghci I got a parse error. I went back to XEmacs and corrected to error.
But when I tried to save the file XEmacs said it couldn't because the file
was busy. I don't remember the exact message though. Going back to ghci and
typing `:l' released the file and I could save it.

Well, its not bother me anymore right now. If the problem shows up again
I'll try and investigate more. Are there any particular things that I should
be looking for in that case?

/Josef


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise