Re: [Haskell-cafe] hugs segmentation fault

2004-10-29 Thread Sigbjorn Finne
"Jon Fairbairn" <[EMAIL PROTECTED]> writes: On 2004-10-29 at 00:50BST Ben Rudiak-Gould wrote: Jon Fairbairn wrote: Well, here's a sample session I recorded just now: C:\>\ghc\ghc-6.2.1\bin\ghci Prelude> let p = 1 : [2 * x | x <- p, x < 1] in p [1*** Exception: <> Prelude> 123 Fail: thre

Re: [Haskell-cafe] hugs segmentation fault

2004-10-29 Thread William Lee Irwin III
On Thu, Oct 28, 2004 at 05:51:18PM -0700, Fergus Henderson wrote: > We ran into a related problem recently. I think the problem may only > show up on Windows, not on Linux. The problem is that when a loop > occurs, ghc's garbage collection detects that the standard I/O handles > for stdin/stdout/

Re: [Haskell-cafe] hugs segmentation fault

2004-10-29 Thread Jon Fairbairn
On 2004-10-29 at 00:50BST Ben Rudiak-Gould wrote: > Jon Fairbairn wrote: > > >On 2004-10-29 at 00:03BST Ben Rudiak-Gould wrote: > > > >>Not much better, though: in my experience this particular > >>exception leaves ghci in a very peculiar state, and it's > >>usually necessary to quit and rest

Re: [Haskell-cafe] hugs segmentation fault

2004-10-28 Thread Fergus Henderson
On 29-Oct-2004, Ben Rudiak-Gould <[EMAIL PROTECTED]> wrote: > Jon Fairbairn wrote: > > >On 2004-10-29 at 00:03BST Ben Rudiak-Gould wrote: > > > >>Not much better, though: in my experience this particular > >>exception leaves ghci in a very peculiar state, and it's > >>usually necessary to quit and

Re: [Haskell-cafe] hugs segmentation fault

2004-10-28 Thread Ben Rudiak-Gould
Jon Fairbairn wrote: >On 2004-10-29 at 00:03BST Ben Rudiak-Gould wrote: > >>Not much better, though: in my experience this particular >>exception leaves ghci in a very peculiar state, and it's >>usually necessary to quit and restart it before it will >>work again. > >I don't think I've seen such a

Re: [Haskell-cafe] hugs segmentation fault

2004-10-28 Thread Jon Fairbairn
On 2004-10-29 at 00:03BST Ben Rudiak-Gould wrote: > Jon Fairbairn wrote: > > >In ghci you get: > > > >[1*** Exception: <> > > > >which is better. > > Not much better, though: in my experience this particular > exception leaves ghci in a very peculiar state, and it's > usually necessary to qu

Re: [Haskell-cafe] hugs segmentation fault

2004-10-28 Thread Ben Rudiak-Gould
Jon Fairbairn wrote: >In ghci you get: > >[1*** Exception: <> > >which is better. Not much better, though: in my experience this particular exception leaves ghci in a very peculiar state, and it's usually necessary to quit and restart it before it will work again. Is it coincidence that both Hug

Re: [Haskell-cafe] hugs segmentation fault

2004-10-28 Thread Jon Fairbairn
On 2004-10-29 at 00:45+0200 Andrej Bauer wrote: > Hi, > > I am new to haskell, but otherwise experienced in programming languages. > My first attempt at Haskell was this (on a Linux Debian) session with hugs: > > Type :? for help > Prelude> :version > -- Hugs Version November 2003 > Prelude> let

[Haskell-cafe] hugs segmentation fault

2004-10-28 Thread Andrej Bauer
Hi, I am new to haskell, but otherwise experienced in programming languages. My first attempt at Haskell was this (on a Linux Debian) session with hugs: Type :? for help Prelude> :version -- Hugs Version November 2003 Prelude> let p = 1 : [2 * x | x <- p, x < 1] in p [1Segmentation fault Is it