Re: [GHC] #647: Socket bug on Mac OS X, with patch

2006-01-17 Thread GHC
#647: Socket bug on Mac OS X, with patch --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: normal | Milestone

[GHC] #661: Serious Data.HashTable bug

2006-01-17 Thread GHC
#661: Serious Data.HashTable bug ---+ Reporter: [EMAIL PROTECTED] |Owner: Type: bug | Status: new Priority: high|Milestone

Re: [GHC] #370: possible compacting GC bug in 6.4.x

2006-01-16 Thread GHC
#370: possible compacting GC bug in 6.4.x -+-- Reporter: zooko | Owner: simonmar Type: bug | Status: assigned Priority: high| Milestone: 6.4.2

Re: bug documentation [was: Re: problem compiling with profiling]

2006-01-13 Thread Simon Marlow
Frederik Eaton wrote: Template Haskell doesn't work with profiling, I'm afraid (for the same reason that you can't load profiled object code into GHCi). I thought we had an open bug on this, but I couldn't find one, so I just created one: http://cvs.haskell.org/trac/ghc/ticket/651 Writing

Re: [GHC] #482: 'Bug' when installing GHC 6.4.1

2006-01-13 Thread GHC
#482: 'Bug' when installing GHC 6.4.1 ---+ Reporter: nobody| Owner: wolfgang Type: bug | Status: assigned Priority: normal| Milestone: Component: Build

Re: bug documentation [was: Re: problem compiling with profiling]

2006-01-13 Thread Simon Marlow
Simon Marlow wrote: For now, this query gets you all the bugs in 6.4.1, open or closed: http://cvs.haskell.org/trac/ghc/query?status=newstatus=assignedstatus=reopenedstatus=closedversion=6.4.1order=priority A slightly better URL:

Re[2]: bug report

2006-01-04 Thread Bulat Ziganshin
Hello Simon, Wednesday, January 04, 2006, 11:22:50 AM, you wrote: Simon, look at [EMAIL PROTECTED] part of this SimonM's letter: If anyone is interested, this turned out to be a bug in the Network.BSD module, namely that getHostByName isn't thread safe because it is based on the C library

Re: [GHC] #342: GHC: panic! (compiler bug?)

2006-01-04 Thread GHC
#342: GHC: panic! (compiler bug?) ---+ Reporter: nobody| Owner: nobody Type: bug | Status: closed Priority: normal| Milestone: Component: Compiler

RE: Bug in cvs head ghci

2005-12-16 Thread Simon Peyton-Jones
| Subject: Bug in cvs head ghci | | HI, | | Typing |Prelude :b GHC.Base | | I get | [snip] | data Addr# | data Array# a | data Bool = False | True | data ByteArray# | data Char# | data Char = C# Char# | data Double# | data Float#*** Exception: No match in record selector

Re: Bug in cvs head ghci

2005-12-16 Thread Sigbjorn Finne
Yep, reproducible with last night's HEAD build on mingw (but not STABLE.) --sigbjorn - Original Message - From: Simon Peyton-Jones [EMAIL PROTECTED] To: wld [EMAIL PROTECTED]; glasgow-haskell-bugs@haskell.org Sent: Friday, December 16, 2005 08:13 Subject: RE: Bug in cvs head ghci

[GHC] #629: IO library locking bug

2005-12-12 Thread GHC
#629: IO library locking bug --+- Reporter: simonmar | Owner: Type: bug | Status: new Priority: lowest| Milestone: Component: Compiler |Version

Bug in cvs head ghci

2005-12-08 Thread wld
HI, Typing Prelude :b GHC.Base I get [snip] data Addr# data Array# a data Bool = False | True data ByteArray# data Char# data Char = C# Char# data Double# data Float#*** Exception: No match in record selector TyCon.tyConTyVars Prelude ghc built on Linux with - ghc 6.4.1 -

Bug: Invalid object in isRetainer

2005-12-04 Thread Joel Reymont
./randomplay +RTS -hr ... - some time passes and then randomplay: internal error: Invalid object in isRetainer(): 67 Please report this as a bug to glasgow-haskell-bugs@haskell.org, or http://www.sourceforge.net/projects/ghc/ The combination of this and the failure with -hc -hbdrag,void

bug in GADT typechecking

2005-11-28 Thread David Roundy
Hello ghc folks, The following GADT program fails to typecheck, although I think it really should be fine, so I'm reporting this as a bug. I'm sorry, but I haven't been able to simplify the foo function any more without causing the error to go away. :( {-# OPTIONS_GHC -fglasgow-exts

Re: bug in GADT typechecking

2005-11-28 Thread Andres Loeh
{-# OPTIONS_GHC -fglasgow-exts #-} module Main where data Foo a b where Foo :: Int - Foo a b data Patch a b where PP :: Foo a b - Patch a b Lis :: PL a b - Patch a b data PL a b where U :: Patch a b - PL a b Nil :: PL x x (:-) :: PL c d - PL d

Same for ghc-6.5 from two days ago was Re: bug in GADT typechecking

2005-11-28 Thread Shae Matijs Erisson
Andres Loeh [EMAIL PROTECTED] writes: Glasgow Haskell Compiler, Version 6.4, for Haskell 98, compiled by GHC version 6.4 FWIW, same error with ghc-6.5 from a few weeks ago. Same error from a ghc-cvs build from two days ago. -- Shae Matijs Erisson - http://www.ScannedInAvian.com/ -

RE: Bug in make of ghc 6.2.2

2005-11-25 Thread Simon Marlow
This indicates a bug in GHC 6.2.2, which we don't support any more. Does the same problem occur with a more recent version of GHC? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry NewmanSent: 24 November 2005 23:18To: glasgow-haskell-bugs@haskell.orgSubject: Bug

[ ghc-Bugs-1363821 ] 'Bug' when installing GHC 6.4.1

2005-11-22 Thread SourceForge.net
of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build System Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: 'Bug' when installing GHC

Re: Bug in GHC type system

2005-11-10 Thread Christian Maeder
Hi Baltasar, maybe it's GHC's inliner. See http://www.haskell.org/ghc/docs/latest/html/users_guide/bugs.html#bugs-ghc and the russel example is similar enough to yours. (I have not checked, though.) I apologize, again, for the wrong spelling, It must be Russell with two l! Cheers

RE: Re[2]: GHC 6.5 (Visual Haskell) bug with wxHaskell

2005-10-18 Thread Simon Marlow
, GHC version 6.5): unknown exception Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. Results of ghc-pkg list: c:/Program Files/Visual Haskell\package.conf: rts-1.0, haskell98-1.0, template-haskell-1.0, Cabal-1.0

Re[4]: GHC 6.5 (Visual Haskell) bug with wxHaskell

2005-10-18 Thread Piotr Wilkin
Tuesday, October 18, 2005, 12:25:32 PM, napisał(a)eś: SM On 17 October 2005 15:58, Piotr Wilkin wrote: Can you try with -v and send us the output, also the output from 'ghc-pkg list', and 'ghc-pkg describe wxcore', 'ghc-pkg describe wx'. All with the versions of these tools that came with

RE: GHC 6.5 (Visual Haskell) bug with wxHaskell

2005-10-17 Thread Simon Marlow
no location info:no location info: ghc.exe: panic! (the 'impossible' happened, GHC version 6.5): unknown exception Is this one of those hidden bugs due to the bundled version being a prerelease, or am I missing something obvious? There's a bug in the error message, and I'm

Re[2]: GHC 6.5 (Visual Haskell) bug with wxHaskell

2005-10-17 Thread Piotr Wilkin
Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. Results of ghc-pkg list: c:/Program Files/Visual Haskell\package.conf: rts-1.0, haskell98-1.0, template-haskell-1.0, Cabal-1.0, parsec-2.0, haskell-src-1.0, network-1.0

6.4 profiling bug

2005-09-21 Thread Daniel Fischer
-files are processed correctly (except for the weaknesses inherent in the code) when the code is compiled not for profiling or with ghc-6.2.2 -prof -auto-all, so I'm rather convinced, it's a 6.4-bug. If you could explain this behaviour, I'd be grateful. Cheers, Daniel Fischer lpp.tar.gz

Re: 6.4 profiling bug

2005-09-21 Thread Christian Maeder
this bug is fixed in ghc-6.4.1 (see my attached profile) Christian Daniel Fischer wrote: Hello, I have encountered some strange behaviour with David Tweeds LaTeX-preprocessor (slightly modified code attached). When I compile it for profiling (-prof -auto-all) and run it on a .tex-file

compiler bug in ghc-6.4 (building a class declaration with TH)

2005-09-09 Thread Benjamin Franksen
! (the `impossible' happened, GHC version 6.4): hsSyn/Convert.lhs:(339,8)-(350,91): Non-exhaustive patterns in function trans Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. I attached the two (short) source files. Ben module

a stateful bug

2005-08-21 Thread Frederik Eaton
succeeds! Correct me if I'm wrong, but shouldn't a properly working compiler either fail or succeed on a given package, and not fail one time, and then succeed the next? I mean, this is the whole referential transparency deal right? :) I can reproduce this bug on ghc 6.4 and 6.4.1.20050812 on two

Bug in The Glorious Glasgow Haskell Compilation System User's Guide, Version 6.4

2005-07-25 Thread Allen Brown
Section 7.6.1 reads: _expression_ quotation is written in Oxford brackets, thus: [| ... |], where the "..." is an _expression_; the quotation has type Expr. On the other hand GHCi 6.4behaves as follows: Prelude V02pIL :type [|"foo"|][|"foo"|] ::

RE: Bug in The Glorious Glasgow Haskell Compilation System User's Guide, Version 6.4

2005-07-25 Thread Simon Peyton-Jones
Quite right. The documentation should say Q Exp instead of Expr. Ill fix that. (ExpQ is a synonym for Q Exp) Simon From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allen Brown Sent: 24 July 2005 02:08 To: glasgow-haskell-bugs@haskell.org Subject: Bug

Fwd: [Bug#319086: -help output goes to stderr] [EMAIL PROTECTED]

2005-07-23 Thread Ian Lynagh
I've also found this annoying in the past, but never quite enough so to get around to e-mailing about it :-) Thanks Ian ---BeginMessage--- Package: ghc6 Version: 6.4-4 Severity: minor It's a little annoying that ghc6 sends its (voluminous) --help output to stderr, thus requiring extra

RE: bug in ghc-6.4-src\libraries\base\Data\Version.hs

2005-07-08 Thread Simon Marlow
On 07 July 2005 19:57, Bulat Ziganshin wrote: bug in ghc-6.4-src\libraries\base\Data\Version.hs: instance Eq Version where v1 == v2 = versionBranch v1 == versionBranch v2 all (`elem` (versionTags v2)) (versionTags v1) -- tags may be in any order

bug in ghc-6.4-src\libraries\base\Data\Version.hs

2005-07-07 Thread Bulat Ziganshin
bug in ghc-6.4-src\libraries\base\Data\Version.hs: instance Eq Version where v1 == v2 = versionBranch v1 == versionBranch v2 all (`elem` (versionTags v2)) (versionTags v1) -- tags may be in any order this really checks that v1.tags is subset

[ ghc-Bugs-1177320 ] GHC: panic! (compiler bug?)

2005-07-06 Thread SourceForge.net
thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: GHC: panic! (compiler bug?) Initial Comment: I just

compiler bug

2005-06-16 Thread Johan van der Teems
/lib/ghc-6.2.2/HSbase.o: unknown architecture ghc-6.2.2: panic! (the `impossible' happened, GHC version 6.2.2): loadObj: failed Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. uname -a gives: Linux ollie 2.6.10-5-amd64-k8 #1

RE: compiler bug

2005-06-16 Thread Simon Marlow
/ \/\/ /_/\/|_| Type :? for help. Loading package base ... /usr/lib/ghc-6.2.2/HSbase.o: unknown architecture ghc-6.2.2: panic! (the `impossible' happened, GHC version 6.2.2): loadObj: failed Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http

RE: compiler bug

2005-06-07 Thread Simon Marlow
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin AlamSent: 03 June 2005 13:26To: glasgow-haskell-bugs@haskell.orgSubject: compiler bug To Whom It May Concern, while working with GHCi on xemacs, I tried running the program but come up with this error "*Main maingNo

compiler bug

2005-06-05 Thread Kevin Alam
To Whom It May Concern, while working with GHCi on xemacs, I tried running the program but come up with this error "*Main maingNot x86 PEi386hc.exe: panic! (the `impossible' happened, GHC version 6.2.2):loadObj: failed Please report it as a compiler bug to glasgow-haskell-bugs@haskel

[Template-haskell] TH bug again (GHC 6.4)

2005-04-25 Thread kyra
If I simply try the following: genCG.hs {-# OPTIONS -fglasgow-exts #-} module GenCG where gdecls pbname pbniname = [d| valGetter pbname = Get ++ pbniname valSetter pbname = Set ++ pbniname fldGetter pbname = Get ++ pbniname ++ Field fldSetter pbname = Set ++ pbniname ++ Field arrGetter

[Template-haskell] TH bug finally

2005-04-25 Thread kyra
I realize that my previous TH programs were incorrect. But my compiant is about GHC not reporting something like Multiple declarations... but panics or plainly crashes. Sorry. ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org

compiler bug (in version 6.4)

2005-04-25 Thread Henning Günther
Hi, I've tried to run the command ghc -c ikosaeder.hs and got the following: ghc-6.4: panic! (the `impossible' happened, GHC version 6.4): ds_app_type Main.Neighbor{tc r15r} [] Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc

RE: compiler bug (in version 6.4)

2005-04-25 Thread Simon Marlow
On 23 April 2005 16:44, Henning Günther wrote: I've tried to run the command ghc -c ikosaeder.hs and got the following: ghc-6.4: panic! (the `impossible' happened, GHC version 6.4): ds_app_type Main.Neighbor{tc r15r} [] Please report it as a compiler bug to glasgow-haskell-bugs

Re: Runhaskell bug

2005-04-13 Thread Wolfgang Thaller
I get the following bug when trying to build hsql with GHC 6.4, on Mac OS X. I am using the binary release of GHC from the GHC website. $ runhaskell Setup.lhs build Preprocessing library hsql-1.2... Building hsql-1.2... Setup.lhs: internal error: stg_ap_v_ret Please report this as a bug

Bug in hDuplicateTo in GHC 6.4

2005-04-06 Thread Volker Wysk
Hello. The following program demonstrates the bug: import GHC.Handle import GHC.IOBase import GHC.Conc import IO main = do h - openFile /tmp/out WriteMode hDuplicateTo h stdout fdh - getfd h fdstdout - getfd stdout hPutStrLn stderr (h: ++ show fdh ++ \nstdout: ++ show

RE: Bug in hDuplicateTo in GHC 6.4

2005-04-06 Thread Simon Marlow
On 06 April 2005 16:16, Volker Wysk wrote: The following program demonstrates the bug: import GHC.Handle import GHC.IOBase import GHC.Conc import IO main = do h - openFile /tmp/out WriteMode hDuplicateTo h stdout fdh - getfd h fdstdout - getfd stdout hPutStrLn

[ ghc-Bugs-1177320 ] GHC: panic! (compiler bug?)

2005-04-05 Thread SourceForge.net
Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: GHC: panic! (compiler bug?) Initial Comment: I just tried to compile the most recent version of Pugs ( www.pugscode.org ), and I got this: Compiling Prim

ghc bug

2005-03-29 Thread MR
/ \/\/ /_/\/|_| Type :? for help. Loading package base ... /usr/lib/ghc-6.2.2/HSbase.o: unknown architecture ghc-6.2.2: panic! (the `impossible' happened, GHC version 6.2.2): loadObj: failed Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net

RE: ghc bug

2005-03-29 Thread Simon Marlow
. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \/\/ /_/\/|_| Type :? for help. Loading package base ... /usr/lib/ghc-6.2.2/HSbase.o: unknown architecture ghc-6.2.2: panic! (the `impossible' happened, GHC version 6.2.2): loadObj: failed Please report it as a compiler bug to glasgow-haskell

Re: loop performance bug

2005-03-15 Thread Josef Svenningsson
are produced and consumed with good producers and consumers (as in section 7.10.3 in the User's Guide) they should really go away. This seems to be a real bug. This is what Simon M thought when I brought this up previously. He suggested I use explicit recursion (which I thought I was doing with my

Bug: GPF WinXP GHCi 6.4

2005-03-14 Thread Nick Main
ailed Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. *Main main Loading package Win32-1.0 ... linking ... c:\temp ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org ht

loop performance bug

2005-03-14 Thread Duncan Coutts
Hi, This sort of code runs very slowly when compared to the equivalent in C: {-# OPTIONS -fglasgow-exts #-} module Main where import Data.Array.MArray import Data.Array.IO data Pos = Pos !Int !Int deriving (Eq, Ord, Ix) main = test1 test1 :: IO () test1 = do (arr ::

Re: loop performance bug

2005-03-14 Thread Duncan Coutts
On Mon, 2005-03-14 at 13:41 +, Duncan Coutts wrote: Hi, This sort of code runs very slowly when compared to the equivalent in C: [snip] BTW These timings were for ghc 6.2.2 My version of ghc 6.3 (CVS from about a month or two ago) gave slightly beter timings on both loop version. My

Re: loop performance bug

2005-03-14 Thread Josef Svenningsson
are produced and consumed with good producers and consumers (as in section 7.10.3 in the User's Guide) they should really go away. This seems to be a real bug. [C program deleted] {-# INLINE doFromTo #-} -- do the action for [from..to] ,ie it's inclusive. doFromTo :: Int - Int - (Int - IO ()) - IO

Re: loop performance bug

2005-03-14 Thread Lemmih
We can make it a little faster by not doing bound checks: test4 :: IO () test4 = do (arr :: IOUArray Int Bool) - newArray_ (0,100*100-1) doFromTo 0 $ \_ - doFromTo 0 99 $ \y - doFromTo 0 99 $ \x - unsafeWrite arr (x*(y+1)) False Timings (compiled with -O2):

Re: loop performance bug

2005-03-14 Thread Lemmih
On Tue, 15 Mar 2005 02:06:06 +0100, Lemmih [EMAIL PROTECTED] wrote: We can make it a little faster by not doing bound checks: test4 :: IO () test4 = do (arr :: IOUArray Int Bool) - newArray_ (0,100*100-1) doFromTo 0 $ \_ - doFromTo 0 99 $ \y - doFromTo 0 99 $ \x -

Re: loop performance bug

2005-03-14 Thread Sean Seefried
This one might go even faster again. Essentially due to Don Stewart but removes the bound checks and uses Int as an index. - module Main where import Data.Array.MArray import Data.Array.IO import Data.Array.Base import GHC.Base import GHC.IOBase forn a n | n =# 1# = return ()

Re: loop performance bug

2005-03-14 Thread Duncan Coutts
and consumers (as in section 7.10.3 in the User's Guide) they should really go away. This seems to be a real bug. This is what Simon M thought when I brought this up previously. He suggested I use explicit recursion (which I thought I was doing with my second version though it doesn't do much

Re: loop performance bug

2005-03-14 Thread Duncan Coutts
test2 style loops). It can now generate enough X traffic to make the X server take 25% cpu time whereas previously it only got X doing 15-20%. I realised there was a performance bug when I commented out the Sim.step from the inner loop and found that the visuliser speed only doubled, but sommenting out

Re: loop performance bug

2005-03-14 Thread Donald Bruce Stewart
duncan.coutts: This sort of code runs very slowly when compared to the equivalent in C: This example uses unboxing and primops over Lemmih's and seems to run a bit faster: Lemmih's loops: ./a.out 1.35s user 0.00s system 99% cpu 1.359 total This code: ./a.out 0.99s user 0.00s

ghci bug with template Haskell

2005-02-03 Thread WANG Meng
Prelude let x = 1 Prelude $([|x|]) ghc.exe: panic! (the `impossible' happened, GHC version 6.2.2): nameModule x {- v a6XY -} Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. Prelude -W-M

RE: succ optimization bug with derived Eq and Enum

2005-02-01 Thread Simon Peyton-Jones
Brian Thanks for reporting this grievous bug. It's now fixed and there's a test in the regression suite for it (cg055). Particular thanks for boiling it down to such a small case. Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED

succ optimization bug with derived Eq and Enum

2005-01-20 Thread Brian Alliet
everything works fine. Finally, the bug only shows up when the -O flag is used. Plenty more details (including a self contained test case) are below. -Brian transam:~/tmp$ cat GHCBug.lhs \begin{code} import System (getArgs) -- NOTE: When if you remove Eight (or any other constructor) everything

bug (?) - unboxed tuples

2005-01-17 Thread Daniel Fischer
). Compiling Exponent to a .o file did work, so there is no real problem. However, ghci said 'Please report it as a compiler bug', so I am doing it. Besides, there are no tuples at all in module Exponent, module TheLog, where there are a couple of tuples (are they unboxed though?) was compiled

RE: bug (?) - unboxed tuples

2005-01-17 Thread Simon Marlow
not much about such things, so I can only hope that is helpful for you). Compiling Exponent to a .o file did work, so there is no real problem. However, ghci said 'Please report it as a compiler bug', so I am doing it. Besides, there are no tuples at all in module Exponent, module TheLog, where

Re: [Fwd: bug in argument processing in hsc2hs]

2005-01-10 Thread Antony Courtney
Thanks very much for fixing this, Simon. I will try and build hsjni either against HEAD orthe next release and let you know how it goes. Kind Regards, -Antony Simon Marlow wrote: On 19 December 2004 16:35, Sven Panne wrote: Antony Courtney wrote: I'm trying to upgrade my Java/Haskell

RE: [Fwd: bug in argument processing in hsc2hs]

2005-01-05 Thread Simon Marlow
On 19 December 2004 16:35, Sven Panne wrote: Antony Courtney wrote: I'm trying to upgrade my Java/Haskell interoperability framework to the latest Java version. Unfortunately, however, it appears that hsc2hs can't deal with embedded spaces in command line arguments.[...] Both of your

Re: visibility of instances (was: Bug in compiling large projects ?)

2005-01-04 Thread Martin Erwig
On Dec 15, 2004, at 8:30 AM, Simon Peyton-Jones wrote: OK, I understand this. 1. You really do have overlapping instances, exactly as reported in the error message. 2. The instance in Data.Graph.Inductive.Graph looks like this instance ... = Eq (gr a b) This is, as you say, crazy,

[Fwd: bug in argument processing in hsc2hs]

2004-12-19 Thread Antony Courtney
Oops. Looks like I sent this to the wrong list... -Antony Original Message Subject: bug in argument processing in hsc2hs Date: Sun, 19 Dec 2004 09:50:19 -0500 From: Antony Courtney [EMAIL PROTECTED] To: [EMAIL PROTECTED] I'm trying to upgrade my Java/Haskell

Re: [Fwd: bug in argument processing in hsc2hs]

2004-12-19 Thread Sven Panne
Antony Courtney wrote: I'm trying to upgrade my Java/Haskell interoperability framework to the latest Java version. Unfortunately, however, it appears that hsc2hs can't deal with embedded spaces in command line arguments.[...] Both of your problems look like the usual problems with the broken

RE: visibility of instances (was: Bug in compiling large projects ?)

2004-12-15 Thread Simon Peyton-Jones
Lüttich; [EMAIL PROTECTED] | Subject: visibility of instances (was: Bug in compiling large projects ?) | | Simon Peyton-Jones wrote: | I remember this one from before. | | We're not planning to do significant more work on the 6.2 branch, so I'm not inclined to hunt this | one down unless

[ ghc-Bugs-1084122 ] minor bug in rpm (x86 linux)

2004-12-13 Thread SourceForge.net
Priority: 5 Submitted By: John Skaller (skaller) Assigned to: Nobody/Anonymous (nobody) Summary: minor bug in rpm (x86 linux) Initial Comment: After installing ghc for linux using rpm with --prefix=/usr/local, the ghc scriipt incorrectly thinks the libraries etc are in /usr: #!/bin/sh GHCBIN=/usr/lib/ghc

[ ghc-Bugs-1084122 ] minor bug in rpm (x86 linux)

2004-12-12 Thread SourceForge.net
: None Priority: 5 Submitted By: John Skaller (skaller) Assigned to: Nobody/Anonymous (nobody) Summary: minor bug in rpm (x86 linux) Initial Comment: After installing ghc for linux using rpm with --prefix=/usr/local, the ghc scriipt incorrectly thinks the libraries etc are in /usr: #!/bin/sh

Re: Bug in specialise

2004-12-09 Thread Ross Paterson
Is there any hope for the glitch in http://www.haskell.org//pipermail/glasgow-haskell-users/2004-June/006874.html ? I have an application that would benefit from a fix. ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED]

Bug Report: stg_ap_p_ret

2004-12-08 Thread oriel maxime
Good day. I'm using GHC 6.2.1, and have had much success with it. However, yesterday I got a strange error I've never before seen. Mosaic: internal error: stg_ap_p_ret Please report this as a bug to glasgow-haskell- [EMAIL PROTECTED], or http://www.sourceforge.net/projects

RE: Bug Report: stg_ap_p_ret

2004-12-08 Thread Simon Marlow
, Simon On 07 December 2004 15:37, oriel maxime wrote: Good day. I'm using GHC 6.2.1, and have had much success with it. However, yesterday I got a strange error I've never before seen. Mosaic: internal error: stg_ap_p_ret Please report this as a bug to glasgow-haskell- [EMAIL

RE: Bug in specialise

2004-12-06 Thread Simon Peyton-Jones
I think I've fixed this one. Would you like to update and try again? Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Laszlo Nemeth | Sent: 01 December 2004 16:35 | To: [EMAIL PROTECTED] | Subject: Bug in specialise

Re: Bug in touchForeignPtr?

2004-11-30 Thread Benjamin Franksen
[re-sending because I got no response yet] On Tuesday 23 November 2004 13:06, Simon Marlow wrote: On 22 November 2004 17:28, Benjamin Franksen wrote: However, what I don't understand is why touchForeignPtr is not honored in my example program: Note that the output text lines from the

Derivable type classes bug?

2004-11-22 Thread Koen Claessen
Hi, Take a look at the following program, making use of derivable type classes. module Bug where import Data.Generics class Foo a where foo :: a - Int foo{| Unit |}_ = 1 foo{| a :*: b |} _ = 2 foo{| a :+: b |} _ = 3 instance Foo [a] GHC 6.2.2 produces the following error

RE: Derivable type classes bug?

2004-11-22 Thread Simon Peyton-Jones
] On Behalf Of Koen Claessen | Sent: 16 November 2004 17:17 | To: [EMAIL PROTECTED] | Subject: Derivable type classes bug? | | Hi, | | Take a look at the following program, making use of | derivable type classes. | | | module Bug where | | import Data.Generics | | class Foo a where | foo :: a - Int

RE: possible real bug in 6.2.2

2004-10-20 Thread Simon Peyton-Jones
| But there remains another one: a DoCon `making' bug. | If it occurs, for example, due to a bug in the garbage collection, | then any computation is damaged. | Yes, Simon M is looking into that in due course; it seems to be a bug in the 1-space compacting. Simon

possible real bug in 6.2.2

2004-10-19 Thread Serge D. Mechveliani
Dear GHC team, My investigation of why a certain list field in a record does not print lazily has lead to something like a bug report for ghc-6.2.2. The program example of kind let f = ... mbPair = ... in f $ case mbPair of Just _ - error Lemma found\n

Re: possible real bug in 6.2.2

2004-10-19 Thread Serge D. Mechveliani
Yes, please, withdraw my last `bug' report on ghc-6.2.2. The next day after I sent a `bug report' I also discovered that the program behavior looks natural. Because most of the functions in the presented module call each other in a complex recursive way. But there remains another one: a DoCon

RE: Bug in compiling large projects ?

2004-08-26 Thread Simon Peyton-Jones
| To: [EMAIL PROTECTED] | Cc: [EMAIL PROTECTED] | Subject: Bug in compiling large projects ? | | Hello, | | I have send a message to these lists a weak ago with almost the same | topic, but I have now additional observations: The problem is not | related to option -O in GHC 6.2.1 ! We use

Bug in GHC when compiling with -O ?

2004-08-18 Thread Klaus Lüttich
Hello, we are working on a very large project called Hets (heterogenous tool set) where we encounterd two related errors in ghc, which disappear when we start over the compilation at that point where the compilation stopped due to one of that errors. We certainly use the current version 6.2.1 of

Re: Bug in GHC when compiling with -O ?

2004-08-17 Thread MR K P SCHUPKE
You will have to give both the errors and the source code... I have done quite a bit with classes and GHC's constraint inferance is pretty good. The chances are you really do need to add some extra constraints... (by the way if you are working with heterogeneous collections, you may be

bug in System.system on ghc-6.2.1

2004-07-20 Thread Malcolm Wallace
Using the glibc-2.2 (RedHat 7) Linux binary package of ghc-6.2.1, the following program: import System.Cmd main = do v - system(ghc --version 21) print v incorrectly gives ExitFailure 127 whereas with the glibc-2.3 Linux binary package of ghc-6.2.1, the same program

RE: bug in System.system on ghc-6.2.1

2004-07-20 Thread Simon Marlow
On 20 July 2004 13:39, Malcolm Wallace wrote: Using the glibc-2.2 (RedHat 7) Linux binary package of ghc-6.2.1, the following program: import System.Cmd main = do v - system(ghc --version 21) print v incorrectly gives ExitFailure 127 Are you sure your shell

Re: bug in System.system on ghc-6.2.1

2004-07-20 Thread Malcolm Wallace
Simon Marlow [EMAIL PROTECTED] writes: import System.Cmd main = do v - system(ghc --version 21) print v Are you sure your shell understands the '' syntax? Not all do. Yes, on RH7.2, /bin/sh is bash. Assuming you're using the same shell in both cases, this could

RE: bug in System.system on ghc-6.2.1

2004-07-20 Thread Simon Marlow
On 20 July 2004 14:26, Malcolm Wallace wrote: There doesn't seem to be much significant difference. Here are the relevant chunks of strace output, first for the working 6.2.1 on glibc-2.3: vfork() = 3552 wait4(3552, The Glorious Glasgow Haskell

Template haskell bug 1

2004-06-08 Thread Mike Aizatsky
Windows XP D:\Tools\ghcghc-6.2.1\bin\ghc.exe -fglasgow-exts foo.hs ghc.exe: panic! (the `impossible' happened, GHC version 6.2.1): deSugar/DsMeta.hs:286: Non-exhaustive patterns in function repC module Foo where import Language.Haskell.THSyntax class MyInterface a where foo

Template bug 2

2004-06-08 Thread Mike Aizatsky
Windows XP D:\Tools\ghcghc-6.2.1\bin\ghc.exe -fglasgow-exts --make foo.hs Chasing modules from: foo.hs Compiling Any ( ./Any.hs, ./Any.o ) Compiling Foo ( foo.hs, foo.o ) Loading package base ... linking ... done. Loading package haskell98 ... linking ... done. Loading

RE: bug in instance Read Int

2004-06-01 Thread Simon Marlow
(Char.chr (read 0x2B :: Int)) '+' Prelude Ghc's behaviour seems entirely reasonable, but it does not conform to the Report. Should we regard this as a bug in the definition therefore? Is there an on-going errata list for the final Revised Report? I think we class

RE: bug in instance Read Int

2004-06-01 Thread Simon Peyton-Jones
: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Malcolm Wallace | Sent: 31 May 2004 11:24 | To: [EMAIL PROTECTED] | Subject: bug in instance Read Int | | The Haskell'98 Report specifies that 'read'ing an Int should accept | only decimal notation | | instance Read

bug in instance Read Int

2004-05-31 Thread Malcolm Wallace
behaviour seems entirely reasonable, but it does not conform to the Report. Should we regard this as a bug in the definition therefore? Is there an on-going errata list for the final Revised Report? Regards, Malcolm ___ Glasgow-haskell-bugs mailing

TH bug: Lift (a - b) where

2004-05-21 Thread Saswat Anand
Hello, I dont know if it has been reported, this looks like a bug in TH. The program goes into infinite loop. Saswat - instance Lift (a - b) where lift f = [| f |] compile :: (a - b) - ExpQ compile p = lift p printE :: ExpQ - IO () printE expQ = do exp - unQ expQ

RE: fixIO bug

2004-04-20 Thread Simon Marlow
On 15 April 2004 05:20, Stefan Ljungstrand wrote: The code is a small modification of mine to the attribute-grammar-like (multi-pass lazy) example with recursive IO at http://www.cse.ogi.edu/PacSoft/projects/rmb/repMin.html The original code replaces every (leaf) elements in a tree by the

RE: Bug report.

2004-04-19 Thread Simon Marlow
On 25 March 2004 09:06, MR K P SCHUPKE wrote: Started getting: ghc-6.2.1.20040313: panic! (the `impossible' happened, GHC version 6.2.1.20040313): mkTyVar a1 {- tv a75q -} Please report it as a compiler bug to [EMAIL PROTECTED], or http://sourceforge.net/projects/ghc/. today

fixIO bug

2004-04-15 Thread Stefan Ljungstrand
The code is a small modification of mine to the attribute-grammar-like (multi-pass lazy) example with recursive IO at http://www.cse.ogi.edu/PacSoft/projects/rmb/repMin.html The original code replaces every (leaf) elements in a tree by the minimum of them all, returning the new tree, while

Bug in GHC 6.2.1

2004-04-13 Thread Benjamin Franksen
... ./a.out[21:57] # Now hit Ctrl-C a.out: internal error: main thread has been GC'd Please report this as a bug to [EMAIL PROTECTED], or http://www.sourceforge.net/projects/ghc/ Ben ___ Glasgow-haskell-bugs mailing

FollowUp: Bug in GHC 6.2.1

2004-04-13 Thread Benjamin Franksen
On Friday 02 April 2004 22:01, Benjamin Franksen wrote: This is the program: import Control.Concurrent [...] I should have said that this happens on a SuSE 7.3, i386 architecture (AMD K7) and that i compiled ghc6.2.1 from sources (because all the binary packages assume a newer version of

RE: Bug in GHC 6.2.1

2004-04-13 Thread Simon Marlow
) Linking ... ./a.out[21:57] # Now hit Ctrl-C a.out: internal error: main thread has been GC'd Please report this as a bug to [EMAIL PROTECTED], or http://www.sourceforge.net/projects/ghc/ Thanks, that's a bug. I've fixed it in CVS. As far as I can

<    2   3   4   5   6   7   8   9   10   11   >