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

Ralf Welter <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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: [email protected]
> ||   || 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: [email protected]
> ||   || 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.