internal error: scavenge_stack: weird activation record found on stack: 0

2005-09-12 Thread Jason Dagit
Hello, I have discovered that when using forkOS and exitWith that I get the following error: hud: internal error: scavenge_stack: weird activation record found on stack: 0 Please report this as a bug to glasgow-haskell-bugs@haskell.org, or http://www.sourceforge.net/projects/ghc/

GADT: weird error message

2005-09-12 Thread Arthur Baars
In the code below the function trans is accepted by GHC 6.4, but trans1 is not. I would expect that (x,y) is just syntactic sugar for (,) x y, but apparently it isn't. I guess this is a bug; can anyone explain what is going on? Cheers, Arthur The Code: data Equal a b where Eq :: Equal

panic while compiling with GHC-6.4

2005-09-12 Thread Dmitry Vyal
this code snippet makes GHC-6.4 and GHCI-6.4 panic: data DL a = DL {prev_dl::DL, el::a, next_dl::DL} go :: DL a - [a] - DL a - (DL a,DL a) go prev [] next = (prev, next) go prev (x:xs) next = let this = DL prev x rest (rest,fin) = go this xs next

strange closure type 37108: MSWin32, 6.4.1 snapshot and other versions

2005-09-12 Thread Gaal Yahas
In compiling pugs, usually at Pugs.AST.Internals or Pugs.Parser (large files), I get GHC crashes. The error is typically strange closure type 37108 but other numbers also appear (0 sometimes). I tried this with: An oldish GHC 6.5 snapshot GHC 6.4 release Latest GHC 6.4.1 My system is an x86

RE: runghc, .hs suffix

2005-09-12 Thread Simon Marlow
On 13 August 2005 08:21, Frederik Eaton wrote: Has runghc been fixed to not require scripts to have a .hs suffix? It looks to me like it hasn't, in the recent 6.4.1 snapshot, but I may be overlooking some option. Right, this won't be in 6.4.1 I'm afraid. It required some larger changes to

RE: runghc takes modules from current working directory

2005-09-12 Thread Simon Marlow
On 20 August 2005 22:38, Frederik Eaton wrote: Hi, It seems like it would be nice to have runghc not take modules from the current working directory in many cases since it breaks abstraction. It looks like it may be only a real problem for debugging, when modules are supposed to be in a

RE: mysterious directory include error

2005-09-12 Thread Simon Marlow
On 20 August 2005 22:41, Frederik Eaton wrote: Here is my program: #!/usr/bin/runghc -i./foo main :: IO () main = do print hi $ runghc --version The Glorious Glasgow Haskell Compilation System, version 6.4 $ ls foo $ ./test.hs interactive:1:85: Failed to load interface

[ ghc-Bugs-1266898 ] parse error way too late

2005-09-12 Thread SourceForge.net
Bugs item #1266898, was opened at 2005-08-23 08:57 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1266898group_id=8032 Please note that this message will contain a full copy of the comment

RE: problems building ghc 6.4.1_pre using 6.4 with multiple cabalversions installed

2005-09-12 Thread Simon Marlow
Quite right this is a problem, and it looks like something we should fix before 6.4.1. I'll give it some thought. Cheers, Simon On 24 August 2005 14:42, Duncan Coutts wrote: With our current 6.4.1 snapshot 20050819, we have problems building when we've got more than over version of

[ ghc-Bugs-1186431 ] mkGraph Stack Overflow

2005-09-12 Thread SourceForge.net
Bugs item #1186431, was opened at 2005-04-20 04:50 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1186431group_id=8032 Please note that this message will contain a full copy of the comment

RE: problems building ghc 6.4.1_pre using 6.4 with multiple cabalversions installed

2005-09-12 Thread Duncan Coutts
On Mon, 2005-09-12 at 13:33 +0100, Simon Marlow wrote: Quite right this is a problem, and it looks like something we should fix before 6.4.1. I'll give it some thought. Hi Simon, glad to have you back! :-) Andres Loeh has looked into this a bit in the last few days. He's knocked up this patch

RE: runghc takes modules from current working directory

2005-09-12 Thread herington, dean
Where is runghc documented, by the way? I find only a mention of it in the user's guide. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Marlow Sent: Monday, September 12, 2005 7:42 AM To: [EMAIL PROTECTED]; glasgow-haskell-bugs@haskell.org

Re: mysterious directory include error

2005-09-12 Thread Frederik Eaton
On Mon, Sep 12, 2005 at 12:46:22PM +0100, Simon Marlow wrote: On 20 August 2005 22:41, Frederik Eaton wrote: Here is my program: #!/usr/bin/runghc -i./foo main :: IO () main = do print hi $ runghc --version The Glorious Glasgow Haskell Compilation System, version 6.4 $

Re: runghc takes modules from current working directory

2005-09-12 Thread Frederik Eaton
On Mon, Sep 12, 2005 at 12:41:32PM +0100, Simon Marlow wrote: On 20 August 2005 22:38, Frederik Eaton wrote: Hi, It seems like it would be nice to have runghc not take modules from the current working directory in many cases since it breaks abstraction. It looks like it may be only a

[ ghc-Bugs-1285326 ] scavenge_one: strange object 47

2005-09-12 Thread SourceForge.net
Bugs item #1285326, was opened at 2005-09-08 20:18 Message generated for change (Settings changed) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1285326group_id=8032 Please note that this message will contain a full copy of the comment

RE: panic while compiling with GHC-6.4

2005-09-12 Thread Simon Peyton-Jones
thank you. Happily, this is already fixed; the fix will be in 6.4.1 Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Dmitry Vyal | Sent: 01 September 2005 16:45 | To: glasgow-haskell-bugs@haskell.org | Subject: panic

[ ghc-Bugs-1285326 ] scavenge_one: strange object 47

2005-09-12 Thread SourceForge.net
Bugs item #1285326, was opened at 2005-09-08 20:18 Message generated for change (Comment added) made by tuananhbirm You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1285326group_id=8032 Please note that this message will contain a full copy of the comment

Re: mysterious directory include error

2005-09-12 Thread Frederik Eaton
Works for me with a 6.4.1 snapshot. I've upgraded to 6.4.1.20050903 and it still doesn't work. Did you remember to create the empty directory 'foo'? Of course, I think there are two things wrong: (1) the fact that it doesn't work, (2) the fact that the error message is uninformative.