ghc crash

Simon Marlow simonmar at microsoft.com
Thu Aug 4 09:31:51 EDT 2005


On 03 August 2005 09:42, Vladimir Zykov wrote:

>   I'm  rather  new  to  Haskell  but looks like I found a bug. The bug
> occurs  when I try to build SYB3 package (which is necessary for HAIFA
> package). I downloaded SYB3 from http://www.dcs.shef.ac.uk/~u1sf/darcs
> but  it  appears  to  be  dead  now, so I attach the SYB3 archive with
> the sources.
> 
>   I  have  GHC  6.4  on Windows 2000 and I did the following steps for
> building SYB3:
> runhaskell.exe Setup.lhs configure --ghc
> runhaskell.exe Setup.lhs build
> 
>   During  building  of  Data/Generics2/Instances.hs  ghc  does  access
> violation  and  the  whole  process terminates. I discovered that this
> problem arises from line #506 in Instances.hs (`$(deriveTypeable
> [''DataType])`). If I build without that line (and following
> `instance Sat (ctx DataType)`) 
> then everything goes fine.
> 
> So, can you help me with this?

I don't know the cause, but it appears to work fine with 6.4.1.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list