GHCi, version 6.10.1 crashes without message
Heiko Studt
studt at fmi.uni-passau.de
Tue Jan 13 10:15:51 EST 2009
Hi (and hello everybody),
I read the FAQ, I searched down till Nov 2008, but did not find anything.
I hope I didn't miss a FAQ or somewhat. (If so, please apologize!)
My (freshly installed) GHCi 6.10.1 runs on Windows XP on Intel Dual Core.
I used the .msi of the Webpage some two weeks ago.
I got some strange program as example and tried out - and my ghci died
quitly without any helping message.
Here is the original programm:
| f x y z = a + b*c + b + fun c
| where a = x * y + z
| b = c * fun x
| c = a * b
| fun x = x * x + 1
For testing out in previous of this posting, the following is the very
same and had the same problem:
| let f x y z = a + b*c + b + fun c where {a = x * y + z; b = c * fun x; c = a * b; fun x = x * x + 1}
The query to die was "f 1 2 3".
I tried with verbose ghci:
| C:\...\ghc-6.10.1\bin>ghci -v
| GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help
| Glasgow Haskell Compiler, Version 6.10.1, for Haskell 98, stage 2 booted by GHC
| version 6.8.3
| Using package config file: C:\...\GHC-61~1.1\package.conf
| hiding package base-3.0.3.0 to avoid conflict with later version base-4.0.0.0
| wired-in package ghc-prim mapped to ghc-prim-0.1.0.0
| wired-in package integer mapped to integer-0.1.0.0
| wired-in package base mapped to base-4.0.0.0
| wired-in package rts mapped to rts-1.0
| wired-in package haskell98 mapped to haskell98-1.0.1.0
| wired-in package syb mapped to syb-0.1.0.0
| wired-in package template-haskell mapped to template-haskell-2.3.0.0
| wired-in package dph-seq mapped to dph-seq-0.3
| wired-in package dph-par mapped to dph-par-0.3
| Hsc static flags: -static
| Loading package ghc-prim ... linking ... done.
| Loading package integer ... linking ... done.
| Loading package base ... linking ... done.
| Prelude> let f x y z = a + b*c + b + fun c where {a = x * y + z; b = c * fun x;
| c = a * b; fun x = x * x + 1}
| *** Parser:
| *** Desugar:
| *** Simplify:
| *** CorePrep:
| *** ByteCodeGen:
| Prelude> f 1 2 3
| *** Parser:
| *** Desugar:
| *** Simplify:
| *** CorePrep:
| *** ByteCodeGen:
|
| C:\...\ghc-6.10.1\bin>
I hope I could help finding some strange bug, killing 99% of your
problems with Haskell, life and love, although I am very sure
this one is only minor... ;-)
MFG (With friendly regards)
--
Heiko Studt <studt at fmi.uni-passau.de>
More information about the Glasgow-haskell-users
mailing list