[GHC] #9525: +RTS -xc stack trace sometimes reported twice

GHC ghc-devs at haskell.org
Thu Jun 16 09:08:17 UTC 2016


#9525: +RTS -xc stack trace sometimes reported twice
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  osa1
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Profiling         |              Version:  7.8.3
      Resolution:  invalid           |             Keywords:  profiling,
                                     |  stack trace, error
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by osa1):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 I'm closing this ticket as it's not possible to reproduce anymore. Same
 program now prints this with `-O`:

 {{{
 *** Exception (reporting due to +RTS -xc): (THUNK_2_0), stack trace:
   Main.f,
   called from Main.main,
   called from Main.CAF
   --> evaluated by: Main.main,
   called from Main.CAF
   --> evaluated by: Main.main
 Main: test
 CallStack (from HasCallStack):
   error, called at Main.hs:2:5 in main:Main
 CallStack (from -prof):
   Main.f (Main.hs:2:1-16)
   Main.main (Main.hs:4:1-19)
   Main.CAF (<entire-module>)
 }}}

 and this without `-O`:

 {{{
 *** Exception (reporting due to +RTS -xc): (THUNK_2_0), stack trace:
   Main.f,
   called from Main.CAF
   --> evaluated by: Main.main,
   called from Main.CAF
 Main: test
 CallStack (from HasCallStack):
   error, called at Main.hs:2:5 in main:Main
 CallStack (from -prof):
   Main.f (Main.hs:2:1-16)
   Main.CAF (<entire-module>)
 }}}

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


More information about the ghc-tickets mailing list