Re: [GHC] #7317: Segmentation fault in RTS' STM code on git master

2012-10-22 Thread GHC
#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 
 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: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7317: Segmentation fault in RTS' STM code on git master

2012-10-10 Thread GHC
#7317: Segmentation fault in RTS' STM code on git master
--+-
 Reporter:  bgamari   |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Component:  Runtime System  
  Version:  7.7   |   Keywords:  rts, stm, segv  
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-

Comment(by bgamari):

 The following should work,

 '''links'''
 {{{
 1 2
 1 3
 }}}

 '''texts'''
 {{{
 1 this is a small node
 2 this is a larger node with more items
 3 this has items
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7317: Segmentation fault in RTS' STM code on git master

2012-10-10 Thread GHC
#7317: Segmentation fault in RTS' STM code on git master
--+-
 Reporter:  bgamari   |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Component:  Runtime System  
  Version:  7.7   |   Keywords:  rts, stm, segv  
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-

Comment(by fryguybob):

 Are the files `texts` and `links` available for reproducing the issue?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs