[GHC] #8116: Segfault/panic of 32bit GHCi on Mac

GHC ghc-devs at haskell.org
Sat Aug 17 06:14:10 CEST 2013


#8116: Segfault/panic of 32bit GHCi on Mac
---------------------------------------+-----------------------------------
        Reporter:  kazu-yamamoto       |            Owner:
            Type:  bug                 |           Status:  new
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.6.3
      Resolution:                      |         Keywords:
Operating System:  MacOS X             |     Architecture:
 Type of failure:  GHCi crash          |  Unknown/Multiple
       Test Case:  ghci/scripts/T8116  |       Difficulty:  Unknown
        Blocking:                      |       Blocked By:
                                       |  Related Tickets:
---------------------------------------+-----------------------------------

Comment (by Austin Seipp <aseipp@…>):

 In [changeset:858924a016528be00a43333de2563d4e8c630bdb/testsuite]:
 {{{
 #!CommitTicketReference repository="testsuite"
 revision="858924a016528be00a43333de2563d4e8c630bdb"
 Fix test for #8116.

 This caused a failure on some 32bit builds due to floating point
 (in)accuracy. But Complex is already strict in both its components, and
 we really just want to know the code works, so an easier solution is to
 simply use `seq` to force evaluation.

 Signed-off-by: Austin Seipp <aseipp at pobox.com>
 }}}

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




More information about the ghc-tickets mailing list