[GHC] #7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation

GHC ghc-devs at haskell.org
Tue Feb 4 22:54:34 UTC 2014


#7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation
-------------------------------+----------------------------------
        Reporter:  Doug310     |            Owner:
            Type:  bug         |           Status:  new
        Priority:  normal      |        Milestone:  7.8.1
       Component:  GHCi        |          Version:  7.8.1-rc1
      Resolution:              |         Keywords:  exponentiation
Operating System:  MacOS X     |     Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |       Difficulty:  Unknown
       Test Case:              |       Blocked By:
        Blocking:              |  Related Tickets:
-------------------------------+----------------------------------

Comment (by hvr):

 btw, note that `(^)` for `Integer` is implemented via square-and-multiply,
 c.f. [http://hackage.haskell.org/package/base-4.6.0.1/docs/src/GHC-
 Real.html#%5E implementation in base].
 So it might be interesting if one could find out which one of the several
 `Integer`-primop calls involved causes the actual fault.

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


More information about the ghc-tickets mailing list