[GHC] #13285: Bug in GHC.Stack.callStack when used with sections

GHC ghc-devs at haskell.org
Thu Feb 16 14:25:13 UTC 2017


#13285: Bug in GHC.Stack.callStack when used with sections
-------------------------------------+-------------------------------------
        Reporter:  SimonHengel       |                Owner:  simonpj
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"b8c29bc9ccd541478b6c1b9d04ca940b9d74cf96/ghc"
 b8c29bc9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b8c29bc9ccd541478b6c1b9d04ca940b9d74cf96"
 Use the correct origin in SectionL and Section R

 This fixes Trac #13285.

 The CallStack stuff is all driven by a CtOrigin of (OccurenceOf f),
 and we were instead using SectionOrigin.  Boo!

 Easily fixed; and I did a little refactoring as usual.
 }}}

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


More information about the ghc-tickets mailing list