[GHC] #15508: concprog001 fails with various errors

GHC ghc-devs at haskell.org
Mon Mar 4 18:51:02 UTC 2019


#15508: concprog001 fails with various errors
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  osa1
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.6.4
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15571            |  Differential Rev(s):  Phab:D5051
                                     |  (reverted), Phab:D5165, Phab:D5178,
       Wiki Page:                    |  MR:103, MR:146
-------------------------------------+-------------------------------------

Comment (by Marge Bot <ben+marge-bot@…>):

 In [changeset:"908b4b8659713f0b7a1704ce33c7fa30e3e0ffc3/ghc"
 908b4b86/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="908b4b8659713f0b7a1704ce33c7fa30e3e0ffc3"
 Fix two bugs in stg_ap_0_fast in profiling runtime

 This includes two bug fixes in profiling version of stg_ap_0_fast:

 - PAPs allocated by stg_ap_0_fast are now correctly tagged. This
   invariant is checked in Sanity.c:checkPAP.

   (This was originally implemented in 2693eb11f5, later reverted with
   ab55b4ddb7 because it revealed the bug below, but it wasn't clear at
   the time whether the bug was the one below or something in the commit)

 - The local variable `untaggedfun` is now marked as a pointer so it
   survives GC.

 With this we finally fix all known bugs caught in #15508. `concprog001`
 now works reliably with prof+threaded and prof runtimes (with and
 without -debug).
 }}}

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


More information about the ghc-tickets mailing list