[GHC] #7133: GHCi: strange behaviour after CTRL-C, followed by 'hPutChar: resource vanished (Broken Pipe)' when quitting
GHC
cvs-ghc at haskell.org
Fri Aug 10 15:49:52 CEST 2012
#7133: GHCi: strange behaviour after CTRL-C, followed by 'hPutChar: resource
vanished (Broken Pipe)' when quitting
----------------------------+-----------------------------------------------
Reporter: DuncanMortimer | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.4.1 | Keywords:
Os: MacOS X | Architecture: Unknown/Multiple
Failure: Other | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------+-----------------------------------------------
Example: (launching GHCi from Terminal.app)
{{{
GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> 1
1
Prelude> [1..]
^CPrelude> 1
^CPrelude> 10
^CPrelude> 1+2
^CPrelude> :q
<stdout>: hPutChar: resource vanished (Broken pipe)
}}}
This behaviour does not occur when I run GHCi from within Aquamacs (some
output elided):
{{{
GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> 1
1
Prelude> [1..]
[1,2,3,4,5, ... 475,476,47 ^C ^C7,478,479,480, ...
539,540,541Interrupted.
Prelude> 1
1
Prelude> :q
Leaving GHCi.
Process haskell finished
}}}
I'm using the Haskell Platform for Mac OSX, 2012.2.0.0 32 bit, running on
OSX 10.6.8.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7133>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list