[GHC] #13396: thread blocked when running `deepseq` with infinite list

GHC ghc-devs at haskell.org
Wed Mar 8 03:06:21 UTC 2017


#13396: thread blocked when running `deepseq` with infinite list
-------------------------------------+-------------------------------------
           Reporter:  Forec          |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
           Keywords:  thread         |  Operating System:  Unknown/Multiple
  blocked                            |
       Architecture:  x86_64         |   Type of failure:  GHCi crash
  (amd64)                            |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{#!hs
 ghci> :m +Control.Deepseq
 ghci> let x = [1..]
 ghci> x `deepseq` ()
 Ctrl^C
 Interrupted.
 ghci>
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 8.0.2 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/13396>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list