[GHC] #10941: Large heap address space breaks valgrind
GHC
ghc-devs at haskell.org
Wed Oct 7 11:46:22 UTC 2015
#10941: Large heap address space breaks valgrind
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Runtime | Version: 7.11
System |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets: #9706
Differential Rev(s): |
-------------------------------------+-------------------------------------
It seems that programs compiled with a GHC `--enable-large-address-space`
(see #9706) no longer run under valgrind, which is a pitty, as that is
useful to get more reliable numbers out of nofib. It fails with
`internal error: getMBlock: mmap: Invalid argument`
This bug is a general “Can we do anything about this”.
In particular, is there a possibility to make this a RTS option instead of
a compile time option?
Or maybe it is possible to talk to the valgrind authors if they can
support such large allocations?
If neither, can we maybe extend the error message to say “If you are using
a tool like valgrind, you might want to recompile the compiler with
`--disable-large-address-space.”
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10941>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list