[GHC] #7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation
GHC
ghc-devs at haskell.org
Mon Jul 28 01:54:08 UTC 2014
#7655: 7.6.2 Segmentation Fault/Bus Error in large exponentation
-------------------------------------+----------------------------------
Reporter: Doug310 | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone: 7.8.4
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:
Differential Revisions: |
-------------------------------------+----------------------------------
Comment (by rwbarton):
So GMP 6 has (as I mentioned above) a macro to allocate small blocks with
`alloca` and large blocks with `malloc`. The current release does not
correctly use this macro in the code in question, but
[https://gmplib.org/repo/gmp-6.0/rev/84965a50fd92 this backported patch]
fixes this. So if we wait for GMP 6.0.1 and then update the in-tree
tarball, this should get fixed automatically.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7655#comment:33>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list