[GHC] #9384: setNumCapabilities call breaks eventlog events

GHC ghc-devs at haskell.org
Sun Jan 18 12:17:28 UTC 2015


#9384: setNumCapabilities call breaks eventlog events
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  high              |               Milestone:  7.10.1
       Component:  Profiling         |                 Version:  7.8.3
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D592
-------------------------------------+-------------------------------------

Comment (by Sergei Trofimovich <siarheit@…>):

 In [changeset:"2edb4a7bd5b892ddfac75d0b549d6682a0be5c02/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2edb4a7bd5b892ddfac75d0b549d6682a0be5c02"
 Trac #9384: fix increasing capabilites number for eventlog.

 Event log had inconcistent support for increacing capabilies
 number, as header were not inserted in capability buffer. It
 resulted in a ghc-events crash (see #9384). This commit
 fixes this issue by inserting required header when number
 of capabilies grows.

 Reviewers: simonmar, Mikolaj, trofi, austin

 Reviewed By: Mikolaj, trofi, austin

 Subscribers: carter, thomie

 Differential Revision: https://phabricator.haskell.org/D592

 GHC Trac Issues: #9384
 }}}

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


More information about the ghc-tickets mailing list