Mac OS X Version - Nov 2002 - "Illegal instructions"

Ralf Welter i_see@macnews.de
Sat, 7 Dec 2002 01:09:32 +0100


Hi!
Without any special options, hugs crashes on me when performing certain 
list operations.
I assume this has to do with a memory management issue, but that's just 
a wild guess.

> [Qbix:~/Documents] sus% /usr/local/bin/hugs
> __   __ __  __  ____   ___      
> _________________________________________
> ||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 
> standard
> ||___|| ||__|| ||__||  __||     Copyright (c) 1994-2002
> ||---||         ___||           World Wide Web: http://haskell.org/hugs
> ||   ||                         Report bugs to: hugs-bugs@haskell.org
> ||   || Version: November 2002  
> _________________________________________
>
> Haskell 98 mode: Restart with command line option -98 to enable 
> extensions
>
> Reading file "/usr/local/lib/hugs/lib/Prelude.hs":
>
> Hugs session for:
> /usr/local/lib/hugs/lib/Prelude.hs
> Type :? for help
> Prelude> length (reverse [1..10463])
> Illegal instruction
> [Qbix:~/Documents] sus% /usr/local/bin/hugs
> __   __ __  __  ____   ___      
> _________________________________________
> ||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 
> standard
> ||___|| ||__|| ||__||  __||     Copyright (c) 1994-2002
> ||---||         ___||           World Wide Web: http://haskell.org/hugs
> ||   ||                         Report bugs to: hugs-bugs@haskell.org
> ||   || Version: November 2002  
> _________________________________________
>
> Haskell 98 mode: Restart with command line option -98 to enable 
> extensions
>
> Reading file "/usr/local/lib/hugs/lib/Prelude.hs":
>
> Hugs session for:
> /usr/local/lib/hugs/lib/Prelude.hs
> Type :? for help
> Prelude> length (reverse [1..10462])
> 10462
The exact value seems to depend on the heapsize.
I have downloaded the binary distribution from haskell.org and use it 
on Mac OS 10.2.2
I will provide further information if you need it.

Regards,
	ralf