Exception: ghc-6.2.1: internal error: scavenge_mutable_list: strange object? 55456

Simon Marlow simonmar at microsoft.com
Fri Sep 3 08:48:21 EDT 2004


On 02 September 2004 11:30, Michael Spencer Leeming wrote:

> Hi everyone,
> 
> First let me say thanks for maintaining my favourite programming
> language. I managed to crash ghci-6.2.1 for the first time tonight,
> with the attached module, and the following command:
> 
> qsFactor 1000 10000 ((nextPrime 4938203842901)*(nextPrime
> 4389273982791)) 4 
> 
> *** Exception: ghc-6.2.1: internal error: scavenge_mutable_list:
> strange object? 55456
>      Please report this as a bug to glasgow-haskell-bugs at haskell.org,
>      or http://www.sourceforge.net/projects/ghc/

I believe you might be overrunning an array somewhere.  Before I track
this down any further, could you try inserting missing bound checks
(i.e. change the unsafeAccum to accum, and adjust indices accordingly).

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list