ghci and other test failures on Windows.

Simon Marlow simonmar at microsoft.com
Mon Sep 6 06:20:43 EDT 2004


On 06 September 2004 11:14, Mike Thomas wrote:

> Thanks Simon.
> 
>> I just ran the testsuite in lib/IO with an up to date STABLE build on
>> Windows, and I don't see the crashes you reported.
> 
> Certainly one to ponder on for the future - I get a Windows exception
> dialog on all of those cases under both XP and NT 2000 Pro.

Any chance you could investigate this further?  I would try this:

  - re-link stage2 using EXTRA_HC_OPTS=-debug
  - run one of the offending test cases under gdb

Running the compiler under gdb is a bit fiddly: you need to gdb the
binary directly (not the ghc-inplace script), and pass the appropriate
-B option, which you can get from ghc-inplace.  I usually create a
little .gdbinit file with a 'set args -B...' command to set up the
arguments.  I also usually add +RTS -Ds -RTS to the command line.

Cheers,
	Simon



More information about the Cvs-ghc mailing list