[GHC] #9145: hp2ps produces odd negative sawtooth
#9145: hp2ps produces odd negative sawtooth --------------------------+------------------------------------------------ Reporter: | Owner: blackdog | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.2 Component: | Operating System: Linux Profiling | Type of failure: Incorrect result at runtime Keywords: | Test Case: Architecture: | Blocking: Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: | --------------------------+------------------------------------------------ i'm profiling a process with about 22gb of usage before the OOMkiller gets it. the heap profile for it is very odd: -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9145> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9145: hp2ps produces odd negative sawtooth ------------------------------------------------+-------------------------- Reporter: blackdog | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Profiling | Version: 7.8.2 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Incorrect result at runtime | Unknown/Multiple Test Case: | Difficulty: Blocking: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by Reid Barton <rwbarton@…>): In [changeset:"b735883016b946372cb44b6c5d86dc36c126a8cf/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="b735883016b946372cb44b6c5d86dc36c126a8cf" Avoid integer overflow in hp2ps (#9145) This is slightly hackish, but hp2ps is already convoluted enough that I don't feel bad about it. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9145#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9145: hp2ps produces odd negative sawtooth ------------------------------------------------+-------------------------- Reporter: blackdog | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Profiling | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Linux | Architecture: Type of failure: Incorrect result at runtime | Unknown/Multiple Test Case: | Difficulty: Blocking: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Changes (by rwbarton): * status: new => closed * resolution: => fixed Comment: Here is the corrected heap profile of your RAM-guzzling program! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9145#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9145: hp2ps produces odd negative sawtooth ------------------------------------------------+-------------------------- Reporter: blackdog | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Profiling | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Linux | Architecture: Type of failure: Incorrect result at runtime | Unknown/Multiple Test Case: | Difficulty: Blocking: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by blackdog): Heh, thank you. I've since converted it to an iteratee-based approach and it's steady on 70mb, but it's good to know that hp2ps is now safe for terrible programs everywhere :) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9145#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC