[GHC] #14310: Assertion triggered by STM invariant.

GHC ghc-devs at haskell.org
Wed Oct 4 03:52:29 UTC 2017


#14310: Assertion triggered by STM invariant.
----------------------------------+--------------------------------------
        Reporter:  mbw            |                Owner:  (none)
            Type:  bug            |               Status:  new
        Priority:  high           |            Milestone:  8.4.1
       Component:  Compiler       |              Version:  8.2.1
      Resolution:                 |             Keywords:
Operating System:  Linux          |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):  Phab:D4065
       Wiki Page:                 |
----------------------------------+--------------------------------------

Comment (by bgamari):

 Unfortunately I'm still seeing occasional assertion failures with the
 patch.

 Frankly, I'm very confused by the treatment of invariants in
 `stmCommitTransaction`; it seems to me like  we will happily proceed with
 committing a transaction (and touching invariants) even if we aren't able
 to lock all invariants (see the `break` around line 1350 of `STM.c`). This
 seems quite suspicious.

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


More information about the ghc-tickets mailing list