ghc-6-2-branch `internal error'

Simon Peyton-Jones simonpj at microsoft.com
Mon May 17 08:22:20 EDT 2004


There is a known bug in the one-space compacting garbage collector for
GHC 6.2.1.  It is fixed in the 6.2 branch.

This bug is shown up by your "space=XXX" choice.  If you omit space=xxx
you won't use the one-space collector, and the bug will probably vanish.
I am not sure why you use it.  Still, it should not cause a seg fault.

I believe that the bug is already fixed.  To test the 6.2-branch
compiler (which is what you are trying to do), you need to build the
stage-2 compiler, else you'll be running a 6.2-branch compiler linked to
a 6.2.1 run-time system, which has the bug.

If you sat in fptools/ and typed 'make' you should have successfully
built a stage2 compiler; it lives in ghc/compiler/stage2/ghc-inplace.
If you use this compiler to compile docon you should be all right.  Or,
if not, we'd like to know.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-
| bounces at haskell.org] On Behalf Of Serge D. Mechveliani
| Sent: 17 May 2004 09:27
| To: glasgow-haskell-bugs at haskell.org
| Subject: ghc-6-2-branch `internal error'
| 
| Dear GHC developers,
| 
| I have `made' GHC of   cvs update -r ghc-6-2-branch    (about May 14)
| 
| by  ghc-6.2.1   on  RedHat Linux (about version 8) libc-2.2, i686.
| 
| Now, you have the                 docon-2.08-pre
| test, with  Pol3_.hs  containing
| 
|   instance (LinSolvRing (Pol a), CommutativeRing a) =>
|                                           LinSolvRing (UPol (Pol a))
|   ...
| 
| And      make space=-M20m docon
| (-Onot)
| yields
|    ...
|    ...
|     /home/mechvel/docon/2.08/docon/source/export/Pfact3_.hi:
|      openBinaryFile: does not exist (No such file or directory)
|    Compiling Pfact3_
|      ( pol/factor/Pfact3_.hs,
|        /home/mechvel/docon/2.08/docon/source/export/Pfact3_.o )
| 
|    ==================== INTERFACE HAS CHANGED ====================
|    No old interface available
| 
|    ghc-6.2.1: internal error: scavenge_mark_stack:
|                    unimplemented/strange closure type 30 @ 0x41692598
|     Please report this as a bug to glasgow-haskell-bugs at haskell.org,
|     or http://www.sourceforge.net/projects/ghc/
| 
| 
| Repeating this command, or `making' it from the start under  -M30m
| avoids this report.
| 
| -----------------
| Serge Mechveliani
| mechvel at botik.ru
| 
| 
| 
| 
| 
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list