logo       

memory error in 6.2.2: msg#00035

lang.haskell.glasgow.bugs

Subject: memory error in 6.2.2

Dear GHC team,

I have got this when compile DoCon-2.08 with
ghc-6.2.2 -Onot -M40m

(on RedHat Linux, i386-unknown, ghc-6.2.2 built from source) :


**************************************************
....
....
==================== INTERFACE HAS CHANGED ====================
No old interface available

Source file changed or recompilation check turned off
FYI: cannot read old interface file:
/home/mechvel/docon/2.08/docon/source/export/RsePol0_.hi:
openBinaryFile: does not exist (No such file or directory)
Compiling RsePol0_
( residue/RsePol0_.hs,
/home/mechvel/docon/2.08/docon/source/export/RsePol0_.o )

residue/RsePol0_.hs:14:
Warning: Module `Pol2_' is imported, but nothing from it is used
(except perhaps instances visible in `Pol2_')

==================== INTERFACE HAS CHANGED ====================
No old interface available

ghc-6.2.2: internal error: scavenge_mark_stack:
unimplemented/strange closure type 30 @ 0x40cd2d04
Please report this as a bug to glasgow-haskell-bugs@xxxxxxxxxxx,
or http://www.sourceforge.net/projects/ghc/
make: *** [obj] Error 254

********************************************************



Then, I restart `make', and it builds.

The test is all right.

Also `making' with -M30m avoids this error,
as well as making with -O -M60m.

Probably, there is a bug in the memory management.

In the next letter, I am sending docon-2.08.zip to
Simon Marlow and Simon P. Jones,
so that you could try to reproduce the effect.

Follow install.txt and apply make space=-M40m docon

(-Onot). But on other system, it may require different -M option
to run into such error.

-----------------
Serge Mechveliani
mechvel@xxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise