Opened 3 years ago

Last modified 5 months ago

#7133 infoneeded bug

GHCi: strange behaviour after CTRL-C, followed by 'hPutChar: resource vanished (Broken Pipe)' when quitting

Reported by: DuncanMortimer Owned by: tibbe
Priority: normal Milestone: 7.12.1
Component: GHCi Version: 7.4.1
Keywords: Cc: hvr
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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.

Change History (6)

comment:1 Changed 3 years ago by igloo

  • difficulty set to Unknown
  • Milestone set to 7.8.1
  • Owner set to igloo

Thanks for the report. I'll see if I can reproduce it.

comment:2 Changed 2 years ago by tibbe

  • Owner changed from igloo to tibbe

comment:3 Changed 13 months ago by thoughtpolice

  • Milestone changed from 7.8.3 to 7.10.1

Moving to 7.10.1.

comment:4 Changed 6 months ago by thomie

  • Cc hvr added
  • Status changed from new to infoneeded

Can anyone on Mac OS X reproduce this?

comment:5 Changed 6 months ago by carter

I can't reproduce this in 7.8.3 on OS X 10.9 with the 10.9 terminal app (unless i'm interpreting the directions wrong)

What version of OS X and terminal was this bug originaly reported for?

comment:6 Changed 5 months ago by thoughtpolice

  • Milestone changed from 7.10.1 to 7.12.1

Moving to 7.12.1 milestone; if you feel this is an error and should be addressed sooner, please move it back to the 7.10.1 milestone.

Note: See TracTickets for help on using tickets.