[GHC] #14192: Change to 1TB VIRT allocation makes it impossible to core-dump Haskell programs
GHC
ghc-devs at haskell.org
Thu Sep 7 13:07:08 UTC 2017
#14192: Change to 1TB VIRT allocation makes it impossible to core-dump Haskell
programs
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 8.0.2
Resolution: | Keywords: gdb,
| debugging
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: #9706 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonmar):
I'm surprised this is an issue, I'm sure I've core-dumped processes with
the 1TB address space without any problems. The core files look huge, but
they're sparse.
I wonder what's being dumped.
We could easily add a flag to change the size of the region, but adding a
flag to disable the region completely would add a performance overhead
because we'd have to check the flag repeatedly in the inner loop of the
GC, so I'd really like to avoid that if possible.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14192#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list