[GHC] #14192: Change to 1TB VIRT allocation makes it impossible to core-dump Haskell programs

GHC ghc-devs at haskell.org
Fri Dec 8 20:03:23 UTC 2017


#14192: Change to 1TB VIRT allocation makes it impossible to core-dump Haskell
programs
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Runtime System    |              Version:  8.0.2
      Resolution:  fixed             |             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):

 I can confirm that with this patch, `generate-core-file` works fine.

 For a simple 2-line application, it generates me a ~8 MB core file, and I
 can re-load that core file into gdb and look at the backtrace
 successfully.

 Nice work!

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14192#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list