
#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 nh2): @simonmar Could you try to reproduce? Try this: {{{ import Control.Concurrent main = threadDelay 1000000000 }}} Compile with `ghc --make thefile.hs` (8.0.2), pet the pid with `ps`, `sudo gdb -p thepid`, `generate-core-file`. For me (Ubuntu 16.04) that runs forever, writing GB after GB to `core.*` in gdb's working directory. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14192#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler