[GHC] #2047: ghc compiled program crashes with segfault when using -M and/or -c

GHC trac at galois.com
Wed Jan 16 04:25:40 EST 2008


#2047: ghc compiled program crashes with segfault when using -M and/or -c
----------------------------+-----------------------------------------------
 Reporter:  mte             |          Owner:         
     Type:  bug             |         Status:  new    
 Priority:  normal          |      Milestone:  6.8.3  
Component:  Runtime System  |        Version:  6.8.2  
 Severity:  critical        |     Resolution:         
 Keywords:  gc segfault     |     Difficulty:  Unknown
 Testcase:                  |   Architecture:  x86    
       Os:  Windows         |  
----------------------------+-----------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown
  * milestone:  => 6.8.3

Comment:

 This certainly sounds like a bug in the compacting GC.  Without means to
 reproduce it though, it's impossible to diagnose.

 If you could reproduce the error in non-proprietary code, or somehow
 arrange to give me the code with a no-redistribution license, that would
 help a lot.

 If you need to use `-M` without the compacting GC, the workaround is to
 add `-c100`, which should disable the automatic compacting GC threshold.

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


More information about the Glasgow-haskell-bugs mailing list