[GHC] #8573: "evacuate: strange closure type 0" when creating large array
GHC
ghc-devs at haskell.org
Wed May 10 00:28:41 UTC 2017
#8573: "evacuate: strange closure type 0" when creating large array
-------------------------------------+-------------------------------------
Reporter: nad | Owner: rwbarton
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 7.6.3
Resolution: | Keywords:
Operating System: Linux | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
With GHC HEAD I get,
{{{
$ ghc --make hi.hs -O -main-is strangeClosureType
[1 of 1] Compiling Main ( hi.hs, hi.o )
Linking hi ...
$ ./hi
2111752566
hi: Out of memory
}}}
rwbarton, I suppose your thought was that the primop implementations
should also do their own integer overflow checks? I'm not entirely
convinced that is necessary.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8573#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list