space leak in compiler?

Serge D. Mechveliani mechvel at botik.ru
Fri May 7 03:10:47 EDT 2004


Dear GHC developers,

I have tested  ghc-6.2.1  
               (installed from (maybe) RPM on RedHat Linux (maybe) 8)
  
on my DoCon-2.08 application. It works, mainly.
 
But it seems to have a space leak in the compiler.

                make space=-M30m docon
                (involving  ghc --make ... +RTS -M30m -RTS)

leads to                        "segmentation fault"  
after compling several modules.
Repeating this command several times allows to build the program.

I need to release an official  docon-2.08  within a couple of days.
And am going write in  Installation guide 

  " Command    make space=... docon

    If it reports  "segmentation fault",  repeat the command, 
    until it compliles everything
    (this is, probably, due to a bug in GHC, not vital for the work
     with DoCon and which will be fixed in future GHC versions).
  "
 
With kind regards,

------------------
Serge Mechveliani
mechvel at botik.ru




More information about the Glasgow-haskell-bugs mailing list