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

GHC ghc-devs at haskell.org
Wed Aug 17 23:43:45 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):

 Running with the debug RTS and `-Ds` I get:

 {{{
 cap 0: finished GC
 task exiting
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (yielding)
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (heap overflow)
 load-test: internal error: allocation of 1034912 bytes too large (GHC
 should have complained at compile-time)
     (GHC version 7.10.3 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

 To me, "heap overflow" sounds bad.

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


More information about the ghc-tickets mailing list