[GHC] #13516: broken pipe when printing infinite list (maybe interrupt handler error?)

#13516: broken pipe when printing infinite list (maybe interrupt handler error?) --------------------------------------+------------------------------- Reporter: Forec | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Keywords: broken pipe | Operating System: Windows Architecture: x86_64 (amd64) | Type of failure: GHCi crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: --------------------------------------+------------------------------- {{{#!hs shell> ghc -e "mapM print [1..]" 1 2 3 ... 44435 Ctrl^Z <interactive>: user interrupt ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-mingw32): <stdout>: hFlush: resource vanished (Broken pipe) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13516 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13516: broken pipe when printing infinite list (maybe interrupt handler error?) -------------------------------+-------------------------------------- Reporter: Forec | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Resolution: | Keywords: broken pipe Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+-------------------------------------- Changes (by mpickering): * cc: Phyx- (added) Comment: Doesn't happen for me on OS X. Have you seen this before Tamar? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13516#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13516: broken pipe when interrupting on Windows -------------------------------+-------------------------------------- Reporter: Forec | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Resolution: | Keywords: broken pipe Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+-------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13516#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13516: broken pipe when interrupting on Windows ----------------------------------+-------------------------------------- Reporter: Forec | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Resolution: | Keywords: broken pipe Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #13396 #13359 | Differential Rev(s): Wiki Page: | ----------------------------------+-------------------------------------- Changes (by Phyx-): * related: => #13396 #13359 Comment: I haven't seen this particular panic, but I do know the rts does panic when interrupted on Windows. I am however currently punting these tickets till the console I/O has been replaced by native ones as I'm having a hard time getting the interrupt handler to fire deterministically. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13516#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC