ghci and other test failures on Windows.

Mike Thomas mike.thomas at brisbane.paradigmgeo.com
Mon Sep 6 06:47:42 EDT 2004


Hi again.

| >> 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:

Unfortunately I was about to go home and had kicked tonight's build off so
the previous one was obliterated.  Will try tomorrow if that's not too late
for your release plans.

|   - 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.

Will do.

Cheers

Mike Thomas.




More information about the Cvs-ghc mailing list