#7317: Segmentation fault in RTS' STM code on git master -------------------------------+-------------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Runtime System | Version: 7.7 Resolution: fixed | Keywords: rts, stm, segv Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by simonmar):
* status: new => closed * difficulty: => Unknown * resolution: => fixed * milestone: => 7.8.1 Comment: I believe I just fixed this, in {{{ commit 412af8c2eb2f2c689f77fa9e061d45eaa37110f1 Author: Simon Marlow <marlo...@gmail.com> Date: Mon Oct 22 11:43:18 2012 +0100 Foreign calls can clobber heap & stack memory too We were making an aggressive assumption that foreign calls cannot clobber heap or stack memory, which for the majority of foreign calls is true, but we violate the assumption in the implementation of primops in the RTS. This was causing crashes in some STM tests. }}} Please re-open the ticket if you still encounter problems. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7317#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs