[GHC] #8573: "evacuate: strange closure type 0" when creating large array

GHC ghc-devs at haskell.org
Wed Jul 30 17:07:03 UTC 2014


#8573: "evacuate: strange closure type 0" when creating large array
----------------------------------------+----------------------------
              Reporter:  nad            |            Owner:  rwbarton
                  Type:  bug            |           Status:  new
              Priority:  normal         |        Milestone:
             Component:  Compiler       |          Version:  7.6.3
            Resolution:                 |         Keywords:
      Operating System:  Linux          |     Architecture:  x86
       Type of failure:  Runtime crash  |       Difficulty:  Unknown
             Test Case:                 |       Blocked By:
              Blocking:                 |  Related Tickets:
Differential Revisions:                 |
----------------------------------------+----------------------------
Changes (by rwbarton):

 * owner:   => rwbarton


Comment:

 Thanks for the report, I had this in my mental list of integer overflows
 to fix but hadn't created a ticket. Specifically, `stg_newArrayzh` (and
 all the other `new*Array` primops) need bounds-checking.

 Also see #229, but I regard that ticket as about integer overflows in the
 `array` package.

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


More information about the ghc-tickets mailing list