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

GHC ghc-devs at haskell.org
Thu Jan 5 14:09:50 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 rwbarton):

 A good question. I don't have a Mac but I think you can do the following.

 * Run `less $(which ghc)`. The second line should be of the form
 `exedir=".../bin"`.

 * Run `otool -L .../bin/ghc` using the path from above. Look for a line
 mentioning `libgmp`. `otool -l` might also have useful information.

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


More information about the ghc-tickets mailing list