[GHC] #10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie

#10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie -------------------------------------+------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- When I copy/paste text from a ghci instance running in the terminal, quite often it stops responding with the following message: <stdin>: hGetChar: hardware fault (Input/output error) I then have to kill it (Ctrl-C) and restart. It's GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help but I remember the same was happening in 7.10.1 too. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10724 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie -------------------------------+----------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------+----------------------------------------- Changes (by martinvlk): * failure: None/Unknown => GHCi crash * os: Unknown/Multiple => Linux -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10724#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie -------------------------------+----------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #3656 | Differential Revisions: -------------------------------+----------------------------------------- Changes (by thomie): * cc: nomeata (added) * related: => #3656 Comment: cc nomeata, since the title mentions Debian. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10724#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie -------------------------------+----------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #3656 | Differential Revisions: -------------------------------+----------------------------------------- Comment (by rwbarton):
When I copy/paste text from a ghci instance running in the terminal,
Can you be more specific? What exact key presses or mouse clicks do you use to copy/paste? Do you have a way to reliably reproduce the behavior? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10724#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie -------------------------------+----------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #3656 | Differential Revisions: -------------------------------+----------------------------------------- Comment (by martinvlk): After further testing I found it is reated to pressing Ctrl+C in the ghci repl. However, I also fouond that I only get this behaviour when I start ghci via cabal (cabal repl). When I start ghci directly, it handles Ctrl+C gracefully, no errors. So I think this is probably more a cabal error than ghci? M. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10724#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10724: ghci crashing when using copy/paste in Gnome Terminal on Debian Jessie -------------------------------+----------------------------------------- Reporter: martinvlk | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 7.10.2 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #3656 | Differential Revisions: -------------------------------+----------------------------------------- Changes (by rwbarton): * status: new => closed * resolution: => duplicate Comment: Thanks, sounds like it is https://github.com/haskell/cabal/issues/1885 then. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10724#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC