Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,870
    • Issues 4,870
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 453
    • Merge requests 453
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #1922
Closed
Open
Created Nov 23, 2007 by guest@trac-guest

getChar + Ctrl-C on Windows in GHCi breaks

C:\Documents and Settings\Admin>ghci
GHCi, version 6.8.1: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> getChar
<interactive>: exception :: GhcException

After getChar, I pressed Ctrl+C, which prints the message about exception. After this the program becomes entirely unresponsive to any keys, including Ctrl+C.

I ran into this bug attempting to create a minimal test case for a bug where pressing Ctrl+C while at a getChar results in:

*: internal error: stg_ap_pv_ret
    (GHC version 6.8.1 for i386_unknown_mingw32)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Unfortunately I have no minimal test case for the latter bug, it is unreliable to duplicate, and the dependency list is sufficiently massive that it takes me a couple of hours to get everything installed and ready. They are possibly related.

WindowsXP, standard Windows shell, GHC 6.8.1.

-- Neil

Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking