Bugs item #502321, was opened at 2002-01-11 14:23
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=502321&group_id=8032

Category: Compiler
Group: 5.02
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mike Sperber (sperber)
Assigned to: Simon Marlow (simonmar)
Summary: tmp file not found after ghci :reload

Initial Comment:
In ghci, I often see this:

Main> :reload
Compiling HsParser         ( flhsparser/HsParser.hs,
interpreted )
*** Exception: does not exist
Action: openFile
Reason: No such file or directory
File: /tmp/ghc42863.hspp

This was present in 5.02.1 and still is in 5.02.2.

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2002-09-02 14:39

Message:
Logged In: YES 
user_id=48280

Fixed (rev. 1.115 of 
ghc/compiler/compMan/CompManager.lhs)

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2002-07-02 14:07

Message:
Logged In: YES 
user_id=48280

Bug re-opened.

Has anyone else seen this?  I'm still stumped.


----------------------------------------------------------------------

Comment By: Mike Sperber (sperber)
Date: 2002-07-02 13:50

Message:
Logged In: YES 
user_id=43931

No, there's definitely nothing being removed behind GHCi's back.
(I could tell a long story about how I know.  For lack of
space, I'll
say that I know.  Definitely.)

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2002-07-02 11:21

Message:
Logged In: YES 
user_id=48280

No bug found (we believe that the /tmp file is being removed 
behind GHCi's back).  GHCi should recover more gracefully 
but it's low down the priority list.

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2002-02-27 16:35

Message:
Logged In: YES 
user_id=48280

Do you by any chance have a cron job that periodically 
cleans old files from /tmp?  It sounds like these files 
are getting removed behind GHCi's back.

Nevertheless, I suppose GHCi should recover gracefully 
since it's only the preprocessed file being cached 
in /tmp.  I'll look into it.

----------------------------------------------------------------------

Comment By: Mike Sperber (sperber)
Date: 2002-02-27 16:11

Message:
Logged In: YES 
user_id=43931

Unfortunately, it happens spuriously.  But if I keep
a session open long enough (between 10 minutes and 2 hours)
it happens inevitably.

For the record, this is on FreeBSD 4.3.

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2002-02-27 15:49

Message:
Logged In: YES 
user_id=48280

I can't repeat this bug.  Can you give any more 
information?  Is there a repeatable example or does it 
just happen randomly?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=502321&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to