[GHC] #8213: Bad error message when using lazy IO to read from closed handle

GHC ghc-devs at haskell.org
Tue Sep 22 16:12:00 UTC 2015


#8213: Bad error message when using lazy IO to read from closed handle
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.6.3
      Resolution:  worksforme        |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by nh2):

 Hmm, odd; when I now try to reproduce it, I also see `test: test.hs:
 hGetBufSome: illegal operation (handle is closed)`, even with 7.6.3
 against I reported this bug; yes, I think it was on Linux.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8213#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list