[GHC] #14970: GHC.Err.errorWithoutStackTrace produces stack trace when profiling enabled

GHC ghc-devs at haskell.org
Sat Mar 24 23:16:14 UTC 2018


#14970: GHC.Err.errorWithoutStackTrace produces stack trace when profiling enabled
-------------------------------------+-------------------------------------
           Reporter:  rotaerk        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:                 |           Version:  8.2.2
  libraries/base                     |
           Keywords:                 |  Operating System:  Linux
       Architecture:                 |   Type of failure:  Incorrect result
  Unknown/Multiple                   |  at runtime
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 When you run 'error', it shows the usual stack trace.  When you enable
 profiling with the -prof flag to ghc, and you run 'error', it shows the
 usual stack trace plus an additional prof-specific stack trace.

 When you run 'errorWithoutStackTrace' with profiling enabled, it strips
 the usual stack trace of 'error', but still displays the prof-specific
 stack trace.

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


More information about the ghc-tickets mailing list