[GHC] #12492: internal error: allocation of 1048608 bytes too large

GHC ghc-devs at haskell.org
Wed Aug 17 00:23:12 UTC 2016


#12492: internal error: allocation of 1048608 bytes too large
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Runtime System    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 I suspect this issue was actually a problem with an attoparsec parser not
 handing escape sequences correctly (my fault) and then causing an
 allocation that was too big. Still not understanding how this could have
 been detected at compile time.

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


More information about the ghc-tickets mailing list