GetMBlock

Simon Marlow simonmar at microsoft.com
Wed Oct 23 06:07:07 EDT 2002


> Hello,
>         I am getting the the folowing error message with ghc-5.04
> 
> meegpar: fatal error: GetMBlock: misaligned block 0x401d1000 
> returned when allocating 1 megablock(s) at 0x50800000
> 
> I saw on the mailing list that the problem exists since long time. 
> I would think that trying different addresses if the initial one does
> not succeed would not be a bad idea and not too difficult to do. 
> I would implement it myself if I could find a way to compile the ghc.
> I am attaching the different memory maps as produced by cat 
> /proc/PID/maps.

It's actually slightly more complicated than just trying different
addresses, because there's a corresponding predicate which discriminates
between heap addresses and static data.  

Fortunately, however, I've now fixed the bug and the fix will be in the
upcoming 5.04.2.

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list