Segfault on Windows

Neil Mitchell ndmitchell at gmail.com
Wed Apr 26 18:34:05 EDT 2006


Hi,

I can reliably get ghc to crash on windows:

AppName: ghc.exe	 AppVer: 0.0.0.0	 ModName: unknown
ModVer: 0.0.0.0	 Offset: 00000000
Code: 0xc0000005

This is using both ghc 6.4.1 and
ghc-6.4.2.20060329-i386-unknown-mingw32.tar on Windows XP.

The way I am getting this to occur is:

* Check out the base libraries with darcs
* Create setup.hs, with main = defaultMainWithHooks defaultUserHooks
* runhaskell Setup.hs configure
* runhaskell Setup.hs build
crash, as above

Unfortunately, I've tweaked a large number of things (cabal, winhugs,
cpphs, haddock) and have all my files in surprising places etc - so
this might be hard to reproduce.

Interestingly, main = defaultMain does not crash ghc

Thanks

Neil



More information about the Glasgow-haskell-bugs mailing list