[GHC] #10758: the 'impossible' happened

GHC ghc-devs at haskell.org
Sat Aug 8 05:36:45 UTC 2015


#10758: the 'impossible' happened
-------------------------------------------+-------------------------------
              Reporter:  martinmr          |             Owner:
                  Type:  bug               |            Status:  new
              Priority:  normal            |         Milestone:
             Component:  GHCi              |           Version:  7.10.2
              Keywords:                    |  Operating System:  Linux
          Architecture:  Unknown/Multiple  |   Type of failure:  GHCi crash
             Test Case:                    |        Blocked By:
              Blocking:                    |   Related Tickets:
Differential Revisions:                    |
-------------------------------------------+-------------------------------
 I was working on solving problems 64 and 65 of the Euler project. When I
 was working on problem 64 I was able to load the file into ghci. I
 finished the problem and moved on to problem 65.

 When I tried to load 65.hs in ghci I got
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.2 for x86_64-unknown-linux):
         floatExpr tick break<6>()

 Same thing happened when I tried to load 64.hs (which used to work fine)
 and a number of other files from problems I had previously solved. Not all
 files trigger this issue and I have not changed ghc or cabal at all apart
 from installing the arithmoi and parallel packages.

 I am attaching my code for problems 64 and 65 in case my code is somehow
 triggering the bug (you can look at the problem statement at
 https://projecteuler.net/problem=64 and
 https://projecteuler.net/problem=65)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10758>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list