[GHC] #7067: Add alignment-restricted ForeignPtr allocation actions

GHC cvs-ghc at haskell.org
Wed Jul 11 15:56:58 CEST 2012


#7067: Add alignment-restricted ForeignPtr allocation actions
------------------------------+---------------------------------------------
 Reporter:  nicolast          |          Owner:                  
     Type:  feature request   |         Status:  patch           
 Priority:  normal            |      Component:  libraries/base  
  Version:                    |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
Changes (by nicolast):

  * status:  new => patch


Comment:

 Using attachment:ticket:7067:0001-Add-alignment-restricted-ForeignPtr-
 allocation-actio.patch and an adapted mallocVector implementation (see
 mallocVectorMine3 at https://gist.github.com/3084806#LC129) the corruption
 as found earlier (using mallocVectorMine1 or mallocVectorMine2) no longer
 occur.

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



More information about the Glasgow-haskell-bugs mailing list