[GHC] #12520: Segfault when using unboxed tuples in GHCi

GHC ghc-devs at haskell.org
Mon Aug 22 14:46:27 UTC 2016


#12520: Segfault when using unboxed tuples in GHCi
-------------------------------------+-------------------------------------
        Reporter:  mniip             |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHCi crash        |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 This is fixed in HEAD.

 Unboxed tuple handling in the interpreter is a bit hacky (we have special
 cases for tuples with one void value etc.), but it was recently improved
 during the implementation of unboxed sums (see new `RepType` module and
 its uses in `BytecodeGen`). That also fixed this bug.

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


More information about the ghc-tickets mailing list