[GHC] #8839: 64 bit windows executables compiled with ghc-7.8rc2 segfault when allocate more than 4G of memory
GHC
ghc-devs at haskell.org
Mon Mar 3 16:48:38 UTC 2014
#8839: 64 bit windows executables compiled with ghc-7.8rc2 segfault when allocate
more than 4G of memory
-----------------------------------+----------------------------------
Reporter: awson | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.8.2
Component: Runtime System | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64 (amd64)
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-----------------------------------+----------------------------------
Comment (by hvr):
Replying to [comment:2 simonmar]:
> Does it work on a non-Windows platform?
seems so; I've tried the example on Linux/x86_64 with GHC 7.8.0.20140228:
{{{
$ ghc -O2 -rtsopts --make t.hs
[1 of 1] Compiling Main ( t.hs, t.o )
Linking t ...
$ ./t +RTS -s -K4G -RTS 257000000
33024500128500000
4,268,393,264 bytes allocated in the heap
172,568 bytes copied during GC
2,146,986,848 bytes maximum residency (12 sample(s))
21,224 bytes maximum slop
4203 MB total memory in use (65 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max
pause
Gen 0 8130 colls, 0 par 2.98s 2.98s 0.0004s
0.0004s
Gen 1 12 colls, 0 par 1.69s 1.70s 0.1414s
0.7621s
INIT time 0.00s ( 0.00s elapsed)
MUT time 2.20s ( 2.20s elapsed)
GC time 4.67s ( 4.68s elapsed)
EXIT time 0.17s ( 0.17s elapsed)
Total time 7.04s ( 7.05s elapsed)
%GC time 66.3% (66.4% elapsed)
Alloc rate 1,936,992,267 bytes per MUT second
Productivity 33.7% of total user, 33.7% of total elapsed
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8839#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list