[GHC] #7919: Heap corruption (segfault) from large 'let' expression

GHC cvs-ghc at haskell.org
Fri May 24 14:53:54 CEST 2013


#7919: Heap corruption (segfault) from large 'let' expression
-------------------------------+--------------------------------------------
    Reporter:  duncan          |       Owner:  simonmar     
        Type:  bug             |      Status:  merge        
    Priority:  high            |   Milestone:  7.8.1        
   Component:  Build System    |     Version:  7.6.3        
    Keywords:                  |          Os:  Linux        
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash
  Difficulty:  Unknown         |    Testcase:               
   Blockedby:                  |    Blocking:               
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * component:  Runtime System => Build System


Comment:

 BTW, what you're doing is not likely to be fast :-)  You have a
 constructor that is larger than a block, which will get copied around by
 the GC.  Arrays and other large objects don't get copied, but we don't
 expect ordinary constructors/functions/thunks to be this big so they don't
 get the large object treatment.

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



More information about the ghc-tickets mailing list