[GHC] #15581: Unable to commit [negative number] bytes of memory

GHC ghc-devs at haskell.org
Thu Aug 30 14:47:27 UTC 2018


#15581: Unable to commit [negative number] bytes of memory
-------------------------------------+-------------------------------------
           Reporter:  nh2            |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.8.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 In issues like https://github.com/haskell/text/issues/221 we observe:

 {{{
 "<interactive>: internal error: Unable to commit -1604321280 bytes of
 memory
     (GHC version 8.2.2 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

 Unable to commit a **negative** amount of bytes?

 That looks like integer overflow somewhere.

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


More information about the ghc-tickets mailing list