logo       

Segfault on Windows: msg#00062

lang.haskell.glasgow.bugs

Subject: Segfault on Windows

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise