[GHC] #12521: Thread blocked indefinitely in an MVar operation

#12521: Thread blocked indefinitely in an MVar operation -------------------------------------+------------------------------------- Reporter: | Owner: SwiftsNamesake | Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: GHCi crash (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- {{{#!hs C:\Users\Jonatan>ghci GHCi, version 7.8.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. λ> putStrLn "\35753Haskell\25110\32773Ghci\33021\27491\30830\26174\31034\27721\23383\24182\19988\35835\21462\27721\23383\21629\21517\30340\25991\26723" *** Exception: <stdout>: hPutChar: invalid argument (invalid character) λ> λ> λ> λ> λ> λ> λ> chcp 6 ghc.exe: panic! (the 'impossible' happened) (GHC version 7.8.3 for x86_64-unknown-mingw32): thread blocked indefinitely in an MVar operation Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12521 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12521: Thread blocked indefinitely in an MVar operation -------------------------------------+------------------------------------- Reporter: SwiftsNamesake | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => infoneeded Comment: * Which OS are you on? * I am not able to reproduce the `invalid character` exception with 7.8.4 or higher. Can you try? * What is `chcp`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12521#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12521: Thread blocked indefinitely in an MVar operation -------------------------------------+------------------------------------- Reporter: SwiftsNamesake | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by SwiftsNamesake): * I'm using Windows 10. * chcp is a windows command which changes the active code page I was trying to print Unicode characters. I launched the Windows console (cmd), started GHCi, ran that putStrLn- snippet and (obviously) got an exception. I don't remember exactly but I must've terminated GHCi (:q), changed the code page and then restarted GHCi to try again (in quick succesion). I remember the commands from cmd and GHCi being 'interleaved' (ie. things I started typing into the CMD appeared inside GHCi later on). It's possible that it's really CMD which is at fault but I decided to report it anyway since I was asked to. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12521#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12521: Thread blocked indefinitely in an MVar operation -----------------------------------+-------------------------------------- Reporter: SwiftsNamesake | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: | Keywords: 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 thomie): * os: Unknown/Multiple => Windows Comment: Ok, thank you for the report. If you can reproduce the bug reliably, please let us know. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12521#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12521: Thread blocked indefinitely in an MVar operation -----------------------------------+-------------------------------------- Reporter: SwiftsNamesake | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #10793 | Differential Rev(s): Wiki Page: | -----------------------------------+-------------------------------------- Changes (by Phyx-): * status: infoneeded => closed * resolution: => duplicate * related: => #10793 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12521#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC