[GHC] #13452: Lock .tix file

GHC ghc-devs at haskell.org
Sun Mar 19 06:05:58 UTC 2017


#13452: Lock .tix file
-------------------------------------+-------------------------------------
           Reporter:  dfeuer         |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Code Coverage  |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 The HPC documentation
 [https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html
 #caveats-and-shortcomings-of-haskell-program-coverage warns] that

 > HPC does not attempt to lock the `.tix` file, so multiple concurrently
 running binaries in the same directory will exhibit a race condition.

 This sounds like something that shouldn't be too terribly hard to fix,
 once we determine exactly how we want to deal with contention.

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


More information about the ghc-tickets mailing list