[GHC] #12954: unexpected uncaught segmentation error in arbitrary precision Integer calculations with modestly large numbers

GHC ghc-devs at haskell.org
Thu Jan 5 15:51:03 UTC 2017


#12954: unexpected uncaught segmentation error in arbitrary precision Integer
calculations with modestly large numbers
----------------------------------+--------------------------------------
        Reporter:  geraint        |                Owner:
            Type:  bug            |               Status:  infoneeded
        Priority:  high           |            Milestone:  8.2.1
       Component:  GHCi           |              Version:  8.0.1
      Resolution:                 |             Keywords:
Operating System:  MacOS X        |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):
       Wiki Page:                 |
----------------------------------+--------------------------------------

Comment (by geraint):

 Running otool only tells me about libHSinteger-gmp, specifically:

        @rpath/libHSinteger-gmp-1.0.0.1-ghc8.0.1.dylib (compatibility
 version 0.0.0, current version 0.0.0)

 but I edited an earlier comment (which apparently doesn't generate an
 email):

         "... by dint of looking at HsIntegerGmp.h I see it is 5.0.4 and
 GHC_GMP_INTREE is true, so it is the presumably the allocation bug in
 gmp."

 This is how it comes for the Mac in the current Haskell platform.

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


More information about the ghc-tickets mailing list